Incrementing versions by 0.1.0 for post-Helium master branch
[groupbasedpolicy.git] / groupbasedpolicy / pom.xml
index 3ebd029d90eb01685b789e1e78b7658d3c4d7b5f..151fc3409ba1b6cd1828e9fb307326b579c1e04a 100644 (file)
@@ -4,7 +4,7 @@
   <parent>
     <groupId>org.opendaylight.groupbasedpolicy</groupId>
     <artifactId>groupbasedpolicy.project</artifactId>
-    <version>0.1.0-SNAPSHOT</version>
+    <version>0.2.0-SNAPSHOT</version>
     <relativePath>../</relativePath>
   </parent>
 
   <packaging>bundle</packaging>
 
   <properties>
-    <sal.version>1.1-SNAPSHOT</sal.version>
-    <yangtools.binding.version>0.6.2-SNAPSHOT</yangtools.binding.version>
-    <yangtools.generator.version>0.6.2-SNAPSHOT</yangtools.generator.version>
-    <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
+    <openflowplugin-nicira.version>0.1.0-SNAPSHOT</openflowplugin-nicira.version>
   </properties>
 
   <dependencies>
     <dependency>
-      <groupId>com.google.collections</groupId>
-      <artifactId>google-collections</artifactId>
-      <version>1.0</version>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-classic</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.fasterxml.jackson.core</groupId>
+      <artifactId>jackson-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.fasterxml.jackson.core</groupId>
+      <artifactId>jackson-databind</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.fasterxml.jackson.core</groupId>
+      <artifactId>jackson-annotations</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.google.guava</groupId>
+      <artifactId>guava</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>io.netty</groupId>
+      <artifactId>netty-all</artifactId>
+      <version>4.0.10.Final</version>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <groupId>org.opendaylight.yangtools</groupId>
       <artifactId>yang-common</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.opendaylight.controller.model</groupId>
+      <artifactId>model-flow-base</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.controller.model</groupId>
+      <artifactId>model-flow-service</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.controller.model</groupId>
+      <artifactId>model-inventory</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.openflowplugin</groupId>
+      <artifactId>openflowplugin-extension-nicira</artifactId>
+      <version>${openflowplugin-nicira.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.openflowplugin</groupId>
+      <artifactId>openflowjava-extension-nicira</artifactId>
+      <version>${openflowplugin-nicira.version}</version>
+    </dependency>
     <dependency>
       <groupId>org.osgi</groupId>
       <artifactId>org.osgi.core</artifactId>
       <artifactId>junit</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.mockito</groupId>
+      <artifactId>mockito-all</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
+  <!-- project build -->
   <build>
     <plugins>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-      </plugin>
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
         <configuration>
           <instructions>
             <Import-Package>*</Import-Package>
-            <Export-Package>org.opendaylight.controller.config.yang.config.endpoint_provider</Export-Package>
-            <!-- <Bundle-Activator>
-              org.opendaylight.groupbasedpolicy.plugin.Activator
-            </Bundle-Activator> -->
+            <Export-Package>
+             org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.*,
+             org.opendaylight.controller.config.yang.config.endpoint_provider,
+             org.opendaylight.groupbasedpolicy.endpoint,
+             org.opendaylight.groupbasedpolicy.resolver
+           </Export-Package>
           </instructions>
           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
         </configuration>
               <sources>
                 <source>target/generated-sources/sal</source>
                 <source>target/generated-sources/config</source>
+                <source>target/generated-resources/</source>
               </sources>
             </configuration>
           </execution>
           <dependency>
             <groupId>org.opendaylight.controller</groupId>
             <artifactId>yang-jmx-generator-plugin</artifactId>
-            <version>0.2.5-SNAPSHOT</version>
+            <version>0.3.0-SNAPSHOT</version>
           </dependency>
           <dependency>
             <groupId>org.opendaylight.yangtools</groupId>
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <redirectTestOutputToFile>true</redirectTestOutputToFile>
+        </configuration>
+      </plugin>
+      <plugin>
+       <groupId>org.jacoco</groupId>
+       <artifactId>jacoco-maven-plugin</artifactId>
+       <executions>
+          <execution>
+            <id>pre-unit-test</id>
+            <goals>
+              <goal>prepare-agent</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>post-unit-test</id>
+            <phase>test</phase>
+            <goals>
+              <goal>report</goal>
+            </goals>
+            <configuration>
+              <dataFile>${sonar.jacoco.reportPath}</dataFile>
+             <includes>
+               <include>org/opendaylight/groupbasedpolicy/**/*.class</include>
+             </includes>
+            </configuration>
+          </execution>
+       </executions>
+      </plugin>
     </plugins>
   </build>
 </project>