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. --> |
Gary Wu | d8f0e75 | 2018-08-24 15:33:40 -0700 | [diff] [blame] | 10 | <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"> |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 11 | <!-- <parent> <groupId>org.onap.csarvalidation</groupId> <artifactId>csarvalidation</artifactId> |
| 12 | <version>1.0.0-SNAPSHOT</version> </parent> --> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 13 | |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 14 | <parent> |
| 15 | <groupId>org.onap.vnfsdk.validation</groupId> |
| 16 | <artifactId>validation</artifactId> |
Kanagaraj Manickam k00365106 | 8f8a262 | 2018-11-20 12:38:29 +0530 | [diff] [blame] | 17 | <version>1.1.5</version> |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 18 | </parent> |
| 19 | <modelVersion>4.0.0</modelVersion> |
| 20 | <groupId>org.onap.vnfsdk.validation</groupId> |
| 21 | <artifactId>validation-csar</artifactId> |
| 22 | <packaging>jar</packaging> |
| 23 | <name>csarvalidation/validation</name> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 24 | |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 25 | <repositories> |
| 26 | <!-- <repository> <id>open-o</id> <name>OPEN-O repository</name> <url>https://nexus.open-o.org/content/repositories/public/</url> |
| 27 | </repository> --> |
| 28 | <repository> |
| 29 | <id>google-collections</id> |
| 30 | <name>Google collections repository</name> |
| 31 | <url>https://mvnrepository.com/artifact/com.google.collections/google-collections</url> |
| 32 | </repository> |
| 33 | <repository> |
| 34 | <id>onap</id> |
| 35 | <name>ONAP repository</name> |
| 36 | <url>https://nexus.onap.org/content/repositories/public/</url> |
| 37 | </repository> |
| 38 | </repositories> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 39 | |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 40 | <dependencies> |
| 41 | <dependency> |
| 42 | <groupId>org.slf4j</groupId> |
| 43 | <artifactId>slf4j-api</artifactId> |
Kanagaraj Manickam k00365106 | 1a5d572 | 2018-09-17 14:27:30 +0530 | [diff] [blame] | 44 | <version>1.7.16</version> |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 45 | </dependency> |
| 46 | <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple --> |
| 47 | <dependency> |
| 48 | <groupId>org.slf4j</groupId> |
| 49 | <artifactId>slf4j-simple</artifactId> |
Kanagaraj Manickam k00365106 | 1a5d572 | 2018-09-17 14:27:30 +0530 | [diff] [blame] | 50 | <version>1.7.16</version> |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 51 | <scope>test</scope> |
| 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>org.yaml</groupId> |
| 55 | <artifactId>snakeyaml</artifactId> |
| 56 | <version>1.18</version> |
| 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>com.eclipsesource.jaxrs</groupId> |
| 60 | <artifactId>consumer</artifactId> |
| 61 | <exclusions> |
| 62 | <exclusion> |
| 63 | <groupId>com.eclipsesource.jaxrs</groupId> |
| 64 | <artifactId>jersey-all</artifactId> |
| 65 | </exclusion> |
| 66 | </exclusions> |
| 67 | <version>5.0</version> |
| 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>com.fasterxml.jackson.core</groupId> |
| 71 | <artifactId>jackson-core</artifactId> |
| 72 | <version>2.9.4</version> |
| 73 | </dependency> |
| 74 | <dependency> |
| 75 | <groupId>com.fasterxml.jackson.core</groupId> |
| 76 | <artifactId>jackson-annotations</artifactId> |
| 77 | <version>2.9.4</version> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>com.google.code.gson</groupId> |
| 81 | <artifactId>gson</artifactId> |
| 82 | <version>2.8.2</version> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>com.google.guava</groupId> |
| 86 | <artifactId>guava</artifactId> |
Gary Wu | d8f0e75 | 2018-08-24 15:33:40 -0700 | [diff] [blame] | 87 | |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 88 | </dependency> |
Gary Wu | d8f0e75 | 2018-08-24 15:33:40 -0700 | [diff] [blame] | 89 | |
Kanagaraj Manickam k00365106 | 0f31532 | 2018-09-07 14:13:15 +0530 | [diff] [blame] | 90 | <dependency> |
| 91 | <groupId>junit</groupId> |
| 92 | <artifactId>junit</artifactId> |
| 93 | <version>4.12</version> |
| 94 | <scope>test</scope> |
| 95 | </dependency> |
| 96 | <dependency> |
| 97 | <groupId>org.apache.commons</groupId> |
| 98 | <artifactId>commons-lang3</artifactId> |
| 99 | <version>3.2.1</version> |
| 100 | </dependency> |
| 101 | <dependency> |
| 102 | <groupId>org.apache.commons</groupId> |
| 103 | <artifactId>commons-io</artifactId> |
| 104 | <version>1.3.2</version> |
| 105 | </dependency> |
| 106 | <dependency> |
| 107 | <groupId>commons-io</groupId> |
| 108 | <artifactId>commons-io</artifactId> |
| 109 | <version>2.5</version> |
| 110 | </dependency> |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 111 | |
| 112 | <dependency> |
| 113 | <groupId>org.onap.cli</groupId> |
| 114 | <artifactId>cli-framework</artifactId> |
Kanagaraj Manickam k00365106 | abffb74 | 2019-03-06 17:16:54 +0530 | [diff] [blame] | 115 | <version>2.0.6</version> |
Kanagaraj Manickam k00365106 | 7f29a3a | 2019-02-27 14:47:47 +0530 | [diff] [blame] | 116 | <!-- <exclusions> |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 117 | <exclusion> |
| 118 | <groupId>org.slf4j</groupId> |
| 119 | <artifactId>slf4j-log4j12</artifactId> |
| 120 | </exclusion> |
Kanagaraj Manickam k00365106 | 7f29a3a | 2019-02-27 14:47:47 +0530 | [diff] [blame] | 121 | </exclusions> --> |
| 122 | </dependency> |
| 123 | |
| 124 | <dependency> |
| 125 | <groupId>org.onap.cli</groupId> |
| 126 | <artifactId>cli-main</artifactId> |
Kanagaraj Manickam k00365106 | abffb74 | 2019-03-06 17:16:54 +0530 | [diff] [blame] | 127 | <version>2.0.6</version> |
Kanagaraj Manickam k00365106 | 7f29a3a | 2019-02-27 14:47:47 +0530 | [diff] [blame] | 128 | <scope>test</scope> |
| 129 | <!-- <exclusions> |
| 130 | <exclusion> |
| 131 | <groupId>org.slf4j</groupId> |
| 132 | <artifactId>slf4j-log4j12</artifactId> |
| 133 | </exclusion> |
| 134 | </exclusions> --> |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 135 | </dependency> |
| 136 | </dependencies> |
| 137 | |
| 138 | <profiles> |
| 139 | <profile> |
| 140 | <id>all-tests</id> |
| 141 | <properties> |
| 142 | <build.profile.id>all-tests</build.profile.id> |
| 143 | <skip.unit.tests>true</skip.unit.tests> |
| 144 | </properties> |
| 145 | </profile> |
| 146 | </profiles> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 147 | |
| 148 | |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 149 | <build> |
| 150 | <finalName>${project.artifactId}-${project.version}</finalName> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 151 | |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 152 | <plugins> |
| 153 | <plugin> |
| 154 | <groupId>org.apache.maven.plugins</groupId> |
| 155 | <artifactId>maven-jar-plugin</artifactId> |
| 156 | <version>3.0.2</version> |
| 157 | <configuration> |
| 158 | <archive> |
| 159 | <manifest> |
| 160 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 161 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| 162 | </manifest> |
| 163 | </archive> |
| 164 | </configuration> |
| 165 | </plugin> |
| 166 | <plugin> |
| 167 | <groupId>org.apache.maven.plugins</groupId> |
| 168 | <artifactId>maven-compiler-plugin</artifactId> |
| 169 | <version>3.1</version> |
| 170 | <configuration> |
| 171 | <source>1.8</source> |
| 172 | <target>1.8</target> |
| 173 | </configuration> |
| 174 | </plugin> |
| 175 | <plugin> |
| 176 | <groupId>org.apache.maven.plugins</groupId> |
| 177 | <artifactId>maven-jar-plugin</artifactId> |
| 178 | </plugin> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 179 | |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 180 | <plugin> |
| 181 | <groupId>org.apache.maven.plugins</groupId> |
| 182 | <artifactId>maven-dependency-plugin</artifactId> |
| 183 | <executions> |
| 184 | <execution> |
| 185 | <id>copy-artifact</id> |
| 186 | <phase>package</phase> |
| 187 | <goals> |
| 188 | <goal>copy</goal> |
| 189 | </goals> |
| 190 | <configuration> |
| 191 | <artifactItems> |
| 192 | <artifactItem> |
| 193 | <groupId>${project.groupId}</groupId> |
| 194 | <artifactId>${project.artifactId}</artifactId> |
| 195 | <version>${project.version}</version> |
| 196 | <type>${project.packaging}</type> |
| 197 | </artifactItem> |
| 198 | </artifactItems> |
| 199 | <outputDirectory>./target/lib</outputDirectory> |
| 200 | </configuration> |
| 201 | </execution> |
| 202 | </executions> |
| 203 | </plugin> |
| 204 | <plugin> |
| 205 | <groupId>org.apache.maven.plugins</groupId> |
| 206 | <artifactId>maven-dependency-plugin</artifactId> |
| 207 | <version>3.0.0</version> |
| 208 | <executions> |
| 209 | <execution> |
| 210 | <id>copy-dependencies</id> |
| 211 | <phase>package</phase> |
| 212 | <goals> |
| 213 | <goal>copy-dependencies</goal> |
| 214 | </goals> |
| 215 | <configuration> |
| 216 | <outputDirectory>./target/lib</outputDirectory> |
| 217 | <overWriteReleases>false</overWriteReleases> |
| 218 | <overWriteSnapshots>false</overWriteSnapshots> |
| 219 | <overWriteIfNewer>true</overWriteIfNewer> |
| 220 | <excludeArtifactIds>junit,jmockit</excludeArtifactIds> |
| 221 | </configuration> |
| 222 | </execution> |
| 223 | </executions> |
| 224 | </plugin> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 225 | |
Kanagaraj Manickam k00365106 | bc62e9e | 2018-09-04 17:24:14 +0530 | [diff] [blame] | 226 | <plugin> |
| 227 | <artifactId>maven-war-plugin</artifactId> |
| 228 | <configuration> |
| 229 | <failOnMissingWebXml>false</failOnMissingWebXml> |
| 230 | </configuration> |
| 231 | </plugin> |
| 232 | </plugins> |
| 233 | </build> |
AvinashS | 3c4d26e | 2017-09-07 13:46:54 +0000 | [diff] [blame] | 234 | </project> |