Bump projet dependencies to Aluminium
[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.0.0</version>
15         <!--
16         13.0.0 correspond to the master branch version on the official repo
17         that is advised for Aluminium.
18         At that date 08/2020, it seems not yet published on Nexus
19         -->
20         <relativePath />
21     </parent>
22
23     <groupId>io.lighty.controllers</groupId>
24     <artifactId>tpce</artifactId>
25     <version>2.0.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.0.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     </dependencies>
89     <build>
90         <finalName>tpce</finalName>
91         <plugins>
92             <plugin>
93                 <artifactId>maven-jar-plugin</artifactId>
94                 <configuration>
95                     <archive>
96                         <manifest>
97                             <addClasspath>true</addClasspath>
98                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
99                             <addDefaultSpecificationEntries>True</addDefaultSpecificationEntries>
100                         </manifest>
101                     </archive>
102                 </configuration>
103             </plugin>
104             <plugin>
105                 <artifactId>maven-checkstyle-plugin</artifactId>
106                 <configuration>
107                     <configLocation>odl_checks.xml</configLocation>
108                     <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
109                     <!-- <sourceDirectories> are needed so that checkstyle
110                         ignores the generated sources directory -->
111                     <sourceDirectories>
112                         <directory>${project.build.sourceDirectory}</directory>
113                     </sourceDirectories>
114                     <includeResources>true</includeResources>
115                     <includeTestSourceDirectory>true</includeTestSourceDirectory>
116                     <includeTestResources>true</includeTestResources>
117                     <includes>**\/*.java</includes>
118                     <excludes>
119                         **/protobuff/messages/**,
120                         **/thrift/gen/*.java,
121                         **/module-info.java
122                     </excludes>
123                     <consoleOutput>true</consoleOutput>
124                 </configuration>
125                 <executions>
126                     <execution>
127                         <id>validate</id>
128                         <phase>validate</phase>
129                         <goals>
130                             <goal>check</goal>
131                         </goals>
132                     </execution>
133                 </executions>
134             </plugin>
135         </plugins>
136     </build>
137 </project>