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