-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.opendaylight.netvirt</groupId>
<artifactId>config-parent</artifactId>
- <version>0.4.0-SNAPSHOT</version>
+ <version>0.5.0-SNAPSHOT</version>
<relativePath>../../commons/config-parent</relativePath>
</parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.opendaylight.netvirt</groupId>
<artifactId>aclservice-impl</artifactId>
- <version>0.4.0-SNAPSHOT</version>
+ <name>ODL :: netvirt :: ${project.artifactId}</name>
<packaging>bundle</packaging>
+
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<groupId>org.opendaylight.controller</groupId>
<artifactId>sal-binding-broker-impl</artifactId>
</dependency>
- <dependency>
- <groupId>org.opendaylight.neutron</groupId>
- <artifactId>model</artifactId>
- <version>${neutron.version}</version>
- </dependency>
<dependency>
<groupId>org.opendaylight.genius</groupId>
<artifactId>mdsalutil-api</artifactId>
</dependency>
<dependency>
<groupId>org.opendaylight.ovsdb</groupId>
- <artifactId>southbound-api</artifactId>
+ <artifactId>utils.config</artifactId>
<version>${vpns.ovsdb.version}</version>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>neutronvpn-api</artifactId>
+ <groupId>org.opendaylight.netvirt</groupId>
+ <artifactId>elanmanager-api</artifactId>
<version>${vpnservices.version}</version>
</dependency>
<dependency>
- <groupId>org.opendaylight.ovsdb</groupId>
- <artifactId>utils.config</artifactId>
- <version>${vpns.ovsdb.version}</version>
+ <groupId>org.opendaylight.genius</groupId>
+ <artifactId>idmanager-api</artifactId>
+ <version>${genius.version}</version>
</dependency>
- <dependency>
- <groupId>org.opendaylight.netvirt</groupId>
- <artifactId>elanmanager-api</artifactId>
- <version>${vpnservices.version}</version>
+ <dependency>
+ <groupId>org.opendaylight.infrautils</groupId>
+ <artifactId>inject</artifactId>
+ <version>${infrautils.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.googlecode.java-ipv6</groupId>
+ <artifactId>java-ipv6</artifactId>
+ <version>0.16</version>
+ </dependency>
+
+ <!-- Dependencies used only by code under src/test (<scope>test) -->
+ <dependency>
+ <groupId>org.opendaylight.infrautils</groupId>
+ <artifactId>infrautils-testutils</artifactId>
+ <version>${infrautils.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.infrautils</groupId>
+ <artifactId>inject.guice.testutils</artifactId>
+ <version>${infrautils.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.genius</groupId>
+ <artifactId>mdsalutil-api</artifactId>
+ <version>${genius.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.genius</groupId>
+ <artifactId>mdsalutil-testutils</artifactId>
+ <version>${genius.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.yangtools</groupId>
+ <artifactId>testutils</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>sal-binding-broker-impl</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.mdsal</groupId>
+ <artifactId>mdsal-binding-test-utils</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.immutables</groupId>
+ <artifactId>value</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
- <!-- TODO Remove when https://git.opendaylight.org/gerrit/#/c/44502/ is merged -->
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- <version>1</version>
- <!-- <scope>provided is wrong here, and causes "Missing Constraint: Import-Package: javax.inject",
- because javax.inject.Inject & Co. are @Retention(RUNTIME). As bnd generates a MANIFEST.MF with import-package,
- you must have <bundle>wrap:mvn:javax.inject/javax.inject/{{VERSION}} in respective features.xml -->
+ <groupId>com.google.truth</groupId>
+ <artifactId>truth</artifactId>
+ <scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <configuration>
- <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Embed-Dependency>utils.config;type=!pom;inline=false</Embed-Dependency>
- <Embed-Transitive>true</Embed-Transitive>
- </instructions>
- </configuration>
+ <groupId>org.eclipse.xtend</groupId>
+ <artifactId>xtend-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
</executions>
</plugin>
<plugin>
- <!-- TODO If overall proposed direction of this Gerrit is +1 by everyone,
- then move both the blueprint-maven-plugin and the maven-antrun-plugin to odl-parent and remove from here -->
<groupId>org.apache.aries.blueprint</groupId>
<artifactId>blueprint-maven-plugin</artifactId>
- <version>1.4.0</version>
- <configuration>
- <scanPaths>
- <scanPath>org.opendaylight</scanPath>
- </scanPaths>
- </configuration>
- <dependencies>
- <dependency>
- <!-- https://stackoverflow.com/questions/38825386/blueprint-maven-plugin-runtimeexception -->
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-finder-shaded</artifactId>
- <version>4.5</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <goals>
- <goal>blueprint-generate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- Remove then when upgrading blueprint-maven-plugin to 1.5.0,
- and use <configuration><generatedDir>org/opendaylight/blueprint/
- see https://issues.apache.org/jira/browse/ARIES-1597 -->
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>process-classes</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
- <move file="${basedir}/target/generated-resources/OSGI-INF/blueprint/autowire.xml"
- todir="${basedir}/target/generated-resources/org/opendaylight/blueprint" />
- </tasks>
- </configuration>
- </execution>
- </executions>
</plugin>
</plugins>
</build>