Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Murali-P | e8f5a94 | 2017-02-16 17:49:33 +0530 | [diff] [blame] | 2 | <!-- |
| 3 | Copyright 2017 Huawei Technologies Co., Ltd. |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
Murali-P | 6f62c8a | 2017-02-15 19:45:27 +0530 | [diff] [blame] | 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | 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] | 19 | |
| 20 | <parent> |
| 21 | <groupId>org.openo.vnf-sdk.function-test</groupId> |
| 22 | <artifactId>vnfsdk-functest-core-parent</artifactId> |
| 23 | <version>1.1.0-SNAPSHOT</version> |
| 24 | </parent> |
| 25 | |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <artifactId>vnf-sdk-function-test</artifactId> |
Gary Wu | b4abd08 | 2017-02-01 10:41:21 -0800 | [diff] [blame] | 28 | <name>vnf-sdk-function-test/vnf-sdk-function-test</name> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 29 | <packaging>jar</packaging> |
| 30 | |
| 31 | <build> |
| 32 | <plugins> |
| 33 | <plugin> |
| 34 | <groupId>org.eclipse.m2e</groupId> |
| 35 | <artifactId>lifecycle-mapping</artifactId> |
| 36 | <version>1.0.0</version> |
| 37 | <configuration> |
| 38 | <lifecycleMappingMetadata> |
| 39 | <pluginExecutions> |
| 40 | <pluginExecution> |
| 41 | <pluginExecutionFilter> |
| 42 | <groupId>org.apache.maven.plugins</groupId> |
| 43 | <artifactId>maven-dependency-plugin</artifactId> |
Murali-P | 6f62c8a | 2017-02-15 19:45:27 +0530 | [diff] [blame] | 44 | <version>2.10</version> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 45 | <versionRange>[2.0,)</versionRange> |
| 46 | <goals> |
| 47 | <goal>copy-dependencies</goal> |
| 48 | </goals> |
| 49 | </pluginExecutionFilter> |
| 50 | <action> |
Murali-P | 6f62c8a | 2017-02-15 19:45:27 +0530 | [diff] [blame] | 51 | <ignore /> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 52 | </action> |
| 53 | </pluginExecution> |
| 54 | </pluginExecutions> |
| 55 | </lifecycleMappingMetadata> |
| 56 | </configuration> |
| 57 | </plugin> |
| 58 | <plugin> |
| 59 | <groupId>org.apache.maven.plugins</groupId> |
Murali-P | 6f62c8a | 2017-02-15 19:45:27 +0530 | [diff] [blame] | 60 | <artifactId>maven-compiler-plugin</artifactId> |
| 61 | <version>3.3</version> |
| 62 | <configuration> |
| 63 | <source>1.8</source> |
| 64 | <target>1.8</target> |
| 65 | </configuration> |
| 66 | </plugin> |
| 67 | <plugin> |
| 68 | <groupId>org.apache.maven.plugins</groupId> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 69 | <artifactId>maven-jar-plugin</artifactId> |
| 70 | <version>2.6</version> |
| 71 | <configuration> |
Murali-P | 249a2d4 | 2017-02-15 19:30:47 +0530 | [diff] [blame] | 72 | <source>1.8</source> |
| 73 | <target>1.8</target> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 74 | <archive> |
| 75 | <manifest> |
| 76 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 77 | </manifest> |
| 78 | </archive> |
| 79 | </configuration> |
| 80 | </plugin> |
| 81 | <plugin> |
| 82 | <groupId>org.apache.maven.plugins</groupId> |
| 83 | <artifactId>maven-shade-plugin</artifactId> |
| 84 | <version>2.4.3</version> |
| 85 | <configuration> |
| 86 | <createDependencyReducedPom>true</createDependencyReducedPom> |
| 87 | <filters> |
| 88 | <filter> |
| 89 | <artifact>*:*</artifact> |
| 90 | <excludes> |
| 91 | <exclude>META-INF/*.SF</exclude> |
| 92 | <exclude>META-INF/*.DSA</exclude> |
| 93 | <exclude>META-INF/*.RSA</exclude> |
| 94 | </excludes> |
| 95 | </filter> |
| 96 | </filters> |
| 97 | </configuration> |
| 98 | <executions> |
| 99 | <execution> |
| 100 | <phase>package</phase> |
| 101 | <goals> |
| 102 | <goal>shade</goal> |
| 103 | </goals> |
| 104 | <configuration> |
Murali-P | 249a2d4 | 2017-02-15 19:30:47 +0530 | [diff] [blame] | 105 | <source>1.8</source> |
| 106 | <target>1.8</target> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 107 | <transformers> |
Murali-P | 6f62c8a | 2017-02-15 19:45:27 +0530 | [diff] [blame] | 108 | <transformer |
| 109 | implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
| 110 | <transformer |
| 111 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 112 | <mainClass>org.openo.vnfsdk.functest.VnfSdkFuncTestApp</mainClass> |
| 113 | </transformer> |
| 114 | </transformers> |
| 115 | </configuration> |
| 116 | </execution> |
| 117 | </executions> |
| 118 | </plugin> |
| 119 | <plugin> |
| 120 | <groupId>org.apache.maven.plugins</groupId> |
| 121 | <artifactId>maven-dependency-plugin</artifactId> |
| 122 | <executions> |
| 123 | <execution> |
| 124 | <id>copy-dependencies</id> |
| 125 | <phase>package</phase> |
| 126 | <goals> |
| 127 | <goal>copy-dependencies</goal> |
| 128 | </goals> |
| 129 | <configuration> |
| 130 | <artifactItems> |
| 131 | <artifactItem> |
| 132 | <groupId>io.dropwizard</groupId> |
| 133 | <artifactId>dropwizard-core</artifactId> |
| 134 | <version>0.8.0</version> |
| 135 | <overWrite>true</overWrite> |
| 136 | </artifactItem> |
| 137 | </artifactItems> |
| 138 | </configuration> |
| 139 | </execution> |
| 140 | </executions> |
| 141 | </plugin> |
| 142 | </plugins> |
| 143 | </build> |
| 144 | |
| 145 | <dependencies> |
| 146 | <dependency> |
| 147 | <groupId>io.dropwizard</groupId> |
| 148 | <artifactId>dropwizard-core</artifactId> |
| 149 | <version>0.8.0</version> |
| 150 | </dependency> |
| 151 | <dependency> |
| 152 | <groupId>io.dropwizard</groupId> |
| 153 | <artifactId>dropwizard-assets</artifactId> |
| 154 | <version>0.8.0</version> |
| 155 | </dependency> |
| 156 | <dependency> |
| 157 | <groupId>io.dropwizard</groupId> |
| 158 | <artifactId>dropwizard-hibernate</artifactId> |
| 159 | <version>0.8.0</version> |
| 160 | </dependency> |
| 161 | <!-- lombok --> |
| 162 | <dependency> |
| 163 | <groupId>org.projectlombok</groupId> |
Murali-P | 6f62c8a | 2017-02-15 19:45:27 +0530 | [diff] [blame] | 164 | <artifactId>lombok</artifactId> |
| 165 | <version>1.16.4</version> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 166 | </dependency> |
| 167 | <dependency> |
| 168 | <groupId>io.swagger</groupId> |
| 169 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 170 | <version>1.5.3</version> |
| 171 | </dependency> |
| 172 | <!-- jersey --> |
| 173 | <dependency> |
| 174 | <groupId>org.glassfish.jersey.core</groupId> |
| 175 | <artifactId>jersey-server</artifactId> |
| 176 | <version>2.16</version> |
| 177 | </dependency> |
| 178 | <dependency> |
| 179 | <groupId>org.glassfish.jersey.media</groupId> |
| 180 | <artifactId>jersey-media-multipart</artifactId> |
| 181 | <version>2.16</version> |
| 182 | </dependency> |
| 183 | <dependency> |
| 184 | <groupId>org.glassfish.jersey.containers</groupId> |
| 185 | <artifactId>jersey-container-servlet-core</artifactId> |
| 186 | <version>2.16</version> |
| 187 | </dependency> |
| 188 | <!-- consumer --> |
| 189 | <dependency> |
| 190 | <groupId>com.eclipsesource.jaxrs</groupId> |
| 191 | <artifactId>consumer</artifactId> |
| 192 | <exclusions> |
| 193 | <exclusion> |
| 194 | <groupId>com.eclipsesource.jaxrs</groupId> |
| 195 | <artifactId>jersey-all</artifactId> |
| 196 | </exclusion> |
| 197 | </exclusions> |
| 198 | <version>5.0</version> |
| 199 | </dependency> |
| 200 | <!-- gson --> |
| 201 | <dependency> |
| 202 | <groupId>com.google.code.gson</groupId> |
| 203 | <artifactId>gson</artifactId> |
| 204 | <version>2.2.4</version> |
| 205 | </dependency> |
| 206 | <dependency> |
| 207 | <groupId>mysql</groupId> |
| 208 | <artifactId>mysql-connector-java</artifactId> |
| 209 | <version>5.1.18</version> |
| 210 | </dependency> |
| 211 | <!-- UT --> |
| 212 | <dependency> |
| 213 | <groupId>junit</groupId> |
| 214 | <artifactId>junit</artifactId> |
| 215 | <version>4.10</version> |
| 216 | <scope>test</scope> |
| 217 | </dependency> |
| 218 | <dependency> |
| 219 | <groupId>org.powermock</groupId> |
| 220 | <artifactId>powermock-module-junit4</artifactId> |
| 221 | <version>1.4.10</version> |
| 222 | <scope>test</scope> |
| 223 | </dependency> |
| 224 | <dependency> |
| 225 | <groupId>org.powermock</groupId> |
| 226 | <artifactId>powermock-api-mockito</artifactId> |
| 227 | <version>1.4.10</version> |
| 228 | <scope>test</scope> |
| 229 | </dependency> |
| 230 | <dependency> |
| 231 | <groupId>com.h2database</groupId> |
| 232 | <artifactId>h2</artifactId> |
| 233 | <version>1.4.182</version> |
| 234 | <scope>test</scope> |
| 235 | </dependency> |
| 236 | <dependency> |
| 237 | <groupId>org.apache.ant</groupId> |
| 238 | <artifactId>ant</artifactId> |
| 239 | <version>1.8.2</version> |
| 240 | <scope>test</scope> |
| 241 | </dependency> |
| 242 | <!-- UT end --> |
Murali-P | 7cae082 | 2017-04-04 16:19:45 +0530 | [diff] [blame^] | 243 | <dependency> |
| 244 | <groupId>org.mockito</groupId> |
| 245 | <artifactId>mockito-all</artifactId> |
| 246 | <version>1.9.5</version> |
| 247 | </dependency> |
| 248 | <!-- https://mvnrepository.com/artifact/org.jmockit/jmockit --> |
| 249 | <dependency> |
| 250 | <groupId>org.jmockit</groupId> |
| 251 | <artifactId>jmockit</artifactId> |
| 252 | <version>1.19</version> |
| 253 | </dependency> |
Murali-P | 3075304 | 2017-01-30 20:25:40 +0530 | [diff] [blame] | 254 | </dependencies> |
| 255 | </project> |