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