Bump to Silicon
[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>8.0.0</version>
13         <relativePath/>
14     </parent>
15
16     <groupId>org.opendaylight.transportpce</groupId>
17     <artifactId>odl-transportpce-inventory</artifactId>
18     <version>3.0.0-SNAPSHOT</version>
19     <packaging>feature</packaging>
20
21     <name>OpenDaylight :: transportpce :: Inventory</name>
22
23     <properties>
24         <transportpce.db.host>localhost:3306</transportpce.db.host>
25         <transportpce.db.database>transportpce</transportpce.db.database>
26         <transportpce.db.username>root</transportpce.db.username>
27         <transportpce.db.password>root</transportpce.db.password>
28         <transporpce.device.backup.folder>data/transportpce/devicebackup</transporpce.device.backup.folder>
29         <transporpce.device.backup.prefix></transporpce.device.backup.prefix>
30         <transporpce.device.backup.period>600</transporpce.device.backup.period>
31         <!-- skipping single feature test because DataSource is not available in Pax4j (H2 possible workaround) -->
32         <skip.karaf.featureTest>true</skip.karaf.featureTest>
33     </properties>
34
35     <dependencies>
36         <dependency>
37             <groupId>org.opendaylight.transportpce</groupId>
38             <artifactId>odl-transportpce</artifactId>
39             <version>${project.version}</version>
40             <classifier>features</classifier>
41             <type>xml</type>
42         </dependency>
43         <dependency>
44             <groupId>org.opendaylight.transportpce</groupId>
45             <artifactId>transportpce-inventory</artifactId>
46             <version>${project.version}</version>
47         </dependency>
48     </dependencies>
49
50     <build>
51       <plugins>
52         <plugin>
53           <artifactId>maven-resources-plugin</artifactId>
54           <executions>
55             <execution>
56               <id>copy-resources</id>
57               <phase>validate</phase>
58               <goals>
59                 <goal>copy-resources</goal>
60               </goals>
61               <configuration>
62                 <outputDirectory>${basedir}/target/resources</outputDirectory>
63                 <resources>
64                   <resource>
65                     <directory>src/main/resources</directory>
66                     <filtering>true</filtering>
67                   </resource>
68                 </resources>
69               </configuration>
70             </execution>
71           </executions>
72         </plugin>
73         <plugin>
74           <groupId>org.codehaus.mojo</groupId>
75           <artifactId>build-helper-maven-plugin</artifactId>
76           <executions>
77             <execution>
78               <id>attach-db-artifact</id>
79               <phase>package</phase>
80               <goals>
81                 <goal>attach-artifact</goal>
82               </goals>
83               <configuration>
84                 <artifacts>
85                   <artifact>
86                     <file>target/resources/org.ops4j.datasource-transporpce.cfg</file>
87                     <type>cfg</type>
88                     <classifier>datasource</classifier>
89                   </artifact>
90                   <artifact>
91                     <file>target/resources/org.opendaylight.transportpce.job.cfg</file>
92                     <type>cfg</type>
93                     <classifier>config</classifier>
94                   </artifact>
95                 </artifacts>
96               </configuration>
97             </execution>
98           </executions>
99         </plugin>
100       </plugins>
101     </build>
102 </project>