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