- <dependencies>
-
- <!-- TPCE Models - BEGIN -->
- <dependency>
- <groupId>org.opendaylight.transportpce</groupId>
- <artifactId>transportpce-api</artifactId>
- <version>${transportpce.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.transportpce.ordmodels</groupId>
- <artifactId>transportpce-ordmodels-common</artifactId>
- <version>${transportpce.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.transportpce.ordmodels</groupId>
- <artifactId>transportpce-ordmodels-device</artifactId>
- <version>${transportpce.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.transportpce.ordmodels</groupId>
- <artifactId>transportpce-ordmodels-network</artifactId>
- <version>${transportpce.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.transportpce.ordmodels</groupId>
- <artifactId>transportpce-ordmodels-service</artifactId>
- <version>${transportpce.version}</version>
- </dependency>
- <!-- TPCE Models - END -->
-
- <!-- TPCE bundles - BEGIN -->
- <dependency>
- <groupId>org.opendaylight.transportpce</groupId>
- <artifactId>transportpce-pce</artifactId>
- <version>${transportpce.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.transportpce</groupId>
- <artifactId>transportpce-olm</artifactId>
- <version>${transportpce.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.transportpce</groupId>
- <artifactId>transportpce-servicehandler</artifactId>
- <version>${transportpce.version}</version>
- </dependency>
- <!-- TPCE bundles - END -->
-
- <dependency>
- <groupId>io.lighty.modules</groupId>
- <artifactId>lighty-netconf-sb</artifactId>
- </dependency>
- <dependency>
- <groupId>io.lighty.modules</groupId>
- <artifactId>lighty-restconf-nb-community</artifactId>
- <exclusions>
- <!-- FIXME: why is this exclusion needed? can we move it somewhere else? -->
- <exclusion>
- <groupId>javax.ws.rs</groupId>
- <artifactId>javax.ws.rs-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>io.lighty.resources</groupId>
- <artifactId>singlenode-configuration</artifactId>
- </dependency>
- <dependency>
- <groupId>io.lighty.resources</groupId>
- <artifactId>log4j-properties</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-server</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-webapp</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-servlets</artifactId>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.core</groupId>
- <artifactId>jersey-server</artifactId>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.containers</groupId>
- <artifactId>jersey-container-jetty-http</artifactId>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.inject</groupId>
- <artifactId>jersey-hk2</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.ws.rs</groupId>
- <artifactId>javax.ws.rs-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-client</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
+ <build>
+ <finalName>tpce</finalName>
+ <plugins>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>True</addDefaultSpecificationEntries>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <configLocation>odl_checks.xml</configLocation>
+ <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
+ <!-- <sourceDirectories> are needed so that checkstyle
+ ignores the generated sources directory -->
+ <sourceDirectories>
+ <directory>${project.build.sourceDirectory}</directory>
+ </sourceDirectories>
+ <includeResources>true</includeResources>
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
+ <includeTestResources>true</includeTestResources>
+ <includes>**\/*.java</includes>
+ <excludes>
+ **/protobuff/messages/**,
+ **/thrift/gen/*.java,
+ **/module-info.java
+ </excludes>
+ <consoleOutput>true</consoleOutput>
+ </configuration>
+ <executions>
+ <execution>
+ <id>validate</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>