init dropwizard ioc container
authorhu.rui <hu.rui2@zte.com.cn>
Mon, 23 Jan 2017 05:36:18 +0000 (13:36 +0800)
committerhu.rui <hu.rui2@zte.com.cn>
Mon, 23 Jan 2017 05:48:59 +0000 (13:48 +0800)
Change-Id: I549f2379b34a33e81ea571fe0f4ff39a09a79a06
Issue-id: OCS-193
Signed-off-by: hu.rui <hu.rui2@zte.com.cn>
dropwizard-ioc-container/pom.xml [new file with mode: 0644]
pom.xml

diff --git a/dropwizard-ioc-container/pom.xml b/dropwizard-ioc-container/pom.xml
new file mode 100644 (file)
index 0000000..e5b41e3
--- /dev/null
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2016 ZTE Corporation.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+       <groupId>org.openo.common-services.common-utilities</groupId>
+       <artifactId>common-setting</artifactId>
+       <version>1.1.0-SNAPSHOT</version>
+    </parent>
+    <artifactId>dropwizard-ioc-container</artifactId>
+    <name>common-services-common-utilities/dropwizard-ioc-container</name>
+    <properties>
+    </properties>
+    <dependencies>
+        
+        <dependency>
+                   <groupId>io.dropwizard</groupId>
+                   <artifactId>dropwizard-core</artifactId>
+                   <version>0.8.0</version>
+                   <scope>provided</scope>
+         </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+            <version>4.8.2</version>
+        </dependency>
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                       <forkMode>always</forkMode>
+                    <argLine>-XX:-UseSplitVerifier</argLine>
+                    <skip>${maven.test.skip}</skip>
+                    <testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore>
+                    <excludes>
+                        <exclude>${excludesFile}</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>cobertura-maven-plugin</artifactId>
+                <version>2.6</version>
+                <configuration>
+                    <formats>
+                        <format>xml</format>
+                        <format>html</format>
+                    </formats>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>cobertura</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git a/pom.xml b/pom.xml
index acde305..84cae16 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -62,6 +62,7 @@
         <module>winery</module>
         -->
         <module>wso2bpel-ext</module>
+       <module>dropwizard-ioc-container</module>
     </modules>
 
     <dependencyManagement>