6586ac4ea84d8a2bf1f4d100343dafcb449f7b85
[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.1.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>18.0.0</transportpce.models.version>
29   </properties>
30
31   <dependencyManagement>
32     <dependencies>
33       <dependency>
34         <groupId>org.opendaylight.transportpce.models</groupId>
35         <artifactId>transportpce-models-artifacts</artifactId>
36         <version>${transportpce.models.version}</version>
37         <type>pom</type>
38         <scope>import</scope>
39       </dependency>
40     </dependencies>
41   </dependencyManagement>
42
43   <dependencies>
44     <!-- for parsing command line arguments -->
45     <dependency>
46       <groupId>commons-cli</groupId>
47       <artifactId>commons-cli</artifactId>
48       <version>1.4</version>
49     </dependency>
50     <!-- TPCE Models - BEGIN -->
51     <dependency>
52      <groupId>org.opendaylight.transportpce.models</groupId>
53       <artifactId>openroadm-common-1.2.1</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.transportpce.models</groupId>
57       <artifactId>openroadm-common-2.2.1</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.transportpce.models</groupId>
61       <artifactId>openroadm-common-7.1.0</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.transportpce.models</groupId>
65       <artifactId>openroadm-common-10.1.0</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.transportpce.models</groupId>
69       <artifactId>openroadm-device-1.2.1</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.transportpce.models</groupId>
73       <artifactId>openroadm-device-2.2.1</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.transportpce.models</groupId>
77       <artifactId>openroadm-device-7.1.0</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.transportpce.models</groupId>
81       <artifactId>openroadm-network-10.1.0</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.transportpce.models</groupId>
85       <artifactId>openroadm-service-10.1.0</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.transportpce.models</groupId>
89       <artifactId>tapi-2.1.1</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>org.opendaylight.transportpce</groupId>
93       <artifactId>transportpce-api</artifactId>
94       <version>${transportpce.version}</version>
95     </dependency>
96     <dependency>
97       <groupId>org.opendaylight.transportpce</groupId>
98       <artifactId>transportpce-networkmodel</artifactId>
99       <version>${transportpce.version}</version>
100     </dependency>
101     <!-- TPCE Models - END -->
102     <!-- TPCE bundles - BEGIN -->
103     <dependency>
104       <groupId>org.opendaylight.transportpce</groupId>
105       <artifactId>transportpce-pce</artifactId>
106       <version>${transportpce.version}</version>
107     </dependency>
108     <dependency>
109       <groupId>org.opendaylight.transportpce</groupId>
110       <artifactId>transportpce-olm</artifactId>
111       <version>${transportpce.version}</version>
112     </dependency>
113     <dependency>
114       <groupId>org.opendaylight.transportpce</groupId>
115       <artifactId>transportpce-servicehandler</artifactId>
116       <version>${transportpce.version}</version>
117     </dependency>
118     <dependency>
119       <groupId>org.opendaylight.transportpce</groupId>
120       <artifactId>transportpce-tapi</artifactId>
121       <version>${transportpce.version}</version>
122     </dependency>
123     <dependency>
124       <groupId>org.opendaylight.transportpce</groupId>
125       <artifactId>transportpce-nbinotifications</artifactId>
126       <version>${transportpce.version}</version>
127     </dependency>
128     <!-- TPCE bundles - END -->
129     <dependency>
130       <groupId>io.lighty.modules</groupId>
131       <artifactId>lighty-netconf-sb</artifactId>
132     </dependency>
133     <dependency>
134       <groupId>io.lighty.modules</groupId>
135       <artifactId>lighty-restconf-nb-community</artifactId>
136     </dependency>
137     <dependency>
138       <groupId>junit</groupId>
139       <artifactId>junit</artifactId>
140       <scope>test</scope>
141     </dependency>
142     <dependency>
143       <groupId>net.jcip</groupId>
144       <artifactId>jcip-annotations</artifactId>
145       <version>1.0</version>
146       <optional>true</optional>
147     </dependency>
148     <dependency>
149       <groupId>com.github.spotbugs</groupId>
150       <artifactId>spotbugs-annotations</artifactId>
151       <optional>true</optional>
152     </dependency>
153     <dependency>
154       <groupId>org.eclipse.jetty</groupId>
155       <artifactId>jetty-client</artifactId>
156       <scope>test</scope>
157     </dependency>
158   </dependencies>
159
160   <build>
161     <finalName>tpce</finalName>
162     <plugins>
163       <plugin>
164         <artifactId>maven-jar-plugin</artifactId>
165         <configuration>
166           <archive>
167             <manifest>
168               <addClasspath>true</addClasspath>
169               <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
170               <addDefaultSpecificationEntries>True</addDefaultSpecificationEntries>
171             </manifest>
172           </archive>
173         </configuration>
174       </plugin>
175       <plugin>
176         <artifactId>maven-checkstyle-plugin</artifactId>
177         <configuration>
178           <configLocation>odl_checks.xml</configLocation>
179           <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
180           <!-- <sourceDirectories> are needed so that checkstyle
181             ignores the generated sources directory -->
182           <sourceDirectories>
183             <directory>${project.build.sourceDirectory}</directory>
184           </sourceDirectories>
185           <includeResources>true</includeResources>
186           <includeTestSourceDirectory>true</includeTestSourceDirectory>
187           <includeTestResources>true</includeTestResources>
188           <includes>**\/*.java</includes>
189           <excludes>
190             **/protobuff/messages/**,
191             **/thrift/gen/*.java,
192             **/module-info.java
193           </excludes>
194           <consoleOutput>true</consoleOutput>
195         </configuration>
196         <executions>
197           <execution>
198             <id>validate</id>
199             <phase>validate</phase>
200             <goals>
201               <goal>check</goal>
202             </goals>
203           </execution>
204         </executions>
205       </plugin>
206     </plugins>
207   </build>
208 </project>