Merge "Bump upstream dependencies to Cl-SR1"
[transportpce.git] / lighty / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2018 Pantheon Technologies s.r.o. All Rights Reserved.
3     This program and the accompanying materials are made available under the
4     terms of the Eclipse Public License v1.0 which accompanies this distribution,
5     and is available at https://www.eclipse.org/legal/epl-v10.html -->
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>io.lighty.core</groupId>
13     <artifactId>lighty-app-parent</artifactId>
14     <version>17.0.0</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>io.lighty.controllers</groupId>
19   <artifactId>tpce</artifactId>
20   <version>7.0.0-SNAPSHOT</version>
21   <packaging>jar</packaging>
22
23   <properties>
24     <application.main.class>io.lighty.controllers.tpce.Main</application.main.class>
25     <application.attach.zip>true</application.attach.zip>
26     <maven.deploy.skip>true</maven.deploy.skip>
27     <transportpce.version>7.0.0-SNAPSHOT</transportpce.version>
28     <transportpce.models.version>17.1.0-SNAPSHOT</transportpce.models.version>
29   </properties>
30
31   <dependencies>
32     <!-- for parsing command line arguments -->
33     <dependency>
34       <groupId>commons-cli</groupId>
35       <artifactId>commons-cli</artifactId>
36       <version>1.4</version>
37     </dependency>
38     <!-- TPCE Models - BEGIN -->
39     <dependency>
40      <groupId>org.opendaylight.transportpce.models</groupId>
41       <artifactId>openroadm-common-1.2.1</artifactId>
42       <version>${transportpce.models.version}</version>
43     </dependency>
44     <dependency>
45       <groupId>org.opendaylight.transportpce.models</groupId>
46       <artifactId>openroadm-common-2.2.1</artifactId>
47       <version>${transportpce.models.version}</version>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.transportpce.models</groupId>
51       <artifactId>openroadm-common-7.1.0</artifactId>
52       <version>${transportpce.models.version}</version>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.transportpce.models</groupId>
56       <artifactId>openroadm-common-10.1.0</artifactId>
57       <version>${transportpce.models.version}</version>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.transportpce.models</groupId>
61       <artifactId>openroadm-device-1.2.1</artifactId>
62       <version>${transportpce.models.version}</version>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.transportpce.models</groupId>
66       <artifactId>openroadm-device-2.2.1</artifactId>
67       <version>${transportpce.models.version}</version>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.transportpce.models</groupId>
71       <artifactId>openroadm-device-7.1.0</artifactId>
72       <version>${transportpce.models.version}</version>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.transportpce.models</groupId>
76       <artifactId>openroadm-network-10.1.0</artifactId>
77       <version>${transportpce.models.version}</version>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.transportpce.models</groupId>
81       <artifactId>openroadm-service-10.1.0</artifactId>
82       <version>${transportpce.models.version}</version>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.transportpce.models</groupId>
86       <artifactId>tapi-2.1.1</artifactId>
87       <version>17.1.0-SNAPSHOT</version>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.transportpce</groupId>
91       <artifactId>transportpce-api</artifactId>
92       <version>${transportpce.version}</version>
93     </dependency>
94     <dependency>
95       <groupId>org.opendaylight.transportpce</groupId>
96       <artifactId>transportpce-networkmodel</artifactId>
97       <version>${transportpce.version}</version>
98     </dependency>
99     <!-- TPCE Models - END -->
100     <!-- TPCE bundles - BEGIN -->
101     <dependency>
102       <groupId>org.opendaylight.transportpce</groupId>
103       <artifactId>transportpce-pce</artifactId>
104       <version>${transportpce.version}</version>
105     </dependency>
106     <dependency>
107       <groupId>org.opendaylight.transportpce</groupId>
108       <artifactId>transportpce-olm</artifactId>
109       <version>${transportpce.version}</version>
110     </dependency>
111     <dependency>
112       <groupId>org.opendaylight.transportpce</groupId>
113       <artifactId>transportpce-servicehandler</artifactId>
114       <version>${transportpce.version}</version>
115     </dependency>
116     <dependency>
117       <groupId>org.opendaylight.transportpce</groupId>
118       <artifactId>transportpce-tapi</artifactId>
119       <version>${transportpce.version}</version>
120     </dependency>
121     <dependency>
122       <groupId>org.opendaylight.transportpce</groupId>
123       <artifactId>transportpce-nbinotifications</artifactId>
124       <version>${transportpce.version}</version>
125     </dependency>
126     <!-- TPCE bundles - END -->
127     <dependency>
128       <groupId>io.lighty.modules</groupId>
129       <artifactId>lighty-netconf-sb</artifactId>
130     </dependency>
131     <dependency>
132       <groupId>io.lighty.modules</groupId>
133       <artifactId>lighty-restconf-nb-community</artifactId>
134     </dependency>
135     <dependency>
136       <groupId>junit</groupId>
137       <artifactId>junit</artifactId>
138       <scope>test</scope>
139     </dependency>
140     <dependency>
141       <groupId>net.jcip</groupId>
142       <artifactId>jcip-annotations</artifactId>
143       <version>1.0</version>
144       <optional>true</optional>
145     </dependency>
146     <dependency>
147       <groupId>com.github.spotbugs</groupId>
148       <artifactId>spotbugs-annotations</artifactId>
149       <optional>true</optional>
150     </dependency>
151     <dependency>
152       <groupId>org.eclipse.jetty</groupId>
153       <artifactId>jetty-client</artifactId>
154       <scope>test</scope>
155     </dependency>
156   </dependencies>
157
158   <build>
159     <finalName>tpce</finalName>
160     <plugins>
161       <plugin>
162         <artifactId>maven-jar-plugin</artifactId>
163         <configuration>
164           <archive>
165             <manifest>
166               <addClasspath>true</addClasspath>
167               <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
168               <addDefaultSpecificationEntries>True</addDefaultSpecificationEntries>
169             </manifest>
170           </archive>
171         </configuration>
172       </plugin>
173       <plugin>
174         <artifactId>maven-checkstyle-plugin</artifactId>
175         <configuration>
176           <configLocation>odl_checks.xml</configLocation>
177           <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
178           <!-- <sourceDirectories> are needed so that checkstyle
179             ignores the generated sources directory -->
180           <sourceDirectories>
181             <directory>${project.build.sourceDirectory}</directory>
182           </sourceDirectories>
183           <includeResources>true</includeResources>
184           <includeTestSourceDirectory>true</includeTestSourceDirectory>
185           <includeTestResources>true</includeTestResources>
186           <includes>**\/*.java</includes>
187           <excludes>
188             **/protobuff/messages/**,
189             **/thrift/gen/*.java,
190             **/module-info.java
191           </excludes>
192           <consoleOutput>true</consoleOutput>
193         </configuration>
194         <executions>
195           <execution>
196             <id>validate</id>
197             <phase>validate</phase>
198             <goals>
199               <goal>check</goal>
200             </goals>
201           </execution>
202         </executions>
203       </plugin>
204     </plugins>
205   </build>
206 </project>