Merge "Add missing configuration to build-helper-maven-plugin "
authormichal rehak <mirehak@cisco.com>
Tue, 30 May 2017 13:46:56 +0000 (13:46 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 30 May 2017 13:46:56 +0000 (13:46 +0000)
1  2 
parent/pom.xml

diff --combined parent/pom.xml
index 34aeb642e26cefec3136f0822722aaf459ce078a,577acb33351faf93294fffb2afdc35f0a81f0dc5..498b201504e048ca048b41ea8d2d6b3f9efddfd5
@@@ -12,9 -12,7 +12,9 @@@
      <artifactId>openflowjava-parent</artifactId>
      <version>0.10.0-SNAPSHOT</version>
      <packaging>pom</packaging>
 -    <name>openflowjava</name> <!-- Used by Sonar to set project name -->
 +    <!-- <name> formatting is used by autorelease to parse and notify projects on
 +         build failure. Please do not modify this unless you have a good reason. -->
 +    <name>ODL :: openflowjava :: ${project.artifactId}</name>
      <description>
          Openflow protocol library - serializes and deserializes openflow messages + handles connections with openflow devices.
      </description>
              </plugin>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
-                 <artifactId>maven-checkstyle-plugin</artifactId>
+               <artifactId>maven-checkstyle-plugin</artifactId>
                <version>${checkstyle.version}</version>
                <configuration>
                  <failOnViolation>false</failOnViolation>
              <plugin>
                  <groupId>org.codehaus.mojo</groupId>
                  <artifactId>build-helper-maven-plugin</artifactId>
+                 <executions>
+                   <execution>
+                     <id>add-yang-sources</id>
+                     <phase>generate-sources</phase>
+                     <goals>
+                       <goal>add-source</goal>
+                     </goals>
+                     <configuration>
+                       <sources>
+                         <source>${jmxGeneratorPath}</source>
+                         <source>${salGeneratorPath}</source>
+                       </sources>
+                     </configuration>
+                   </execution>
+                 </executions>
              </plugin>
          </plugins>
          <pluginManagement>
                              <ignore/>
                            </action>
                          </pluginExecution>
 -                        <pluginExecution>
 -                          <pluginExecutionFilter>
 -                            <groupId>org.opendaylight.yangtools</groupId>
 -                            <artifactId>yang-maven-plugin</artifactId>
 -                            <versionRange>[0.5,)</versionRange>
 -                            <goals>
 -                              <goal>generate-sources</goal>
 -                            </goals>
 -                          </pluginExecutionFilter>
 -                          <action>
 -                            <execute/>
 -                          </action>
 -                        </pluginExecution>
                          <pluginExecution>
                            <pluginExecutionFilter>
                              <groupId>org.codehaus.groovy.maven</groupId>