Ask Your Question
0

target/generated-sources/mdsal-binding

asked 2016-07-22 10:42:59 -0700

danielZt gravatar image

Hi there,

Could you please explain what triggers the generation of the target/generated-sources/mdsal-binding ? I know it is generated by the yang tools but I would like to know more.

I am following the https://wiki.opendaylight.org/view/Op...Controller:MD-SAL:StartupProject_Archetype and I have no problem building and running the project but eclipse complains about a missing class:

import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.hello.rev150105.HelloService;

I think this is because the generated classes are not stored anywhere in the hello-api.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-07-22 10:45:10 -0700

danielZt gravatar image

updated 2016-07-22 10:46:03 -0700

I have found a solution:

replacing:

<parent>
<groupId>org.opendaylight.mdsal</groupId>
<artifactId>binding-parent</artifactId>
<version>0.8.3-SNAPSHOT</version>
<relativePath/>
</parent>

with:

<parent>
<groupId>org.opendaylight.controller</groupId>
<artifactId>config-parent</artifactId>
<version>0.4.3-SNAPSHOT</version>
<relativePath />
</parent>

in hello/api/pom.xml

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-07-22 10:42:59 -0700

Seen: 5 times

Last updated: Jul 22 '16