Bump versions to 14.0.3-SNAPSHOT
[mdsal.git] / binding / binding-parent / pom.xml
index 0b0ec7d46794abc6ed9e961067bd7c5006bbd03d..11524e66ba3290fa78742a142dfc9fb326eccec0 100644 (file)
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
     <parent>
-        <groupId>org.opendaylight.mdsal</groupId>
-        <artifactId>dom-parent</artifactId>
-        <version>7.0.5-SNAPSHOT</version>
-        <relativePath>../../dom/dom-parent</relativePath>
+        <groupId>org.opendaylight.yangtools</groupId>
+        <artifactId>binding-bundle-parent</artifactId>
+        <version>14.0.4</version>
+        <relativePath/>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
+    <groupId>org.opendaylight.mdsal</groupId>
     <artifactId>binding-parent</artifactId>
     <packaging>pom</packaging>
+    <version>14.0.3-SNAPSHOT</version>
 
     <properties>
-        <salGeneratorPath>${project.build.directory}/generated-sources/mdsal-binding</salGeneratorPath>
+        <spotbugs.onlyAnalyze>!org.opendaylight.yang.gen.-,!org.opendaylight.yang.svc.-</spotbugs.onlyAnalyze>
+        <!-- FIXME: fix these up and set maven.javadoc.failOnWarnings=true -->
+        <doclint>all,-missing</doclint>
     </properties>
 
-    <build>
-        <!-- https://bugs.opendaylight.org/show_bug.cgi?id=6252 -->
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-            </resource>
-            <resource>
-                <directory>${project.build.directory}/generated-sources/spi</directory>
-            </resource>
-            <resource>
-                <directory>${project.build.directory}/generated-sources/yang</directory>
-            </resource>
-        </resources>
-    </build>
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.opendaylight.mdsal</groupId>
+                <artifactId>bnd-parent</artifactId>
+                <version>14.0.3-SNAPSHOT</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
 
-    <profiles>
-        <profile>
-            <activation>
-                <file>
-                    <exists>src/main/yang</exists>
-                </file>
-            </activation>
-            <dependencies>
-                <dependency>
-                    <groupId>org.opendaylight.mdsal</groupId>
-                    <artifactId>yang-binding</artifactId>
-                </dependency>
-            </dependencies>
-            <build>
-                <pluginManagement>
-                    <plugins>
-                        <plugin>
-                            <groupId>org.opendaylight.yangtools</groupId>
-                            <artifactId>yang-maven-plugin</artifactId>
-                            <version>6.0.4</version>
-                            <dependencies>
-                                <dependency>
-                                    <groupId>org.opendaylight.mdsal</groupId>
-                                    <artifactId>maven-sal-api-gen-plugin</artifactId>
-                                    <version>7.0.5-SNAPSHOT</version>
-                                    <type>jar</type>
-                                </dependency>
-                            </dependencies>
-                            <executions>
-                                <execution>
-                                    <id>binding</id>
-                                    <goals>
-                                        <goal>generate-sources</goal>
-                                    </goals>
-                                    <configuration>
-                                        <codeGenerators>
-                                            <generator>
-                                                <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
-                                                <outputBaseDir>${salGeneratorPath}</outputBaseDir>
-                                                <resourceBaseDir>${project.build.directory}/generated-sources/spi</resourceBaseDir>
-                                            </generator>
-                                        </codeGenerators>
-                                        <inspectDependencies>true</inspectDependencies>
-                                    </configuration>
-                                </execution>
-                            </executions>
-                        </plugin>
-                        <plugin>
-                            <artifactId>maven-clean-plugin</artifactId>
-                            <configuration>
-                                <filesets>
-                                    <fileset>
-                                        <directory>${salGeneratorPath}</directory>
-                                        <includes>
-                                            <include>**</include>
-                                        </includes>
-                                    </fileset>
-                                </filesets>
-                            </configuration>
-                        </plugin>
-                        <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>${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>
-                    <plugin>
-                        <groupId>org.opendaylight.yangtools</groupId>
-                        <artifactId>yang-maven-plugin</artifactId>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>build-helper-maven-plugin</artifactId>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
+    <scm>
+        <connection>scm:git:ssh://git.opendaylight.org:29418/mdsal.git</connection>
+        <developerConnection>scm:git:ssh://git.opendaylight.org:29418/mdsal.git</developerConnection>
+        <tag>HEAD</tag>
+        <url>https://wiki.opendaylight.org/display/ODL/MD-SAL</url>
+    </scm>
 </project>