Add support for Karaf shell lisp:* commands
[lispflowmapping.git] / commons / parent / pom.xml
index 3751ba8b275b00060d94b8e6efd8ecb991e2ee95..3074cef9fc764bf236d6025734ad1765ee3b6fa3 100644 (file)
@@ -16,6 +16,7 @@
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent</artifactId>
     <version>1.5.0-SNAPSHOT</version>
+    <relativePath/>
   </parent>
 
   <groupId>org.opendaylight.lispflowmapping</groupId>
@@ -30,7 +31,6 @@
     <build.suffix>1.0.0</build.suffix>
     <clustering.services.version>0.6.0-SNAPSHOT</clustering.services.version>
     <config.version>0.3.0-SNAPSHOT</config.version>
-    <controller.checkstyle.version>0.1.0-SNAPSHOT</controller.checkstyle.version>
     <feature.test.version>0.7.0-SNAPSHOT</feature.test.version>
     <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
     <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
     <dependencies>
       <!-- NOTE: The "Type" jar is considered default. You only need to specify
                  the type when it is something other than jar. -->
-      <dependency>
-        <groupId>equinoxSDK381</groupId>
-        <artifactId>org.eclipse.osgi</artifactId>
-        <version>3.8.1.v20120830-144521</version>
-      </dependency>
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>4.8.1</version>
-      </dependency>
       <dependency>
         <groupId>junit-addons</groupId>
         <artifactId>junit-addons</artifactId>
@@ -86,7 +76,7 @@
       <dependency>
         <groupId>org.hamcrest</groupId>
         <artifactId>hamcrest-core</artifactId>
-        <version>1.3</version>
+        <version>${hamcrest.version}</version>
       </dependency>
       <dependency>
         <groupId>org.jmock</groupId>
         <artifactId>containermanager</artifactId>
         <version>0.6.0-SNAPSHOT</version>
       </dependency>
-      <dependency>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>distribution.opendaylight</artifactId>
-        <version>0.2.0-SNAPSHOT</version>
-        <classifier>osgipackage</classifier>
-        <type>zip</type>
-        <!-- Make sure this isn't included on any classpath -->
-      </dependency>
       <dependency>
         <groupId>org.opendaylight.controller</groupId>
         <artifactId>features-adsal</artifactId>
         <type>xml</type>
       </dependency>
       <dependency>
-        <groupId>org.opendaylight.controller</groupId>
+        <groupId>org.opendaylight.neutron</groupId>
         <artifactId>features-neutron</artifactId>
         <version>${neutron.version}</version>
         <classifier>features</classifier>
         <version>${config.version}</version>
       </dependency>
       <dependency>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>networkconfig.neutron</artifactId>
+        <groupId>org.opendaylight.neutron</groupId>
+        <artifactId>neutron-spi</artifactId>
         <version>0.5.0-SNAPSHOT</version>
       </dependency>
       <dependency>
         <artifactId>mappingservice.northbound</artifactId>
         <version>${lispflowmapping.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.opendaylight.lispflowmapping</groupId>
+        <artifactId>mappingservice.shell</artifactId>
+        <version>${lispflowmapping.version}</version>
+      </dependency>
       <dependency>
         <groupId>org.opendaylight.lispflowmapping</groupId>
         <artifactId>mappingservice.southbound</artifactId>
         <version>${lispflowmapping.version}</version>
         <scope>test</scope>
       </dependency>
-      <dependency>
-        <groupId>org.opendaylight.yangtools</groupId>
-        <artifactId>features-test</artifactId>
-        <version>${feature.test.version}</version>
-        <scope>test</scope>
-      </dependency>
       <dependency>
         <groupId>org.opendaylight.yangtools</groupId>
         <artifactId>mockito-configuration</artifactId>
             </execution>
           </executions>
         </plugin>
-        <plugin>
-          <groupId>org.apache.felix</groupId>
-          <artifactId>maven-bundle-plugin</artifactId>
-          <version>2.4.0</version>
-          <extensions>true</extensions>
-          <configuration>
-            <manifestLocation>${project.basedir}/META-INF</manifestLocation>
-          </configuration>
-        </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-assembly-plugin</artifactId>
           <version>2.4</version>
         </plugin>
-        <plugin>
-          <!-- Define the configuration for the checkstyle plugin.  Import the rules from the controller project, which
-               is defined as a dependency.  Print rule violations to the console, but don't fail the build if violations
-               are found. -->
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-checkstyle-plugin</artifactId>
-          <version>${checkstyle.version}</version>
-          <configuration>
-            <failOnViolation>false</failOnViolation>
-            <configLocation>controller/checkstyle.xml</configLocation>
-            <consoleOutput>true</consoleOutput>
-            <includeTestSourceDirectory>true</includeTestSourceDirectory>
-            <sourceDirectory>${project.basedir}</sourceDirectory>
-            <includes>**\/*.java,**\/*.xml,**\/*.yang</includes>
-            <excludes>**\/target\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
-          </configuration>
-          <dependencies>
-            <dependency>
-              <groupId>org.opendaylight.controller</groupId>
-              <artifactId>checkstyle</artifactId>
-              <version>${controller.checkstyle.version}</version>
-            </dependency>
-          </dependencies>
-          <executions>
-            <execution>
-              <goals>
-                <goal>check</goal>
-              </goals>
-              <phase>process-sources</phase>
-            </execution>
-          </executions>
-        </plugin>
         <plugin>
           <!-- TODO move up to ODL parent. -->
           <!-- This is required to make sure that we delete the files which are
             </filesets>
           </configuration>
         </plugin>
-        <plugin>
-          <!-- this should really be defined in odl parent as it defines what
-               JRE this is targeted for. -->
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <version>2.3.2</version>
-          <configuration>
-            <source>${java.version.source}</source>
-            <target>${java.version.target}</target>
-          </configuration>
-        </plugin>
-        <plugin>
-          <!-- we are overriding the default version of this plugin here... not
-               sure why. -->
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-dependency-plugin</artifactId>
-          <version>2.8</version>
-        </plugin>
         <plugin>
           <!-- Configures the java doc generation. Generally you should not have
                to override this unless you need to exclude other packages etc. -->
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
-          <version>2.8.1</version>
           <configuration>
             <doclet>org.jboss.apiviz.APIviz</doclet>
             <docletArtifact>
             <javadocDir>target/apidocs</javadocDir>
           </configuration>
         </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-release-plugin</artifactId>
-          <version>${releaseplugin.version}</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.14.1</version>
-        </plugin>
         <plugin>
           <groupId>org.codehaus.enunciate</groupId>
           <artifactId>maven-enunciate-plugin</artifactId>
-          <version>${enunciate.version}</version>
           <configuration>
             <configFile>enunciate.xml</configFile>
           </configuration>
           <!-- TODO: This should be in ODL parent -->
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>build-helper-maven-plugin</artifactId>
-          <version>1.8</version>
           <executions>
             <execution>
               <id>add-source</id>