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