Upgrade to Fluorine dependencies
[transportpce.git] / features / odl-transportpce-inventory / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright © 2016 Orange and others. All rights reserved. This program and the accompanying materials
3     are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution,
4     and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL -->
5 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
7     <modelVersion>4.0.0</modelVersion>
8
9     <parent>
10         <groupId>org.opendaylight.odlparent</groupId>
11         <artifactId>single-feature-parent</artifactId>
12         <version>3.1.2</version>
13         <relativePath />
14     </parent>
15
16     <groupId>org.opendaylight.transportpce</groupId>
17     <artifactId>odl-transportpce-inventory</artifactId>
18     <version>0.2.0-SNAPSHOT</version>
19     <packaging>feature</packaging>
20
21     <properties>
22         <transportpce.db.host>localhost:3306</transportpce.db.host>
23         <transportpce.db.database>tpce</transportpce.db.database>
24         <transportpce.db.username>root</transportpce.db.username>
25         <transportpce.db.password>root</transportpce.db.password>
26         <transporpce.device.backup.folder>data/transportpce/devicebackup</transporpce.device.backup.folder>
27         <transporpce.device.backup.prefix></transporpce.device.backup.prefix>
28         <transporpce.device.backup.period>600</transporpce.device.backup.period>
29         <!-- skipping single feature test because DataSource is not available in Pax4j (H2 possible workaround) -->
30         <skip.karaf.featureTest>true</skip.karaf.featureTest>
31     </properties>
32
33     <name>OpenDaylight :: transportpce :: Inventory</name>
34     <dependencies>
35         <dependency>
36             <groupId>org.opendaylight.transportpce</groupId>
37             <artifactId>transportpce-inventory</artifactId>
38             <version>${project.version}</version>
39         </dependency>
40     </dependencies>
41
42     <build>
43         <plugins>
44             <plugin>
45                 <artifactId>maven-resources-plugin</artifactId>
46                 <executions>
47                     <execution>
48                         <id>copy-resources</id>
49                         <phase>validate</phase>
50                         <goals>
51                             <goal>copy-resources</goal>
52                         </goals>
53                         <configuration>
54                             <outputDirectory>${basedir}/target/resources</outputDirectory>
55                             <resources>
56                                 <resource>
57                                     <directory>
58                                         src/main/resources
59                                     </directory>
60                                     <filtering>true</filtering>
61                                 </resource>
62                             </resources>
63                         </configuration>
64                     </execution>
65                 </executions>
66             </plugin>
67             <plugin>
68                 <groupId>org.codehaus.mojo</groupId>
69                 <artifactId>build-helper-maven-plugin</artifactId>
70                 <executions>
71                     <execution>
72                         <id>attach-db-artifact</id>
73                         <phase>package</phase>
74                         <goals>
75                             <goal>attach-artifact</goal>
76                         </goals>
77                         <configuration>
78                             <artifacts>
79                                 <artifact>
80                                     <file>target/resources/org.ops4j.datasource-transporpce.cfg</file>
81                                     <type>cfg</type>
82                                     <classifier>datasource</classifier>
83                                 </artifact>
84                                 <artifact>
85                                     <file>target/resources/org.opendaylight.transportpce.job.cfg</file>
86                                     <type>cfg</type>
87                                     <classifier>config</classifier>
88                                 </artifact>
89                             </artifacts>
90                         </configuration>
91                     </execution>
92                 </executions>
93             </plugin>
94         </plugins>
95     </build>
96 </project>