Fix feature issues
[transportpce.git] / inventory / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!-- Copyright © 2016 Orange and others. All rights reserved. This program and the accompanying materials
4     are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution,
5     and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8   <modelVersion>4.0.0</modelVersion>
9
10   <parent>
11     <groupId>org.opendaylight.mdsal</groupId>
12     <artifactId>binding-parent</artifactId>
13     <version>10.0.5</version>
14     <relativePath/>
15   </parent>
16
17   <groupId>org.opendaylight.transportpce</groupId>
18   <artifactId>transportpce-inventory</artifactId>
19   <version>7.0.0-SNAPSHOT</version>
20   <packaging>bundle</packaging>
21
22   <properties>
23     <!--
24           FIXME: these versions should be communicated from tpce-models' artifacts pom
25                  and then should be imported just like netconf below
26       -->
27     <transportpce.models.version>17.1.0-SNAPSHOT</transportpce.models.version>
28   </properties>
29
30   <dependencyManagement>
31     <dependencies>
32       <dependency>
33         <groupId>org.opendaylight.netconf</groupId>
34         <artifactId>netconf-artifacts</artifactId>
35         <version>4.0.4</version>
36         <scope>import</scope>
37         <type>pom</type>
38       </dependency>
39     </dependencies>
40   </dependencyManagement>
41
42   <dependencies>
43     <dependency>
44       <groupId>org.opendaylight.transportpce.models</groupId>
45       <artifactId>openroadm-common-1.2.1</artifactId>
46       <version>${transportpce.models.version}</version>
47     </dependency>
48     <dependency>
49       <groupId>org.opendaylight.transportpce.models</groupId>
50       <artifactId>openroadm-device-1.2.1</artifactId>
51       <version>${transportpce.models.version}</version>
52     </dependency>
53     <dependency>
54       <groupId>${project.groupId}</groupId>
55       <artifactId>transportpce-common</artifactId>
56       <version>${project.version}</version>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.yangtools</groupId>
60       <artifactId>yang-common</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.mdsal.model</groupId>
64       <artifactId>ietf-topology</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
68       <artifactId>rfc6991-ietf-inet-types</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
72       <artifactId>rfc6991-ietf-yang-types</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
76       <artifactId>rfc8345-ietf-network</artifactId>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.mdsal</groupId>
80       <artifactId>mdsal-common-api</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>org.opendaylight.mdsal</groupId>
84       <artifactId>yang-binding</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>org.opendaylight.mdsal</groupId>
88       <artifactId>mdsal-binding-api</artifactId>
89     </dependency>
90     <dependency>
91       <groupId>com.google.guava</groupId>
92       <artifactId>guava</artifactId>
93     </dependency>
94     <dependency>
95       <groupId>org.opendaylight.netconf</groupId>
96       <artifactId>sal-netconf-connector</artifactId>
97     </dependency>
98   </dependencies>
99
100   <build>
101     <plugins>
102       <plugin>
103         <artifactId>maven-resources-plugin</artifactId>
104         <executions>
105           <execution>
106             <id>copy-resources</id>
107             <phase>validate</phase>
108             <goals>
109               <goal>copy-resources</goal>
110             </goals>
111             <configuration>
112               <outputDirectory>${basedir}/target/resources</outputDirectory>
113               <resources>
114                 <resource>
115                   <directory>src/main/resources</directory>
116                   <filtering>true</filtering>
117                 </resource>
118               </resources>
119             </configuration>
120           </execution>
121         </executions>
122       </plugin>
123       <plugin>
124         <groupId>org.codehaus.mojo</groupId>
125         <artifactId>build-helper-maven-plugin</artifactId>
126         <executions>
127           <execution>
128             <id>attach-db-artifact</id>
129             <goals>
130               <goal>attach-artifact</goal>
131             </goals>
132             <configuration>
133               <artifacts>
134                 <artifact>
135                   <file>target/resources/org.ops4j.datasource-transporpce.cfg</file>
136                   <type>cfg</type>
137                   <classifier>datasource</classifier>
138                 </artifact>
139                 <artifact>
140                   <file>target/resources/org.opendaylight.transportpce.job.cfg</file>
141                   <type>cfg</type>
142                   <classifier>config</classifier>
143                 </artifact>
144               </artifacts>
145             </configuration>
146           </execution>
147         </executions>
148       </plugin>
149     </plugins>
150   </build>
151 </project>