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>
12 <groupId>io.lighty.core</groupId>
13 <artifactId>lighty-app-parent</artifactId>
14 <version>18.0.0</version>
18 <groupId>io.lighty.controllers</groupId>
19 <artifactId>tpce</artifactId>
20 <version>8.0.0-SNAPSHOT</version>
21 <packaging>jar</packaging>
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>8.0.0-SNAPSHOT</transportpce.version>
28 <transportpce.models.version>18.1.0</transportpce.models.version>
31 <dependencyManagement>
34 <groupId>org.opendaylight.transportpce.models</groupId>
35 <artifactId>transportpce-models-artifacts</artifactId>
36 <version>${transportpce.models.version}</version>
41 </dependencyManagement>
44 <!-- for parsing command line arguments -->
46 <groupId>commons-cli</groupId>
47 <artifactId>commons-cli</artifactId>
48 <version>1.4</version>
50 <!-- TPCE Models - BEGIN -->
52 <groupId>org.opendaylight.transportpce.models</groupId>
53 <artifactId>openroadm-common-1.2.1</artifactId>
56 <groupId>org.opendaylight.transportpce.models</groupId>
57 <artifactId>openroadm-common-2.2.1</artifactId>
60 <groupId>org.opendaylight.transportpce.models</groupId>
61 <artifactId>openroadm-common-7.1.0</artifactId>
64 <groupId>org.opendaylight.transportpce.models</groupId>
65 <artifactId>openroadm-common-10.1.0</artifactId>
68 <groupId>org.opendaylight.transportpce.models</groupId>
69 <artifactId>openroadm-device-1.2.1</artifactId>
72 <groupId>org.opendaylight.transportpce.models</groupId>
73 <artifactId>openroadm-device-2.2.1</artifactId>
76 <groupId>org.opendaylight.transportpce.models</groupId>
77 <artifactId>openroadm-device-7.1.0</artifactId>
80 <groupId>org.opendaylight.transportpce.models</groupId>
81 <artifactId>openroadm-network-10.1.0</artifactId>
84 <groupId>org.opendaylight.transportpce.models</groupId>
85 <artifactId>openroadm-service-10.1.0</artifactId>
88 <groupId>org.opendaylight.transportpce.models</groupId>
89 <artifactId>tapi-2.1.1</artifactId>
92 <groupId>org.opendaylight.transportpce</groupId>
93 <artifactId>transportpce-api</artifactId>
94 <version>${transportpce.version}</version>
97 <groupId>org.opendaylight.transportpce</groupId>
98 <artifactId>transportpce-networkmodel</artifactId>
99 <version>${transportpce.version}</version>
101 <!-- TPCE Models - END -->
102 <!-- TPCE bundles - BEGIN -->
104 <groupId>org.opendaylight.transportpce</groupId>
105 <artifactId>transportpce-pce</artifactId>
106 <version>${transportpce.version}</version>
109 <groupId>org.opendaylight.transportpce</groupId>
110 <artifactId>transportpce-olm</artifactId>
111 <version>${transportpce.version}</version>
114 <groupId>org.opendaylight.transportpce</groupId>
115 <artifactId>transportpce-servicehandler</artifactId>
116 <version>${transportpce.version}</version>
119 <groupId>org.opendaylight.transportpce</groupId>
120 <artifactId>transportpce-tapi</artifactId>
121 <version>${transportpce.version}</version>
124 <groupId>org.opendaylight.transportpce</groupId>
125 <artifactId>transportpce-nbinotifications</artifactId>
126 <version>${transportpce.version}</version>
128 <!-- TPCE bundles - END -->
130 <groupId>io.lighty.modules</groupId>
131 <artifactId>lighty-netconf-sb</artifactId>
134 <groupId>io.lighty.modules</groupId>
135 <artifactId>lighty-restconf-nb-community</artifactId>
138 <groupId>io.lighty.modules</groupId>
139 <artifactId>lighty-swagger</artifactId>
142 <groupId>junit</groupId>
143 <artifactId>junit</artifactId>
147 <groupId>net.jcip</groupId>
148 <artifactId>jcip-annotations</artifactId>
149 <version>1.0</version>
150 <optional>true</optional>
153 <groupId>com.github.spotbugs</groupId>
154 <artifactId>spotbugs-annotations</artifactId>
155 <optional>true</optional>
158 <groupId>org.eclipse.jetty</groupId>
159 <artifactId>jetty-client</artifactId>
165 <finalName>tpce</finalName>
168 <artifactId>maven-jar-plugin</artifactId>
172 <addClasspath>true</addClasspath>
173 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
174 <addDefaultSpecificationEntries>True</addDefaultSpecificationEntries>
180 <artifactId>maven-checkstyle-plugin</artifactId>
182 <configLocation>odl_checks.xml</configLocation>
183 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
184 <!-- <sourceDirectories> are needed so that checkstyle
185 ignores the generated sources directory -->
187 <directory>${project.build.sourceDirectory}</directory>
189 <includeResources>true</includeResources>
190 <includeTestSourceDirectory>true</includeTestSourceDirectory>
191 <includeTestResources>true</includeTestResources>
192 <includes>**\/*.java</includes>
194 **/protobuff/messages/**,
195 **/thrift/gen/*.java,
198 <consoleOutput>true</consoleOutput>
199 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
204 <phase>validate</phase>