Remove repositories section
[l2switch.git] / parent / pom.xml
index d5c56548adfee050af10ef664e354658a06d3755..15e6103cb429e06b910a2178f47e6faac9adf2fe 100644 (file)
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent</artifactId>
-    <version>1.4.2-SNAPSHOT</version>
+    <version>1.6.0-SNAPSHOT</version>
+    <relativePath/>
   </parent>
   <groupId>org.opendaylight.l2switch</groupId>
   <artifactId>l2switch-parent</artifactId>
-  <version>0.1.0-SNAPSHOT</version>
+  <version>0.3.0-SNAPSHOT</version>
   <packaging>pom</packaging>
 
   <properties>
     <codeGeneratorPath>src/main/yang-gen-code</codeGeneratorPath>
     <configCodeGeneratorPath>src/main/yang-gen-config</configCodeGeneratorPath>
     <nexus_proxy>http://nexus.opendaylight.org/content</nexus_proxy>
-    <mdsal.version>1.1-SNAPSHOT</mdsal.version>
-    <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
-    <ietf-yang-types.version>2010.09.24.4-SNAPSHOT</ietf-yang-types.version>
+    <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
+    <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
     <jung2.version>2.0.1</jung2.version>
-    <config.version>0.2.5-SNAPSHOT</config.version>
-    <openflow.plugin.version>0.0.3-SNAPSHOT</openflow.plugin.version>
-    <dlux.version>0.1.0-SNAPSHOT</dlux.version>
-    <karaf.version>3.0.1</karaf.version>
-    <bundle.plugin.version>2.4.0</bundle.plugin.version>
+    <config.version>0.4.0-SNAPSHOT</config.version>
+    <openflow.plugin.version>0.2.0-SNAPSHOT</openflow.plugin.version>
+    <dlux.version>0.3.0-SNAPSHOT</dlux.version>
     <config.configfile.directory>etc/opendaylight/karaf</config.configfile.directory>
     <config.packethandler.configfile>50-packethandler.xml</config.packethandler.configfile>
     <config.loopremover.configfile>52-loopremover.xml</config.loopremover.configfile>
     <config.arphandler.configfile>54-arphandler.xml</config.arphandler.configfile>
     <config.addresstracker.configfile>56-addresstracker.xml</config.addresstracker.configfile>
+    <config.hosttracker.configfile>57-hosttracker.xml</config.hosttracker.configfile>
     <config.l2switchmain.configfile>58-l2switchmain.xml</config.l2switchmain.configfile>
   </properties>
 
   <dependencyManagement>
     <dependencies>
