Merge "Removing the maint-testsignal container"
[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>15.1.1-SNAPSHOT</version>
15         <relativePath />
16     </parent>
17
18     <groupId>io.lighty.controllers</groupId>
19     <artifactId>tpce</artifactId>
20     <version>5.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>5.0.0-SNAPSHOT</transportpce.version>
28     </properties>
29
30     <dependencies>
31         <!-- for parsing command line arguments -->
32         <dependency>
33             <groupId>commons-cli</groupId>
34             <artifactId>commons-cli</artifactId>
35             <version>1.4</version>
36         </dependency>
37
38         <!-- TPCE Models - BEGIN -->
39         <dependency>
40             <groupId>org.opendaylight.transportpce</groupId>
41             <artifactId>transportpce-api</artifactId>
42             <version>${transportpce.version}</version>
43         </dependency>
44         <dependency>
45             <groupId>org.opendaylight.transportpce</groupId>
46             <artifactId>transportpce-networkmodel</artifactId>
47             <version>${transportpce.version}</version>
48         </dependency>
49         <!-- TPCE Models - END -->
50
51         <!-- TPCE bundles - BEGIN -->
52         <dependency>
53             <groupId>org.opendaylight.transportpce</groupId>
54             <artifactId>transportpce-pce</artifactId>
55             <version>${transportpce.version}</version>
56         </dependency>
57         <dependency>
58             <groupId>org.opendaylight.transportpce</groupId>
59             <artifactId>transportpce-olm</artifactId>
60             <version>${transportpce.version}</version>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.transportpce</groupId>
64             <artifactId>transportpce-servicehandler</artifactId>
65             <version>${transportpce.version}</version>
66         </dependency>
67         <dependency>
68             <groupId>org.opendaylight.transportpce</groupId>
69             <artifactId>transportpce-tapi</artifactId>
70             <version>${transportpce.version}</version>
71         </dependency>
72         <dependency>
73             <groupId>org.opendaylight.transportpce</groupId>
74             <artifactId>transportpce-nbinotifications</artifactId>
75             <version>${transportpce.version}</version>
76         </dependency>
77         <!-- TPCE bundles - END -->
78
79         <dependency>
80             <groupId>io.lighty.modules</groupId>
81             <artifactId>lighty-netconf-sb</artifactId>
82         </dependency>
83         <dependency>
84             <groupId>io.lighty.modules</groupId>
85             <artifactId>lighty-restconf-nb-community</artifactId>
86         </dependency>
87
88         <dependency>
89             <groupId>junit</groupId>
90             <artifactId>junit</artifactId>
91             <scope>test</scope>
92         </dependency>
93
94         <dependency>
95             <groupId>net.jcip</groupId>
96             <artifactId>jcip-annotations</artifactId>
97             <version>1.0</version>
98             <optional>true</optional>
99         </dependency>
100         <dependency>
101             <groupId>com.github.spotbugs</groupId>
102             <artifactId>spotbugs-annotations</artifactId>
103             <version>3.1.3</version>
104             <optional>true</optional>
105         </dependency>
106
107         <dependency>
108             <groupId>org.eclipse.jetty</groupId>
109             <artifactId>jetty-client</artifactId>
110             <scope>test</scope>
111         </dependency>
112
113     </dependencies>
114     <build>
115         <finalName>tpce</finalName>
116         <plugins>
117             <plugin>
118                 <artifactId>maven-jar-plugin</artifactId>
119                 <configuration>
120                     <archive>
121                         <manifest>
122                             <addClasspath>true</addClasspath>
123                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
124                             <addDefaultSpecificationEntries>True</addDefaultSpecificationEntries>
125                         </manifest>
126                     </archive>
127                 </configuration>
128             </plugin>
129             <plugin>
130                 <artifactId>maven-checkstyle-plugin</artifactId>
131                 <configuration>
132                     <configLocation>odl_checks.xml</configLocation>
133                     <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
134                     <!-- <sourceDirectories> are needed so that checkstyle
135                         ignores the generated sources directory -->
136                     <sourceDirectories>
137                         <directory>${project.build.sourceDirectory}</directory>
138                     </sourceDirectories>
139                     <includeResources>true</includeResources>
140                     <includeTestSourceDirectory>true</includeTestSourceDirectory>
141                     <includeTestResources>true</includeTestResources>
142                     <includes>**\/*.java</includes>
143                     <excludes>
144                         **/protobuff/messages/**,
145                         **/thrift/gen/*.java,
146                         **/module-info.java
147                     </excludes>
148                     <consoleOutput>true</consoleOutput>
149                 </configuration>
150                 <executions>
151                     <execution>
152                         <id>validate</id>
153                         <phase>validate</phase>
154                         <goals>
155                             <goal>check</goal>
156                         </goals>
157                     </execution>
158                 </executions>
159             </plugin>
160         </plugins>
161     </build>
162 </project>