Add perltidy to pre-commit linters
[transportpce.git] / features / odl-transportpce-inventory / pom.xml
index 6f2a75bd6464e759af3cc46824b0ea2ac00c0cdf..3ef6613991db240eb0e97ffddf95adbe0c0cf452 100644 (file)
     and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL -->
 <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">
-    <modelVersion>4.0.0</modelVersion>
+  <modelVersion>4.0.0</modelVersion>
 
-    <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>single-feature-parent</artifactId>
-        <version>5.0.3</version>
-        <relativePath/>
-    </parent>
+  <parent>
+    <groupId>org.opendaylight.odlparent</groupId>
+    <artifactId>single-feature-parent</artifactId>
+    <version>13.0.11</version>
+    <relativePath/>
+  </parent>
 
-    <groupId>org.opendaylight.transportpce</groupId>
-    <artifactId>odl-transportpce-inventory</artifactId>
-    <version>0.5.0-SNAPSHOT</version>
-    <packaging>feature</packaging>
+  <groupId>org.opendaylight.transportpce</groupId>
+  <artifactId>odl-transportpce-inventory</artifactId>
+  <version>10.0.0-SNAPSHOT</version>
+  <packaging>feature</packaging>
+  <name>OpenDaylight :: transportpce :: Inventory</name>
 
-    <properties>
-        <transportpce.db.host>localhost:3306</transportpce.db.host>
-        <transportpce.db.database>transportpce</transportpce.db.database>
-        <transportpce.db.username>root</transportpce.db.username>
-        <transportpce.db.password>root</transportpce.db.password>
-        <transporpce.device.backup.folder>data/transportpce/devicebackup</transporpce.device.backup.folder>
-        <transporpce.device.backup.prefix></transporpce.device.backup.prefix>
-        <transporpce.device.backup.period>600</transporpce.device.backup.period>
-        <!-- skipping single feature test because DataSource is not available in Pax4j (H2 possible workaround) -->
-        <skip.karaf.featureTest>true</skip.karaf.featureTest>
-    </properties>
+  <properties>
+    <mdsal.version>13.0.1</mdsal.version>
+    <netconf.version>7.0.4</netconf.version>
+    <transportpce.models.version>20.0.0-SNAPSHOT</transportpce.models.version>
+    <transportpce.db.host>localhost:3306</transportpce.db.host>
+    <transportpce.db.database>transportpce</transportpce.db.database>
+    <transportpce.db.username>root</transportpce.db.username>
+    <transportpce.db.password>root</transportpce.db.password>
+    <transporpce.device.backup.folder>data/transportpce/devicebackup</transporpce.device.backup.folder>
+    <transporpce.device.backup.prefix></transporpce.device.backup.prefix>
+    <transporpce.device.backup.period>600</transporpce.device.backup.period>
+    <!-- skipping single feature test because DataSource is not available in Pax4j (H2 possible workaround) -->
+    <skip.karaf.featureTest>false</skip.karaf.featureTest>
+  </properties>
 
-    <name>OpenDaylight :: transportpce :: Inventory</name>
+  <dependencyManagement>
     <dependencies>
-        <dependency>
-            <groupId>org.opendaylight.transportpce</groupId>
-            <artifactId>transportpce-inventory</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.opendaylight.transportpce</groupId>
-            <artifactId>odl-transportpce</artifactId>
-            <version>${project.version}</version>
-            <classifier>features</classifier>
-            <type>xml</type>
-        </dependency>
+      <dependency>
+        <groupId>org.opendaylight.mdsal</groupId>
+        <artifactId>mdsal-artifacts</artifactId>
+        <version>${mdsal.version}</version>
+        <scope>import</scope>
+        <type>pom</type>
+      </dependency>
+      <dependency>
+        <groupId>org.opendaylight.netconf</groupId>
+        <artifactId>netconf-artifacts</artifactId>
+        <version>${netconf.version}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
     </dependencies>
+  </dependencyManagement>
 
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-resources-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>copy-resources</id>
-                        <phase>validate</phase>
-                        <goals>
-                            <goal>copy-resources</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${basedir}/target/resources</outputDirectory>
-                            <resources>
-                                <resource>
-                                    <directory>
-                                        src/main/resources
-                                    </directory>
-                                    <filtering>true</filtering>
-                                </resource>
-                            </resources>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>build-helper-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>attach-db-artifact</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>attach-artifact</goal>
-                        </goals>
-                        <configuration>
-                            <artifacts>
-                                <artifact>
-                                    <file>target/resources/org.ops4j.datasource-transporpce.cfg</file>
-                                    <type>cfg</type>
-                                    <classifier>datasource</classifier>
-                                </artifact>
-                                <artifact>
-                                    <file>target/resources/org.opendaylight.transportpce.job.cfg</file>
-                                    <type>cfg</type>
-                                    <classifier>config</classifier>
-                                </artifact>
-                            </artifacts>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
+  <dependencies>
+    <dependency>
+      <groupId>org.opendaylight.transportpce</groupId>
+      <artifactId>odl-transportpce</artifactId>
+      <version>${project.version}</version>
+      <classifier>features</classifier>
+      <type>xml</type>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.mdsal</groupId>
+      <artifactId>odl-mdsal-binding-base</artifactId>
+      <classifier>features</classifier>
+      <type>xml</type>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.netconf</groupId>
+      <artifactId>odl-netconf-util</artifactId>
+      <classifier>features</classifier>
+      <type>xml</type>
+    </dependency>
+    <!--dependency>
+      <groupId>org.opendaylight.netconf</groupId>
+      <artifactId>odl-netconf-mapping-api</artifactId>
+      <classifier>features</classifier>
+      <type>xml</type>
+    </dependency-->
+    <dependency>
+      <groupId>org.opendaylight.transportpce</groupId>
+      <artifactId>transportpce-inventory</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.transportpce</groupId>
+      <artifactId>transportpce-inventory</artifactId>
+      <version>${project.version}</version>
+      <type>cfg</type>
+      <classifier>config</classifier>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.transportpce</groupId>
+      <artifactId>transportpce-inventory</artifactId>
+      <version>${project.version}</version>
+      <type>cfg</type>
+      <classifier>datasource</classifier>
+    </dependency>
+  </dependencies>
 </project>