blob: 16a48f904d3f94791a8fb2e36f48e9d60fd05ddc [file] [log] [blame]
AvinashS3c4d26e2017-09-07 13:46:54 +00001<?xml version="1.0" encoding="UTF-8"?>
Kanagaraj Manickam k003651060f315322018-09-07 14:13:15 +05302<!-- 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 Zebekfc645e52019-03-07 13:22:15 +010010<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 k003651060f315322018-09-07 14:13:15 +053012 <!-- <parent> <groupId>org.onap.csarvalidation</groupId> <artifactId>csarvalidation</artifactId>
13 <version>1.0.0-SNAPSHOT</version> </parent> -->
AvinashS3c4d26e2017-09-07 13:46:54 +000014
Kanagaraj Manickam k003651060f315322018-09-07 14:13:15 +053015 <parent>
16 <groupId>org.onap.vnfsdk.validation</groupId>
17 <artifactId>validation</artifactId>
Victor Gao895cc192019-06-29 09:24:54 +080018 <version>1.2.2-SNAPSHOT</version>
Kanagaraj Manickam k003651060f315322018-09-07 14:13:15 +053019 </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>
AvinashS3c4d26e2017-09-07 13:46:54 +000025
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +053026 <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>
AvinashS3c4d26e2017-09-07 13:46:54 +000040
Kanagaraj Manickam k003651060f315322018-09-07 14:13:15 +053041 <dependencies>
42 <dependency>
43 <groupId>org.slf4j</groupId>
44 <artifactId>slf4j-api</artifactId>
Kanagaraj Manickam k003651061a5d5722018-09-17 14:27:30 +053045 <version>1.7.16</version>
Kanagaraj Manickam k003651060f315322018-09-07 14:13:15 +053046 </dependency>
47 <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple -->
48 <dependency>
49 <groupId>org.slf4j</groupId>
50 <artifactId>slf4j-simple</artifactId>
Kanagaraj Manickam k003651061a5d5722018-09-17 14:27:30 +053051 <version>1.7.16</version>
Kanagaraj Manickam k003651060f315322018-09-07 14:13:15 +053052 <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>
Bogumil Zebek089d8c32019-04-17 07:56:27 +020088 </dependency>
89 <dependency>
90 <groupId>commons-codec</groupId>
91 <artifactId>commons-codec</artifactId>
92 <version>1.9</version>
Kanagaraj Manickam k003651060f315322018-09-07 14:13:15 +053093 </dependency>
Gary Wud8f0e752018-08-24 15:33:40 -070094
Kanagaraj Manickam k003651060f315322018-09-07 14:13:15 +053095 <dependency>
96 <groupId>junit</groupId>
97 <artifactId>junit</artifactId>
98 <version>4.12</version>
99 <scope>test</scope>
100 </dependency>
101 <dependency>
102 <groupId>org.apache.commons</groupId>
103 <artifactId>commons-lang3</artifactId>
104 <version>3.2.1</version>
105 </dependency>
106 <dependency>
107 <groupId>org.apache.commons</groupId>
108 <artifactId>commons-io</artifactId>
109 <version>1.3.2</version>
110 </dependency>
111 <dependency>
112 <groupId>commons-io</groupId>
113 <artifactId>commons-io</artifactId>
114 <version>2.5</version>
115 </dependency>
Bogumil Zebek379eb892019-05-31 13:58:12 +0200116 <dependency>
117 <groupId>org.bouncycastle</groupId>
118 <artifactId>bcpkix-jdk15on</artifactId>
119 <version>1.61</version>
120 </dependency>
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530121 <dependency>
122 <groupId>org.onap.cli</groupId>
123 <artifactId>cli-framework</artifactId>
Kanagaraj Manickam7cf87922019-05-15 10:39:12 +0530124 <version>3.0.0</version>
Kanagaraj Manickam k003651067f29a3a2019-02-27 14:47:47 +0530125<!-- <exclusions>
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530126 <exclusion>
127 <groupId>org.slf4j</groupId>
128 <artifactId>slf4j-log4j12</artifactId>
129 </exclusion>
Kanagaraj Manickam k003651067f29a3a2019-02-27 14:47:47 +0530130 </exclusions> -->
131 </dependency>
132
133 <dependency>
134 <groupId>org.onap.cli</groupId>
135 <artifactId>cli-main</artifactId>
Kanagaraj Manickam7cf87922019-05-15 10:39:12 +0530136 <version>3.0.0</version>
Kanagaraj Manickam k003651067f29a3a2019-02-27 14:47:47 +0530137 <scope>test</scope>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100138 <!-- <exclusions>
139 <exclusion>
140 <groupId>org.slf4j</groupId>
141 <artifactId>slf4j-log4j12</artifactId>
142 </exclusion>
143 </exclusions> -->
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530144 </dependency>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100145
146 <dependency>
147 <groupId>org.assertj</groupId>
148 <artifactId>assertj-core</artifactId>
149 <version>3.11.1</version>
150 <scope>test</scope>
151 </dependency>
152
Bogumil Zebek089d8c32019-04-17 07:56:27 +0200153 <dependency>
154 <groupId>org.mockito</groupId>
155 <artifactId>mockito-core</artifactId>
156 <version>2.27.0</version>
157 <scope>test</scope>
158 </dependency>
159
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530160 </dependencies>
161
162 <profiles>
163 <profile>
164 <id>all-tests</id>
165 <properties>
166 <build.profile.id>all-tests</build.profile.id>
167 <skip.unit.tests>true</skip.unit.tests>
168 </properties>
169 </profile>
170 </profiles>
AvinashS3c4d26e2017-09-07 13:46:54 +0000171
172
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530173 <build>
174 <finalName>${project.artifactId}-${project.version}</finalName>
AvinashS3c4d26e2017-09-07 13:46:54 +0000175
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530176 <plugins>
177 <plugin>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-jar-plugin</artifactId>
180 <version>3.0.2</version>
181 <configuration>
182 <archive>
183 <manifest>
184 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
185 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
186 </manifest>
187 </archive>
188 </configuration>
189 </plugin>
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-compiler-plugin</artifactId>
193 <version>3.1</version>
194 <configuration>
195 <source>1.8</source>
196 <target>1.8</target>
197 </configuration>
198 </plugin>
199 <plugin>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-jar-plugin</artifactId>
202 </plugin>
AvinashS3c4d26e2017-09-07 13:46:54 +0000203
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530204 <plugin>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-dependency-plugin</artifactId>
207 <executions>
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530208 <execution>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100209 <id>copy-artifact</id>
210 <phase>package</phase>
211 <goals>
212 <goal>copy</goal>
213 </goals>
214 <configuration>
215 <artifactItems>
216 <artifactItem>
217 <groupId>${project.groupId}</groupId>
218 <artifactId>${project.artifactId}</artifactId>
219 <version>${project.version}</version>
220 <type>${project.packaging}</type>
221 </artifactItem>
222 </artifactItems>
223 <outputDirectory>./target/lib</outputDirectory>
224 </configuration>
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530225 </execution>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100226 </executions>
227 </plugin>
228 <plugin>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-dependency-plugin</artifactId>
231 <version>3.0.0</version>
232 <executions>
233 <execution>
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530234 <id>copy-dependencies</id>
235 <phase>package</phase>
236 <goals>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100237 <goal>copy-dependencies</goal>
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530238 </goals>
239 <configuration>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100240 <outputDirectory>./target/lib</outputDirectory>
241 <overWriteReleases>false</overWriteReleases>
242 <overWriteSnapshots>false</overWriteSnapshots>
243 <overWriteIfNewer>true</overWriteIfNewer>
244 <excludeArtifactIds>junit,jmockit</excludeArtifactIds>
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530245 </configuration>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100246 </execution>
247 </executions>
248 </plugin>
AvinashS3c4d26e2017-09-07 13:46:54 +0000249
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530250 <plugin>
251 <artifactId>maven-war-plugin</artifactId>
252 <configuration>
253 <failOnMissingWebXml>false</failOnMissingWebXml>
254 </configuration>
255 </plugin>
256 </plugins>
257 </build>
AvinashS3c4d26e2017-09-07 13:46:54 +0000258</project>