Update INFO.yaml IRC chat locations
[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>13.1.0</version>
15         <!--
16         lighty-core is usually released a few days before the official Opendaylight release.
17         13.0.0 = Aluminium release of 2020/09/18 published on maven central
18         13.1.0 available on ODL nexus since 2021/01/11
19         -->
20         <relativePath />
21     </parent>
22
23     <groupId>io.lighty.controllers</groupId>
24     <artifactId>tpce</artifactId>
25     <version>2.4.0-SNAPSHOT</version>
26     <packaging>jar</packaging>
27
28     <properties>
29         <application.main.class>io.lighty.controllers.tpce.Main</application.main.class>
30         <application.attach.zip>true</application.attach.zip>
31         <maven.deploy.skip>true</maven.deploy.skip>
32         <transportpce.version>2.4.0-SNAPSHOT</transportpce.version>
33     </properties>
34
35     <dependencies>
36
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
50         <!-- TPCE bundles - BEGIN -->
51         <dependency>
52             <groupId>org.opendaylight.transportpce</groupId>
53             <artifactId>transportpce-pce</artifactId>
54             <version>${transportpce.version}</version>
55         </dependency>
56         <dependency>
57             <groupId>org.opendaylight.transportpce</groupId>
58             <artifactId>transportpce-olm</artifactId>
59             <version>${transportpce.version}</version>
60         </dependency>
61         <dependency>
62             <groupId>org.opendaylight.transportpce</groupId>
63             <artifactId>transportpce-servicehandler</artifactId>
64             <version>${transportpce.version}</version>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.transportpce</groupId>
68             <artifactId>transportpce-tapi</artifactId>
69             <version>${transportpce.version}</version>
70         </dependency>
71         <!-- TPCE bundles - END -->
72
73         <dependency>
74             <groupId>io.lighty.modules</groupId>
75             <artifactId>lighty-netconf-sb</artifactId>
76         </dependency>
77         <dependency>
78             <groupId>io.lighty.modules</groupId>
79             <artifactId>lighty-restconf-nb-community</artifactId>
80         </dependency>
81
82         <dependency>
83             <groupId>junit</groupId>
84             <artifactId>junit</artifactId>
85             <scope>test</scope>
86         </dependency>
87
88         <dependency>
89             <groupId>net.jcip</groupId>
90             <artifactId>jcip-annotations</artifactId>
91             <version>1.0</version>
92             <optional>true</optional>
93         </dependency>
94         <dependency>
95             <groupId>com.github.spotbugs</groupId>
96             <artifactId>spotbugs-annotations</artifactId>
97             <version>3.1.3</version>
98             <optional>true</optional>
99         </dependency>
100
101     </dependencies>
102     <build>
103         <finalName>tpce</finalName>
104         <plugins>
105             <plugin>
106                 <artifactId>maven-jar-plugin</artifactId>
107                 <configuration>
108                     <archive>
109                         <manifest>
110                             <addClasspath>true</addClasspath>
111                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
112                             <addDefaultSpecificationEntries>True</addDefaultSpecificationEntries>
113                         </manifest>
114                     </archive>
115                 </configuration>
116             </plugin>
117             <plugin>
118                 <artifactId>maven-checkstyle-plugin</artifactId>
119                 <configuration>
120                     <configLocation>odl_checks.xml</configLocation>
121                     <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
122                     <!-- <sourceDirectories> are needed so that checkstyle
123                         ignores the generated sources directory -->
124                     <sourceDirectories>
125                         <directory>${project.build.sourceDirectory}</directory>
126                     </sourceDirectories>
127                     <includeResources>true</includeResources>
128                     <includeTestSourceDirectory>true</includeTestSourceDirectory>
129                     <includeTestResources>true</includeTestResources>
130                     <includes>**\/*.java</includes>
131                     <excludes>
132                         **/protobuff/messages/**,
133                         **/thrift/gen/*.java,
134                         **/module-info.java
135                     </excludes>
136                     <consoleOutput>true</consoleOutput>
137                 </configuration>
138                 <executions>
139                     <execution>
140                         <id>validate</id>
141                         <phase>validate</phase>
142                         <goals>
143                             <goal>check</goal>
144                         </goals>
145                     </execution>
146                 </executions>
147             </plugin>
148         </plugins>
149     </build>
150 </project>