Fix maven files to inherit version from artifacts
[transportpce.git] / nbinotifications / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright © 2020 Orange and others. All rights reserved. This program
3     and the accompanying materials are made available under the terms of the
4     Eclipse Public License v1.0 which accompanies this distribution, and is available
5     at http://www.eclipse.org/legal/epl-v10.html INTERNAL -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0"
7     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9   <modelVersion>4.0.0</modelVersion>
10
11   <parent>
12     <groupId>org.opendaylight.mdsal</groupId>
13     <artifactId>binding-parent</artifactId>
14     <version>10.0.5</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>org.opendaylight.transportpce</groupId>
19   <artifactId>transportpce-nbinotifications</artifactId>
20   <version>7.0.0-SNAPSHOT</version>
21   <packaging>bundle</packaging>
22
23   <properties>
24     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
25     <transportpce.models.version>17.1.0</transportpce.models.version>
26     <kafka.version>3.0.0</kafka.version>
27   </properties>
28
29   <dependencyManagement>
30     <dependencies>
31       <dependency>
32         <groupId>org.opendaylight.transportpce.models</groupId>
33         <artifactId>transportpce-models-artifacts</artifactId>
34         <version>${transportpce.models.version}</version>
35         <type>pom</type>
36         <scope>import</scope>
37       </dependency>
38     </dependencies>
39   </dependencyManagement>
40
41   <dependencies>
42     <dependency>
43       <groupId>org.opendaylight.transportpce.models</groupId>
44       <artifactId>openroadm-common-10.1.0</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.transportpce.models</groupId>
48       <artifactId>openroadm-service-10.1.0</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.transportpce.models</groupId>
52       <artifactId>tapi-2.1.1</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>${project.groupId}</groupId>
56       <artifactId>transportpce-api</artifactId>
57       <version>${project.version}</version>
58     </dependency>
59     <dependency>
60       <groupId>${project.groupId}</groupId>
61       <artifactId>transportpce-common</artifactId>
62       <version>${project.version}</version>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.yangtools</groupId>
66       <artifactId>concepts</artifactId>
67     </dependency>
68     <dependency>
69       <groupId>org.opendaylight.yangtools</groupId>
70       <artifactId>yang-common</artifactId>
71     </dependency>
72     <dependency>
73       <groupId>org.opendaylight.yangtools</groupId>
74       <artifactId>yang-data-api</artifactId>
75     </dependency>
76     <dependency>
77       <groupId>org.opendaylight.yangtools</groupId>
78       <artifactId>yang-data-codec-gson</artifactId>
79     </dependency>
80     <dependency>
81       <groupId>org.opendaylight.mdsal</groupId>
82       <artifactId>yang-binding</artifactId>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.mdsal</groupId>
86       <artifactId>mdsal-common-api</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.mdsal</groupId>
90       <artifactId>mdsal-binding-api</artifactId>
91     </dependency>
92     <dependency>
93       <groupId>org.opendaylight.mdsal</groupId>
94       <artifactId>mdsal-binding-dom-codec-spi</artifactId>
95     </dependency>
96     <dependency>
97       <groupId>com.google.guava</groupId>
98       <artifactId>guava</artifactId>
99     </dependency>
100     <dependency>
101       <groupId>org.apache.kafka</groupId>
102       <artifactId>kafka-clients</artifactId>
103       <version>${kafka.version}</version>
104     </dependency>
105
106     <!-- Testing Dependencies -->
107     <dependency>
108       <groupId>${project.groupId}</groupId>
109       <artifactId>test-common</artifactId>
110       <version>${project.version}</version>
111       <scope>test</scope>
112     </dependency>
113     <dependency>
114       <groupId>org.opendaylight.mdsal</groupId>
115       <artifactId>mdsal-binding-generator</artifactId>
116       <scope>test</scope>
117     </dependency>
118     <dependency>
119       <groupId>com.fasterxml.jackson.core</groupId>
120       <artifactId>jackson-databind</artifactId>
121       <scope>test</scope>
122     </dependency>
123   </dependencies>
124
125   <build>
126     <plugins>
127       <plugin>
128         <groupId>org.codehaus.mojo</groupId>
129         <artifactId>build-helper-maven-plugin</artifactId>
130         <executions>
131           <execution>
132             <id>attach-dmaap-artifact</id>
133             <goals>
134               <goal>attach-artifact</goal>
135             </goals>
136             <configuration>
137               <artifacts>
138                 <artifact>
139                   <file>${basedir}/src/main/resources/org.opendaylight.transportpce.nbinotifications.cfg</file>
140                   <type>cfg</type>
141                   <classifier>config</classifier>
142                 </artifact>
143               </artifacts>
144             </configuration>
145           </execution>
146         </executions>
147       </plugin>
148     </plugins>
149   </build>
150 </project>