Changed output directory for generated classes 07/8607/2
authorMichal Polkorab <michal.polkorab@pantheon.sk>
Thu, 3 Jul 2014 11:17:03 +0000 (13:17 +0200)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Fri, 4 Jul 2014 06:29:37 +0000 (06:29 +0000)
 - generated classes were not cleaned when located in src -> moved to target
 - also modified .gitignore - removed unnecessary lines

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
.gitignore
pom.xml

index 6eda082947ee68240198a7e528003143e1e9a6cf..1e44f73b973e0778968461368c8235e558ddca56 100644 (file)
@@ -4,6 +4,4 @@ target/
 .settings/\r
 .externalToolBuilders/\r
 maven-eclipse.xml\r
-yang-gen-config\r
-yang-gen-sal\r
 .checkstyle\r
diff --git a/pom.xml b/pom.xml
index d79caac1c18871b6a4e4eaa362e163a56b77680f..05862144ad642beae14dbdf9da94a93532640508 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -33,8 +33,8 @@
         <exam.version>3.0.0</exam.version>
         <url.version>1.5.0</url.version>
         <enunciate.version>1.26.2</enunciate.version>
-        <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
-        <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
+        <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
+        <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
         <sonar.branch>${user.name}-private-view</sonar.branch>
         <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
         <logback.version>1.0.9</logback.version>
                             <configuration>
                                 <sources>
                                     <source>src/main/yang</source>
-                                    <source>${jmxGeneratorPath}</source>
-                                    <source>${salGeneratorPath}</source>
                                 </sources>
                             </configuration>
                         </execution>
             </build>
         </profile>
     </profiles>
-</project>
\ No newline at end of file
+</project>