add the combination of IOC and dropwizard code
[vfc/nfvo/wfengine.git] / dropwizard-ioc-container / pom.xml
index e5b41e3..c54c9db 100644 (file)
@@ -1,83 +1,81 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
+<!-- Copyright 2017 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>
 
-    Copyright 2016 ZTE Corporation.
+               <dependency>
+                       <groupId>io.dropwizard</groupId>
+                       <artifactId>dropwizard-core</artifactId>
+                       <version>0.8.0</version>
+                       <scope>provided</scope>
+               </dependency>
 
-    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
+               <dependency>
+                       <groupId>org.reflections</groupId>
+                       <artifactId>reflections</artifactId>
+                       <version>0.9.10</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>com.google.guava</groupId>
+                                       <artifactId>guava</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <scope>test</scope>
+                       <version>4.8.2</version>
+               </dependency>
 
-        http://www.apache.org/licenses/LICENSE-2.0
+       </dependencies>
 
-    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.
+       <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>
 
--->
-<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>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <version>3.5</version>
+                               <configuration>
+                                       <source>1.8</source>
+                                       <target>1.8</target>
+                                       <testSource>1.8</testSource>
+                                       <testTarget>1.8</testTarget>
+                               </configuration>
+                       </plugin>
 
-    </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>
+               </plugins>
+       </build>
 </project>