-      <!-- SAL bundles -->
-      <dependency>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>sal-binding-api</artifactId>
-        <version>${mdsal.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>sal-binding-config</artifactId>
-        <version>${mdsal.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.opendaylight.controller.model</groupId>
-        <artifactId>model-inventory</artifactId>
-        <version>${mdsal.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.opendaylight.controller.model</groupId>
-        <artifactId>model-topology</artifactId>
-        <version>${mdsal.version}</version>
-      </dependency>
       <dependency>
         <groupId>org.opendaylight.yangtools</groupId>
-        <artifactId>yang-binding</artifactId>
+        <artifactId>yangtools-artifacts</artifactId>
         <version>${yangtools.version}</version>
+        <scope>import</scope>
+        <type>pom</type>
       </dependency>
       <dependency>
-        <groupId>org.opendaylight.yangtools</groupId>
-        <artifactId>yang-common</artifactId>
-        <version>${yangtools.version}</version>
+        <groupId>org.opendaylight.controller</groupId>
+        <artifactId>config-artifacts</artifactId>
+        <version>${config.version}</version>
+        <scope>import</scope>
+        <type>pom</type>
       </dependency>
       <dependency>
-        <groupId>org.opendaylight.yangtools.model</groupId>
-        <artifactId>ietf-yang-types</artifactId>
-        <version>${ietf-yang-types.version}</version>
+        <groupId>org.opendaylight.controller</groupId>
+        <artifactId>mdsal-artifacts</artifactId>
+        <version>${mdsal.version}</version>
+        <scope>import</scope>
+        <type>pom</type>
       </dependency>
       <dependency>
-        <groupId>org.opendaylight.controller.model</groupId>
-        <artifactId>model-flow-service</artifactId>
-        <version>${mdsal.version}</version>
+        <groupId>org.opendaylight.openflowplugin</groupId>
+        <artifactId>openflowplugin-artifacts</artifactId>
+        <version>${openflow.plugin.version}</version>
+        <scope>import</scope>
+        <type>pom</type>
       </dependency>
+
       <dependency>
         <groupId>org.opendaylight.controller.thirdparty</groupId>
         <artifactId>net.sf.jung2</artifactId>
         <version>${jung2.version}</version>
       </dependency>
-      <dependency>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>config-api</artifactId>
-        <version>${config.version}</version>
-      </dependency>
     </dependencies>
   </dependencyManagement>
 
-  <repositories>
-    <!-- OpenDayLight Repo Mirror -->
-    <repository>
-      <id>opendaylight-mirror</id>
-      <name>opendaylight-mirror</name>
-      <url>http://nexus.opendaylight.org/content/groups/public/</url>
-      <snapshots>
-        <enabled>false</enabled>
-      </snapshots>
-      <releases>
-        <enabled>true</enabled>
-        <updatePolicy>never</updatePolicy>
-      </releases>
-    </repository>
-
-    <!-- OpenDayLight Snapshot artifact -->
-    <repository>
-      <id>opendaylight-snapshot</id>
-      <name>opendaylight-snapshot</name>
-      <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-    </repository>
-
-  </repositories>
-
   <distributionManagement>
     <!-- OpenDayLight Released artifact -->
     <repository>
                   <dependency>
                     <groupId>org.opendaylight.controller</groupId>
                     <artifactId>checkstyle</artifactId>
-                    <version>0.0.3-SNAPSHOT</version>
+                    <version>0.2.0-SNAPSHOT</version>
                   </dependency>
                 </dependencies>
                 <executions>
                               <sources>
                                   <source>src/main/yang</source>
                                   <source>${codeGeneratorPath}</source>
+                                  <source>${configCodeGeneratorPath}</source>
                               </sources>
                           </configuration>
                       </execution>
                       <filesets>
                           <fileset>
                               <directory>${codeGeneratorPath}</directory>
+                              <directory>${configCodeGeneratorPath}</directory>
                               <includes>
                                   <include>**</include>
                               </includes>
                                       <ignore />
                                   </action>
                               </pluginExecution>
-                              <pluginExecution>
-                                  <pluginExecutionFilter>
-                                      <groupId>org.codehaus.enunciate</groupId>
-                                      <artifactId>maven-enunciate-plugin</artifactId>
-                                      <versionRange>[0.0,)</versionRange>
-                                      <goals>
-                                          <goal>docs</goal>
-                                      </goals>
-                                  </pluginExecutionFilter>
-                                  <action>
-                                      <ignore />
-                                  </action>
-                              </pluginExecution>
                               <pluginExecution>
                                   <pluginExecutionFilter>
                                       <groupId>org.jacoco</groupId>
                       </lifecycleMappingMetadata>
                   </configuration>
               </plugin>
-              <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <version>${bundle.plugin.version}</version>
-              </plugin>
           </plugins>
       </pluginManagement>
       <plugins>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-checkstyle-plugin</artifactId>
           </plugin>
+          <plugin>
+            <groupId>org.jacoco</groupId>
+            <artifactId>jacoco-maven-plugin</artifactId>
+            <configuration>
+              <includes>
+                <include>org.opendaylight.l2switch.*</include>
+              </includes>
+            </configuration>
+            <executions>
+              <execution>
+                <id>pre-test</id>
+                <goals>
+                  <goal>prepare-agent</goal>
+                </goals>
+              </execution>
+              <execution>
+                <id>post-test</id>
+                <goals>
+                  <goal>report</goal>
+                </goals>
+                <phase>test</phase>
+              </execution>
+            </executions>
+          </plugin>
       </plugins>
   </build>