<parent>
<groupId>org.opendaylight.groupbasedpolicy</groupId>
<artifactId>groupbasedpolicy-renderers</artifactId>
- <version>0.3.0-SNAPSHOT</version>
+ <version>0.5.2-Carbon</version>
<relativePath>../</relativePath>
</parent>
<packaging>bundle</packaging>
<properties>
- <ovsdb.version>1.2.1-SNAPSHOT</ovsdb.version>
- <openflowplugin.version>0.2.0-SNAPSHOT</openflowplugin.version>
- <liblldp.version>0.10.0-SNAPSHOT</liblldp.version>
- <sfc.version>0.2.0-SNAPSHOT</sfc.version>
+ <ovsdb.version>1.4.2-Carbon</ovsdb.version>
+ <openflowplugin.version>0.4.2-Carbon</openflowplugin.version>
+ <liblldp.version>0.12.2-Carbon</liblldp.version>
</properties>
<dependencies>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
</dependency>
+ <!-- REST client-->
+ <dependency>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-client</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ </dependency>
<!-- SFC -->
<dependency>
<groupId>org.opendaylight.sfc</groupId>
<artifactId>sfc-provider</artifactId>
- <version>${sfc.version}</version>
</dependency>
<!-- testing dependencies -->
<dependency>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
+ <artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>sal-binding-broker-impl</artifactId>
- <version>${mdsal.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.opendaylight.groupbasedpolicy</groupId>
+ <artifactId>groupbasedpolicy</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.powermock</groupId>
+ <artifactId>powermock-module-junit4</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.powermock</groupId>
+ <artifactId>powermock-api-mockito</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey.jersey-test-framework</groupId>
+ <artifactId>jersey-test-framework-grizzly2</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
in the test directory aren't packaged in bundles, and instead of keeping
separate copies, we just copy the file(s) needed in order to run the test). -->
<plugins>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-resources</id>
- <!-- here the phase you need -->
- <phase>validate</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>src/test/java/org/opendaylight/groupbasedpolicy/resolver</outputDirectory>
- <resources>
- <resource>
- <directory>../../groupbasedpolicy/src/test/java/org/opendaylight/groupbasedpolicy/resolver</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
- org.opendaylight.groupbasedpolicy.renderer.ofoverlay.sf,
org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.ofoverlay.rev140528.*
</Export-Package>
</instructions>