- <!-- TPCE Models - BEGIN -->
- <dependency>
- <groupId>org.opendaylight.transportpce</groupId>
- <artifactId>transportpce-api</artifactId>
- <version>${transportpce.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.transportpce</groupId>
- <artifactId>transportpce-networkmodel</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>
- <dependency>
- <groupId>org.opendaylight.transportpce</groupId>
- <artifactId>transportpce-tapi</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>
- </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>
+ <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>