Bumping versions by x.y.(z+1) for next dev cycle
[mdsal.git] / binding / binding-parent / pom.xml
index e1aa60e0887faa12dfaf51929f3017096e69fe7e..c80ab3142b45c8349ba1953ed9b91ff6cecc933e 100644 (file)
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>bundle-parent</artifactId>
-        <version>1.7.0-SNAPSHOT</version>
+        <version>1.7.4-SNAPSHOT</version>
         <relativePath/>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.opendaylight.mdsal</groupId>
     <artifactId>binding-parent</artifactId>
-    <version>0.9.0-SNAPSHOT</version>
+    <version>0.9.4-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <properties>
-        <yangtools.version>1.0.0-SNAPSHOT</yangtools.version>
-        <mdsal.version>2.1.0-SNAPSHOT</mdsal.version>
-        <mdsalmodel.version>0.9.0-SNAPSHOT</mdsalmodel.version>
-        <salGeneratorPath>target/generated-classes/mdsal-binding</salGeneratorPath>
+        <yangtools.version>1.0.4-SNAPSHOT</yangtools.version>
+        <mdsal.version>2.1.4-SNAPSHOT</mdsal.version>
+        <mdsalmodel.version>0.9.4-SNAPSHOT</mdsalmodel.version>
+        <salGeneratorPath>target/generated-sources/mdsal-binding</salGeneratorPath>
     </properties>
 
     <dependencyManagement>
@@ -79,7 +79,7 @@
                                 <dependency>
                                     <groupId>org.opendaylight.mdsal</groupId>
                                     <artifactId>maven-sal-api-gen-plugin</artifactId>
-                                    <version>0.9.0-SNAPSHOT</version>
+                                    <version>0.9.4-SNAPSHOT</version>
                                     <type>jar</type>
                                 </dependency>
                             </dependencies>
                                     </goals>
                                     <configuration>
                                         <sources>
+                                            <source>src/main/yang</source>
                                             <source>${salGeneratorPath}</source>
                                         </sources>
                                     </configuration>
                                 </execution>
                             </executions>
                         </plugin>
+
+                        <!-- This has to match the definition in odlparent and exists only
+                             because for some reason PMD does not understand wildcards. -->
+                        <plugin>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-pmd-plugin</artifactId>
+                            <executions>
+                                <execution>
+                                    <id>cpd</id>
+                                    <phase>process-sources</phase>
+                                    <goals>
+                                        <goal>cpd-check</goal>
+                                    </goals>
+                                    <configuration>
+                                        <excludeRoots>
+                                            <excludeRoot>${salGeneratorPath}</excludeRoot>
+                                        </excludeRoots>
+                                    </configuration>
+                                </execution>
+                            </executions>
+                        </plugin>
                     </plugins>
                 </pluginManagement>
                 <plugins>
             </build>
         </profile>
     </profiles>
+
+  <!--
+      Maven Site Configuration
+
+      The following configuration is necessary for maven-site-plugin to
+      correctly identify the correct deployment path for OpenDaylight Maven
+      sites.
+  -->
+  <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
+
+  <distributionManagement>
+    <site>
+      <id>opendaylight-site</id>
+      <url>${nexus.site.url}/${project.artifactId}/</url>
+    </site>
+  </distributionManagement>
+
 </project>