Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Murali-P | 6f62c8a | 2017-02-15 19:45:27 +0530 | [diff] [blame^] | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 4 | |
| 5 | <parent> |
| 6 | <groupId>org.openo.vnf-sdk.function-test</groupId> |
| 7 | <artifactId>vnfsdk-functest-core-parent</artifactId> |
| 8 | <version>1.1.0-SNAPSHOT</version> |
| 9 | </parent> |
| 10 | |
| 11 | <modelVersion>4.0.0</modelVersion> |
| 12 | <artifactId>vnf-sdk-function-test</artifactId> |
Gary Wu | b4abd08 | 2017-02-01 10:41:21 -0800 | [diff] [blame] | 13 | <name>vnf-sdk-function-test/vnf-sdk-function-test</name> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 14 | <packaging>jar</packaging> |
| 15 | |
| 16 | <build> |
| 17 | <plugins> |
| 18 | <plugin> |
| 19 | <groupId>org.eclipse.m2e</groupId> |
| 20 | <artifactId>lifecycle-mapping</artifactId> |
| 21 | <version>1.0.0</version> |
| 22 | <configuration> |
| 23 | <lifecycleMappingMetadata> |
| 24 | <pluginExecutions> |
| 25 | <pluginExecution> |
| 26 | <pluginExecutionFilter> |
| 27 | <groupId>org.apache.maven.plugins</groupId> |
| 28 | <artifactId>maven-dependency-plugin</artifactId> |
Murali-P | 6f62c8a | 2017-02-15 19:45:27 +0530 | [diff] [blame^] | 29 | <version>2.10</version> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 30 | <versionRange>[2.0,)</versionRange> |
| 31 | <goals> |
| 32 | <goal>copy-dependencies</goal> |
| 33 | </goals> |
| 34 | </pluginExecutionFilter> |
| 35 | <action> |
Murali-P | 6f62c8a | 2017-02-15 19:45:27 +0530 | [diff] [blame^] | 36 | <ignore /> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 37 | </action> |
| 38 | </pluginExecution> |
| 39 | </pluginExecutions> |
| 40 | </lifecycleMappingMetadata> |
| 41 | </configuration> |
| 42 | </plugin> |
| 43 | <plugin> |
| 44 | <groupId>org.apache.maven.plugins</groupId> |
Murali-P | 6f62c8a | 2017-02-15 19:45:27 +0530 | [diff] [blame^] | 45 | <artifactId>maven-compiler-plugin</artifactId> |
| 46 | <version>3.3</version> |
| 47 | <configuration> |
| 48 | <source>1.8</source> |
| 49 | <target>1.8</target> |
| 50 | </configuration> |
| 51 | </plugin> |
| 52 | <plugin> |
| 53 | <groupId>org.apache.maven.plugins</groupId> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 54 | <artifactId>maven-jar-plugin</artifactId> |
| 55 | <version>2.6</version> |
| 56 | <configuration> |
Murali-P | 249a2d4 | 2017-02-15 19:30:47 +0530 | [diff] [blame] | 57 | <source>1.8</source> |
| 58 | <target>1.8</target> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 59 | <archive> |
| 60 | <manifest> |
| 61 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 62 | </manifest> |
| 63 | </archive> |
| 64 | </configuration> |
| 65 | </plugin> |
| 66 | <plugin> |
| 67 | <groupId>org.apache.maven.plugins</groupId> |
| 68 | <artifactId>maven-shade-plugin</artifactId> |
| 69 | <version>2.4.3</version> |
| 70 | <configuration> |
| 71 | <createDependencyReducedPom>true</createDependencyReducedPom> |
| 72 | <filters> |
| 73 | <filter> |
| 74 | <artifact>*:*</artifact> |
| 75 | <excludes> |
| 76 | <exclude>META-INF/*.SF</exclude> |
| 77 | <exclude>META-INF/*.DSA</exclude> |
| 78 | <exclude>META-INF/*.RSA</exclude> |
| 79 | </excludes> |
| 80 | </filter> |
| 81 | </filters> |
| 82 | </configuration> |
| 83 | <executions> |
| 84 | <execution> |
| 85 | <phase>package</phase> |
| 86 | <goals> |
| 87 | <goal>shade</goal> |
| 88 | </goals> |
| 89 | <configuration> |
Murali-P | 249a2d4 | 2017-02-15 19:30:47 +0530 | [diff] [blame] | 90 | <source>1.8</source> |
| 91 | <target>1.8</target> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 92 | <transformers> |
Murali-P | 6f62c8a | 2017-02-15 19:45:27 +0530 | [diff] [blame^] | 93 | <transformer |
| 94 | implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
| 95 | <transformer |
| 96 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 97 | <mainClass>org.openo.vnfsdk.functest.VnfSdkFuncTestApp</mainClass> |
| 98 | </transformer> |
| 99 | </transformers> |
| 100 | </configuration> |
| 101 | </execution> |
| 102 | </executions> |
| 103 | </plugin> |
| 104 | <plugin> |
| 105 | <groupId>org.apache.maven.plugins</groupId> |
| 106 | <artifactId>maven-dependency-plugin</artifactId> |
| 107 | <executions> |
| 108 | <execution> |
| 109 | <id>copy-dependencies</id> |
| 110 | <phase>package</phase> |
| 111 | <goals> |
| 112 | <goal>copy-dependencies</goal> |
| 113 | </goals> |
| 114 | <configuration> |
| 115 | <artifactItems> |
| 116 | <artifactItem> |
| 117 | <groupId>io.dropwizard</groupId> |
| 118 | <artifactId>dropwizard-core</artifactId> |
| 119 | <version>0.8.0</version> |
| 120 | <overWrite>true</overWrite> |
| 121 | </artifactItem> |
| 122 | </artifactItems> |
| 123 | </configuration> |
| 124 | </execution> |
| 125 | </executions> |
| 126 | </plugin> |
| 127 | </plugins> |
| 128 | </build> |
| 129 | |
| 130 | <dependencies> |
| 131 | <dependency> |
| 132 | <groupId>io.dropwizard</groupId> |
| 133 | <artifactId>dropwizard-core</artifactId> |
| 134 | <version>0.8.0</version> |
| 135 | </dependency> |
| 136 | <dependency> |
| 137 | <groupId>io.dropwizard</groupId> |
| 138 | <artifactId>dropwizard-assets</artifactId> |
| 139 | <version>0.8.0</version> |
| 140 | </dependency> |
| 141 | <dependency> |
| 142 | <groupId>io.dropwizard</groupId> |
| 143 | <artifactId>dropwizard-hibernate</artifactId> |
| 144 | <version>0.8.0</version> |
| 145 | </dependency> |
| 146 | <!-- lombok --> |
| 147 | <dependency> |
| 148 | <groupId>org.projectlombok</groupId> |
Murali-P | 6f62c8a | 2017-02-15 19:45:27 +0530 | [diff] [blame^] | 149 | <artifactId>lombok</artifactId> |
| 150 | <version>1.16.4</version> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 151 | </dependency> |
| 152 | <dependency> |
| 153 | <groupId>io.swagger</groupId> |
| 154 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 155 | <version>1.5.3</version> |
| 156 | </dependency> |
| 157 | <!-- jersey --> |
| 158 | <dependency> |
| 159 | <groupId>org.glassfish.jersey.core</groupId> |
| 160 | <artifactId>jersey-server</artifactId> |
| 161 | <version>2.16</version> |
| 162 | </dependency> |
| 163 | <dependency> |
| 164 | <groupId>org.glassfish.jersey.media</groupId> |
| 165 | <artifactId>jersey-media-multipart</artifactId> |
| 166 | <version>2.16</version> |
| 167 | </dependency> |
| 168 | <dependency> |
| 169 | <groupId>org.glassfish.jersey.containers</groupId> |
| 170 | <artifactId>jersey-container-servlet-core</artifactId> |
| 171 | <version>2.16</version> |
| 172 | </dependency> |
| 173 | <!-- consumer --> |
| 174 | <dependency> |
| 175 | <groupId>com.eclipsesource.jaxrs</groupId> |
| 176 | <artifactId>consumer</artifactId> |
| 177 | <exclusions> |
| 178 | <exclusion> |
| 179 | <groupId>com.eclipsesource.jaxrs</groupId> |
| 180 | <artifactId>jersey-all</artifactId> |
| 181 | </exclusion> |
| 182 | </exclusions> |
| 183 | <version>5.0</version> |
| 184 | </dependency> |
| 185 | <!-- gson --> |
| 186 | <dependency> |
| 187 | <groupId>com.google.code.gson</groupId> |
| 188 | <artifactId>gson</artifactId> |
| 189 | <version>2.2.4</version> |
| 190 | </dependency> |
| 191 | <dependency> |
| 192 | <groupId>mysql</groupId> |
| 193 | <artifactId>mysql-connector-java</artifactId> |
| 194 | <version>5.1.18</version> |
| 195 | </dependency> |
| 196 | <!-- UT --> |
| 197 | <dependency> |
| 198 | <groupId>junit</groupId> |
| 199 | <artifactId>junit</artifactId> |
| 200 | <version>4.10</version> |
| 201 | <scope>test</scope> |
| 202 | </dependency> |
| 203 | <dependency> |
| 204 | <groupId>org.powermock</groupId> |
| 205 | <artifactId>powermock-module-junit4</artifactId> |
| 206 | <version>1.4.10</version> |
| 207 | <scope>test</scope> |
| 208 | </dependency> |
| 209 | <dependency> |
| 210 | <groupId>org.powermock</groupId> |
| 211 | <artifactId>powermock-api-mockito</artifactId> |
| 212 | <version>1.4.10</version> |
| 213 | <scope>test</scope> |
| 214 | </dependency> |
| 215 | <dependency> |
| 216 | <groupId>com.h2database</groupId> |
| 217 | <artifactId>h2</artifactId> |
| 218 | <version>1.4.182</version> |
| 219 | <scope>test</scope> |
| 220 | </dependency> |
| 221 | <dependency> |
| 222 | <groupId>org.apache.ant</groupId> |
| 223 | <artifactId>ant</artifactId> |
| 224 | <version>1.8.2</version> |
| 225 | <scope>test</scope> |
| 226 | </dependency> |
| 227 | <!-- UT end --> |
| 228 | </dependencies> |
| 229 | </project> |