add deploy capabilities to build_tools module 07/707/1
authorGal Mainzer <gmainzer@contextream.com>
Thu, 25 Jul 2013 21:26:23 +0000 (00:26 +0300)
committerGal Mainzer <gmainzer@contextream.com>
Thu, 25 Jul 2013 21:26:23 +0000 (00:26 +0300)
Change-Id: Ia9200ad0e4db8917494b13292dcd123bb179c3a1
Signed-off-by: Gal Mainzer <gmainzer@contextream.com>
commons/build_tools/pom.xml
commons/code-parent/pom.xml [new file with mode: 0644]
commons/parent/pom.xml
commons/unittest_tools/pom.xml
mappingservice/pom.xml

index d4044a9fe192f7f4e90d350c01c586dc0a25e874..53877b0f06509cac0f359fcf4f5acd5179b47636 100644 (file)
@@ -3,7 +3,12 @@
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
        xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <modelVersion>4.0.0</modelVersion>
-        <groupId>org.opendaylight.lispflowmapping</groupId>
+       <parent>
+                <groupId>org.opendaylight.lispflowmapping</groupId>
+                <artifactId>lispflowmapping-commons</artifactId>
+                <version>0.1.0-SNAPSHOT</version>
+                <relativePath>../parent</relativePath>
+       </parent>
        <artifactId>common.build.tools</artifactId>
        <version>0.1.0-SNAPSHOT</version>
        <packaging>jar</packaging>
diff --git a/commons/code-parent/pom.xml b/commons/code-parent/pom.xml
new file mode 100644 (file)
index 0000000..958283d
--- /dev/null
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+       xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.opendaylight.lispflowmapping</groupId>
+               <artifactId>lispflowmapping-commons</artifactId>
+               <version>0.1.0-SNAPSHOT</version>
+               <relativePath>../parent</relativePath>
+       </parent>
+       <artifactId>lispflowmapping-code-commons</artifactId>
+       <version>0.1.0-SNAPSHOT</version>
+       <packaging>pom</packaging>
+        <modules>
+                <module>api</module>
+                <module>implementation</module>
+        </modules>
+        <build>
+                <plugins>
+                        <plugin>
+                                <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
+                                <artifactId>maven-java-formatter-plugin</artifactId>
+                                <version>0.3.1</version>
+                                <configuration>
+                                        <compilerSource>1.6</compilerSource>
+                                        <compilerCompliance>1.6</compilerCompliance>
+                                        <compilerTargetPlatform>1.6</compilerTargetPlatform>
+                                        <configFile>eclipse/formatter.xml</configFile>
+                                </configuration>
+                                 <dependencies>
+                                           <dependency>
+                                                       <groupId>org.opendaylight.lispflowmapping</groupId>
+                                                       <artifactId>common.build.tools</artifactId>
+                                                       <version>0.1.0-SNAPSHOT</version>
+                                           </dependency>
+                                 </dependencies>
+                                <executions>
+                                        <execution>
+                                                <goals>
+                                                        <goal>format</goal>
+                                                </goals>
+                                        </execution>
+                                </executions>
+                        </plugin>
+                </plugins>
+       </build>
+       <dependencies>
+               <dependency>
+                       <groupId>org.opendaylight.lispflowmapping</groupId>
+                       <artifactId>common.unittest.tools</artifactId>
+                       <version>0.1.0-SNAPSHOT</version>
+                       <scope>test</scope>
+               </dependency>
+                       <dependency>
+                               <groupId>junit</groupId>
+                               <artifactId>junit</artifactId>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.hamcrest</groupId>
+                               <artifactId>hamcrest-core</artifactId>
+                               <scope>test</scope>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.jmock</groupId>
+                               <artifactId>jmock-junit4</artifactId>
+                               <scope>test</scope>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.jmock</groupId>
+                               <artifactId>jmock-legacy</artifactId>
+                               <scope>test</scope>
+                       </dependency>
+                       <dependency>
+                               <groupId>junit-addons</groupId>
+                               <artifactId>junit-addons</artifactId>
+                               <scope>test</scope>
+                       </dependency>
+       </dependencies>
+</project>
index 53ed98b62d493137eec7b7341d18be1ea1e746c4..6fab146e3b96f54b4a19999ca7ff887dccb59b4e 100644 (file)
 
 
   <build>
-                <plugins>
-                        <plugin>
-                                <groupId>com.googlecode.maven-java-formatter-plugin</groupId>
-                                <artifactId>maven-java-formatter-plugin</artifactId>
-                                <version>0.3.1</version>
-                                <configuration>
-                                        <compilerSource>1.6</compilerSource>
-                                        <compilerCompliance>1.6</compilerCompliance>
-                                        <compilerTargetPlatform>1.6</compilerTargetPlatform>
-                                        <configFile>eclipse/formatter.xml</configFile>
-                                </configuration>
-                                 <dependencies>
-                                           <dependency>
-                                                       <groupId>org.opendaylight.lispflowmapping</groupId>
-                                                       <artifactId>common.build.tools</artifactId>
-                                                       <version>0.1.0-SNAPSHOT</version>
-                                           </dependency>
-                                 </dependencies>
-                                <executions>
-                                        <execution>
-                                                <goals>
-                                                        <goal>format</goal>
-                                                </goals>
-                                        </execution>
-                                </executions>
-                        </plugin>
-                </plugins>
     <pluginManagement>
       <plugins>
         <plugin>
index b8e6780cfbed48cff5f18b65718255f63254ef3a..5d6d55ef87ce943a20b36083e58d08cd7c1df5d0 100644 (file)
@@ -5,9 +5,9 @@
        <modelVersion>4.0.0</modelVersion>
        <parent>
                 <groupId>org.opendaylight.lispflowmapping</groupId>
-                <artifactId>lispflowmapping-commons</artifactId>
+                <artifactId>lispflowmapping-code-commons</artifactId>
                 <version>0.1.0-SNAPSHOT</version>
-                <relativePath>../parent</relativePath>
+                <relativePath>../code-parent</relativePath>
        </parent>
        <artifactId>common.unittest.tools</artifactId>
        <version>0.1.0-SNAPSHOT</version>
index 9071a8c49e46aa968b671dbf96980c0d5768aa4a..28f11bc7a206888f72f7bc77af4772367eb659e4 100644 (file)
@@ -5,9 +5,9 @@
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>org.opendaylight.lispflowmapping</groupId>
-               <artifactId>lispflowmapping-commons</artifactId>
+               <artifactId>lispflowmapping-code-commons</artifactId>
                <version>0.1.0-SNAPSHOT</version>
-               <relativePath>../commons/parent</relativePath>
+               <relativePath>../commons/code-parent</relativePath>
        </parent>
        <artifactId>mappingservice-parent</artifactId>
        <version>0.1.0-SNAPSHOT</version>