<parent>
<groupId>io.lighty.core</groupId>
<artifactId>lighty-app-parent</artifactId>
- <version>12.1.0</version>
+ <version>13.0.0</version>
+ <!--
+ 13.0.0 correspond to the master branch version on the official repo
+ that is advised for Aluminium.
+ At that date 08/2020, it seems not yet published on Nexus
+ -->
<relativePath />
</parent>
<groupId>io.lighty.controllers</groupId>
<artifactId>tpce</artifactId>
- <version>2.0.0-SNAPSHOT</version>
+ <version>3.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<application.main.class>io.lighty.controllers.tpce.Main</application.main.class>
<application.attach.zip>true</application.attach.zip>
<maven.deploy.skip>true</maven.deploy.skip>
- <transportpce.version>2.0.0-SNAPSHOT</transportpce.version>
+ <transportpce.version>3.0.0-SNAPSHOT</transportpce.version>
</properties>
<dependencies>
<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>
<dependency>
<groupId>org.opendaylight.transportpce</groupId>
<artifactId>transportpce-networkmodel</artifactId>
<artifactId>transportpce-servicehandler</artifactId>
<version>${transportpce.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.opendaylight.transportpce</groupId>
+ <artifactId>transportpce-tapi</artifactId>
+ <version>${transportpce.version}</version>
+ </dependency>
<!-- TPCE bundles - END -->
<dependency>
<artifactId>lighty-restconf-nb-community</artifactId>
</dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</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>
</project>