Fix bad generated path for generated sources 41/39041/1
authorMichael Vorburger <vorburger@redhat.com>
Wed, 18 May 2016 13:01:22 +0000 (15:01 +0200)
committerMichael Vorburger <vorburger@redhat.com>
Wed, 18 May 2016 13:01:22 +0000 (15:01 +0200)
The yang-maven-plugin appears to generate code into
target/generated-sources/sal and target/generated-sources/config, and
not (anymore?) into src/main/yang-gen-sal & src/main/yang-gen-config.

Without making this change, there is a lot of red in Eclipse at least,
because generate code is not seen on the classpath.

I wonder in fact how this could ever have even worked in CLI mvn build,
or other IDEs.

Change-Id: Ib2c67bd7b52f1e038626161d29886457c3db8566
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
parent/pom.xml

index 55d68f818b8a1bf8d15f87c72aa93cae3cb4d4d0..47564afa5c2f0be87f572fec8301fa5580419075 100644 (file)
@@ -34,8 +34,8 @@
         <openflowjava.version>0.8.0-SNAPSHOT</openflowjava.version>
         <openflowplugin.version>0.3.0-SNAPSHOT</openflowplugin.version>
         <sal.api.version>0.11.0-SNAPSHOT</sal.api.version>
-        <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
-        <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
+        <jmxGeneratorPath>target/generated-sources/config</jmxGeneratorPath>
+        <salGeneratorPath>target/generated-sources/sal</salGeneratorPath>
         <exi.nagasena.version>0000.0002.0053.0</exi.nagasena.version>
         <controller.distribution.version>0.4.0-SNAPSHOT</controller.distribution.version>