AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 2 | <!-- Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved. |
| 3 | Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 4 | use this file except in compliance with the License. You may obtain a copy |
| 5 | of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| 6 | by applicable law or agreed to in writing, software distributed under the |
| 7 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| 8 | OF ANY KIND, either express or implied. See the License for the specific |
| 9 | language governing permissions and limitations under the License. --> |
Bogumil Zebek | fc645e5 | 2019-03-07 13:22:15 +0100 | [diff] [blame^] | 10 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 11 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 12 | <!-- <parent> <groupId>org.onap.csarvalidation</groupId> <artifactId>csarvalidation</artifactId> |
| 13 | <version>1.0.0-SNAPSHOT</version> </parent> --> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 14 | |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 15 | <parent> |
| 16 | <groupId>org.onap.vnfsdk.validation</groupId> |
| 17 | <artifactId>validation</artifactId> |
Kanagaraj Manickam k00365106 | 8f8a262 | 2018-11-20 12:38:29 +0530 | [diff] [blame] | 18 | <version>1.1.5</version> |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 19 | </parent> |
| 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | <groupId>org.onap.vnfsdk.validation</groupId> |
| 22 | <artifactId>validation-csar</artifactId> |
| 23 | <packaging>jar</packaging> |
| 24 | <name>csarvalidation/validation</name> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 25 | |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 26 | <repositories> |
| 27 | <!-- <repository> <id>open-o</id> <name>OPEN-O repository</name> <url>https://nexus.open-o.org/content/repositories/public/</url> |
| 28 | </repository> --> |
| 29 | <repository> |
| 30 | <id>google-collections</id> |
| 31 | <name>Google collections repository</name> |
| 32 | <url>https://mvnrepository.com/artifact/com.google.collections/google-collections</url> |
| 33 | </repository> |
| 34 | <repository> |
| 35 | <id>onap</id> |
| 36 | <name>ONAP repository</name> |
| 37 | <url>https://nexus.onap.org/content/repositories/public/</url> |
| 38 | </repository> |
| 39 | </repositories> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 40 | |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 41 | <dependencies> |
| 42 | <dependency> |
| 43 | <groupId>org.slf4j</groupId> |
| 44 | <artifactId>slf4j-api</artifactId> |
Kanagaraj Manickam k00365106 | 1a5d572 | 2018-09-17 14:27:30 +0530 | [diff] [blame] | 45 | <version>1.7.16</version> |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 46 | </dependency> |
| 47 | <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple --> |
| 48 | <dependency> |
| 49 | <groupId>org.slf4j</groupId> |
| 50 | <artifactId>slf4j-simple</artifactId> |
Kanagaraj Manickam k00365106 | 1a5d572 | 2018-09-17 14:27:30 +0530 | [diff] [blame] | 51 | <version>1.7.16</version> |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 52 | <scope>test</scope> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.yaml</groupId> |
| 56 | <artifactId>snakeyaml</artifactId> |
| 57 | <version>1.18</version> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>com.eclipsesource.jaxrs</groupId> |
| 61 | <artifactId>consumer</artifactId> |
| 62 | <exclusions> |
| 63 | <exclusion> |
| 64 | <groupId>com.eclipsesource.jaxrs</groupId> |
| 65 | <artifactId>jersey-all</artifactId> |
| 66 | </exclusion> |
| 67 | </exclusions> |
| 68 | <version>5.0</version> |
| 69 | </dependency> |
| 70 | <dependency> |
| 71 | <groupId>com.fasterxml.jackson.core</groupId> |
| 72 | <artifactId>jackson-core</artifactId> |
| 73 | <version>2.9.4</version> |
| 74 | </dependency> |
| 75 | <dependency> |
| 76 | <groupId>com.fasterxml.jackson.core</groupId> |
| 77 | <artifactId>jackson-annotations</artifactId> |
| 78 | <version>2.9.4</version> |
| 79 | </dependency> |
| 80 | <dependency> |
| 81 | <groupId>com.google.code.gson</groupId> |
| 82 | <artifactId>gson</artifactId> |
| 83 | <version>2.8.2</version> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>com.google.guava</groupId> |
| 87 | <artifactId>guava</artifactId> |
Gary Wu | d8f0e75 | 2018-08-24 15:33:40 -0700 | [diff] [blame] | 88 | |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 89 | </dependency> |
Gary Wu | d8f0e75 | 2018-08-24 15:33:40 -0700 | [diff] [blame] | 90 | |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 91 | <dependency> |
| 92 | <groupId>junit</groupId> |
| 93 | <artifactId>junit</artifactId> |
| 94 | <version>4.12</version> |
| 95 | <scope>test</scope> |
| 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>org.apache.commons</groupId> |
| 99 | <artifactId>commons-lang3</artifactId> |
| 100 | <version>3.2.1</version> |
| 101 | </dependency> |
| 102 | <dependency> |
| 103 | <groupId>org.apache.commons</groupId> |
| 104 | <artifactId>commons-io</artifactId> |
| 105 | <version>1.3.2</version> |
| 106 | </dependency> |
| 107 | <dependency> |
| 108 | <groupId>commons-io</groupId> |
| 109 | <artifactId>commons-io</artifactId> |
| 110 | <version>2.5</version> |
| 111 | </dependency> |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 112 | |
| 113 | <dependency> |
| 114 | <groupId>org.onap.cli</groupId> |
| 115 | <artifactId>cli-framework</artifactId> |
Kanagaraj Manickam k00365106 | abffb74 | 2019-03-06 17:16:54 +0530 | [diff] [blame] | 116 | <version>2.0.6</version> |
Kanagaraj Manickam k00365106 | 7f29a3a | 2019-02-27 14:47:47 +0530 | [diff] [blame] | 117 | <!-- <exclusions> |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 118 | <exclusion> |
| 119 | <groupId>org.slf4j</groupId> |
| 120 | <artifactId>slf4j-log4j12</artifactId> |
| 121 | </exclusion> |
Kanagaraj Manickam k00365106 | 7f29a3a | 2019-02-27 14:47:47 +0530 | [diff] [blame] | 122 | </exclusions> --> |
| 123 | </dependency> |
| 124 | |
| 125 | <dependency> |
| 126 | <groupId>org.onap.cli</groupId> |
| 127 | <artifactId>cli-main</artifactId> |
Kanagaraj Manickam k00365106 | abffb74 | 2019-03-06 17:16:54 +0530 | [diff] [blame] | 128 | <version>2.0.6</version> |
Kanagaraj Manickam k00365106 | 7f29a3a | 2019-02-27 14:47:47 +0530 | [diff] [blame] | 129 | <scope>test</scope> |
Bogumil Zebek | fc645e5 | 2019-03-07 13:22:15 +0100 | [diff] [blame^] | 130 | <!-- <exclusions> |
| 131 | <exclusion> |
| 132 | <groupId>org.slf4j</groupId> |
| 133 | <artifactId>slf4j-log4j12</artifactId> |
| 134 | </exclusion> |
| 135 | </exclusions> --> |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 136 | </dependency> |
Bogumil Zebek | fc645e5 | 2019-03-07 13:22:15 +0100 | [diff] [blame^] | 137 | |
| 138 | <dependency> |
| 139 | <groupId>org.assertj</groupId> |
| 140 | <artifactId>assertj-core</artifactId> |
| 141 | <version>3.11.1</version> |
| 142 | <scope>test</scope> |
| 143 | </dependency> |
| 144 | |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 145 | </dependencies> |
| 146 | |
| 147 | <profiles> |
| 148 | <profile> |
| 149 | <id>all-tests</id> |
| 150 | <properties> |
| 151 | <build.profile.id>all-tests</build.profile.id> |
| 152 | <skip.unit.tests>true</skip.unit.tests> |
| 153 | </properties> |
| 154 | </profile> |
| 155 | </profiles> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 156 | |
| 157 | |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 158 | <build> |
| 159 | <finalName>${project.artifactId}-${project.version}</finalName> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 160 | |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 161 | <plugins> |
| 162 | <plugin> |
| 163 | <groupId>org.apache.maven.plugins</groupId> |
| 164 | <artifactId>maven-jar-plugin</artifactId> |
| 165 | <version>3.0.2</version> |
| 166 | <configuration> |
| 167 | <archive> |
| 168 | <manifest> |
| 169 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 170 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| 171 | </manifest> |
| 172 | </archive> |
| 173 | </configuration> |
| 174 | </plugin> |
| 175 | <plugin> |
| 176 | <groupId>org.apache.maven.plugins</groupId> |
| 177 | <artifactId>maven-compiler-plugin</artifactId> |
| 178 | <version>3.1</version> |
| 179 | <configuration> |
| 180 | <source>1.8</source> |
| 181 | <target>1.8</target> |
| 182 | </configuration> |
| 183 | </plugin> |
| 184 | <plugin> |
| 185 | <groupId>org.apache.maven.plugins</groupId> |
| 186 | <artifactId>maven-jar-plugin</artifactId> |
| 187 | </plugin> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 188 | |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 189 | <plugin> |
Bogumil Zebek | fc645e5 | 2019-03-07 13:22:15 +0100 | [diff] [blame^] | 190 | <groupId>org.apache.maven.plugins</groupId> |
| 191 | <artifactId>maven-dependency-plugin</artifactId> |
| 192 | <executions> |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 193 | <execution> |
Bogumil Zebek | fc645e5 | 2019-03-07 13:22:15 +0100 | [diff] [blame^] | 194 | <id>copy-artifact</id> |
| 195 | <phase>package</phase> |
| 196 | <goals> |
| 197 | <goal>copy</goal> |
| 198 | </goals> |
| 199 | <configuration> |
| 200 | <artifactItems> |
| 201 | <artifactItem> |
| 202 | <groupId>${project.groupId}</groupId> |
| 203 | <artifactId>${project.artifactId}</artifactId> |
| 204 | <version>${project.version}</version> |
| 205 | <type>${project.packaging}</type> |
| 206 | </artifactItem> |
| 207 | </artifactItems> |
| 208 | <outputDirectory>./target/lib</outputDirectory> |
| 209 | </configuration> |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 210 | </execution> |
Bogumil Zebek | fc645e5 | 2019-03-07 13:22:15 +0100 | [diff] [blame^] | 211 | </executions> |
| 212 | </plugin> |
| 213 | <plugin> |
| 214 | <groupId>org.apache.maven.plugins</groupId> |
| 215 | <artifactId>maven-dependency-plugin</artifactId> |
| 216 | <version>3.0.0</version> |
| 217 | <executions> |
| 218 | <execution> |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 219 | <id>copy-dependencies</id> |
| 220 | <phase>package</phase> |
| 221 | <goals> |
Bogumil Zebek | fc645e5 | 2019-03-07 13:22:15 +0100 | [diff] [blame^] | 222 | <goal>copy-dependencies</goal> |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 223 | </goals> |
| 224 | <configuration> |
Bogumil Zebek | fc645e5 | 2019-03-07 13:22:15 +0100 | [diff] [blame^] | 225 | <outputDirectory>./target/lib</outputDirectory> |
| 226 | <overWriteReleases>false</overWriteReleases> |
| 227 | <overWriteSnapshots>false</overWriteSnapshots> |
| 228 | <overWriteIfNewer>true</overWriteIfNewer> |
| 229 | <excludeArtifactIds>junit,jmockit</excludeArtifactIds> |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 230 | </configuration> |
Bogumil Zebek | fc645e5 | 2019-03-07 13:22:15 +0100 | [diff] [blame^] | 231 | </execution> |
| 232 | </executions> |
| 233 | </plugin> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 234 | |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 235 | <plugin> |
| 236 | <artifactId>maven-war-plugin</artifactId> |
| 237 | <configuration> |
| 238 | <failOnMissingWebXml>false</failOnMissingWebXml> |
| 239 | </configuration> |
| 240 | </plugin> |
| 241 | </plugins> |
| 242 | </build> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 243 | </project> |