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-SNAPSHOT</version>
18 <groupId>io.lighty.controllers</groupId>
19 <artifactId>tpce</artifactId>
20 <version>7.0.1-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>7.0.1-SNAPSHOT</transportpce.version>
28 <transportpce.models.version>18.0.1</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>junit</groupId>
139 <artifactId>junit</artifactId>
143 <groupId>net.jcip</groupId>
144 <artifactId>jcip-annotations</artifactId>
145 <version>1.0</version>
146 <optional>true</optional>
149 <groupId>com.github.spotbugs</groupId>
150 <artifactId>spotbugs-annotations</artifactId>
151 <optional>true</optional>
154 <groupId>org.eclipse.jetty</groupId>
155 <artifactId>jetty-client</artifactId>
161 <finalName>tpce</finalName>
164 <artifactId>maven-jar-plugin</artifactId>
168 <addClasspath>true</addClasspath>
169 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
170 <addDefaultSpecificationEntries>True</addDefaultSpecificationEntries>
176 <artifactId>maven-checkstyle-plugin</artifactId>
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 -->
183 <directory>${project.build.sourceDirectory}</directory>
185 <includeResources>true</includeResources>
186 <includeTestSourceDirectory>true</includeTestSourceDirectory>
187 <includeTestResources>true</includeTestResources>
188 <includes>**\/*.java</includes>
190 **/protobuff/messages/**,
191 **/thrift/gen/*.java,
194 <consoleOutput>true</consoleOutput>
199 <phase>validate</phase>