<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>bundle-parent</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>10.0.0-SNAPSHOT</version>
<relativePath>../bundle-parent</relativePath>
</parent>
<packaging>bundle</packaging>
<name>ODL :: odlparent :: ${project.artifactId}</name>
+ <properties>
+ <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
+ </properties>
+
<dependencies>
<!-- Dependencies for pax exam karaf container -->
<dependency>
<dependency>
<groupId>org.osgi</groupId>
<!-- required due to https://jira.opendaylight.org/browse/ODLPARENT-136 -->
- <artifactId>org.osgi.compendium</artifactId>
+ <artifactId>org.osgi.service.resolver</artifactId>
</dependency>
<dependency>
<groupId>org.apache.karaf.features</groupId>
<scope>compile</scope>
</dependency>
<dependency>
- <groupId>javax.inject</groupId>
+ <groupId>com.guicedee.services</groupId>
<artifactId>javax.inject</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
+ <artifactId>org.osgi.framework</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>opendaylight-karaf-empty</artifactId>
<type>zip</type>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<!-- BEWARE of adding additional dependencies here...
It will cause weird issues e.g. in integration/distribution/features/repos/distribution -->
have to be repeated here so that the Embed-Dependency below for maven-bundle-plugin works: -->
<dependency>
<groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
+ <artifactId>hamcrest</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
- <Embed-Dependency>bundles4-test;inline=true,awaitility;inline=true,hamcrest-core;inline=true</Embed-Dependency>
+ <Embed-Dependency>bundles4-test;inline=true,awaitility;inline=true,hamcrest;inline=true</Embed-Dependency>
<!-- same as in bundles4-test/pom.xml: -->
<Import-Package>!net.sf.cglib.proxy,!org.objenesis,*</Import-Package>
</instructions>
</plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
- <configuration>
- <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
- </configuration>
<executions>
<execution>
<id>check-license</id>
</plugins>
</build>
- <!--
- Maven Site Configuration
-
- The following configuration is necessary for maven-site-plugin to
- correctly identify the correct deployment path for OpenDaylight Maven
- sites.
- -->
- <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
-
- <distributionManagement>
- <site>
- <id>opendaylight-site</id>
- <url>${nexus.site.url}/${project.artifactId}/</url>
- </site>
- </distributionManagement>
</project>