blob: e42f81880149501f3fe4c92d48f3a3f5c9b89661 [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>
Kanagaraj Manickam k003651068f8a2622018-11-20 12:38:29 +053018 <version>1.1.5</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>
Gary Wud8f0e752018-08-24 15:33:40 -070088
Kanagaraj Manickam k003651060f315322018-09-07 14:13:15 +053089 </dependency>
Gary Wud8f0e752018-08-24 15:33:40 -070090
Kanagaraj Manickam k003651060f315322018-09-07 14:13:15 +053091 <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 k00365106bc62e9e2018-09-04 17:24:14 +0530112
113 <dependency>
114 <groupId>org.onap.cli</groupId>
115 <artifactId>cli-framework</artifactId>
Kanagaraj Manickam k00365106abffb742019-03-06 17:16:54 +0530116 <version>2.0.6</version>
Kanagaraj Manickam k003651067f29a3a2019-02-27 14:47:47 +0530117<!-- <exclusions>
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530118 <exclusion>
119 <groupId>org.slf4j</groupId>
120 <artifactId>slf4j-log4j12</artifactId>
121 </exclusion>
Kanagaraj Manickam k003651067f29a3a2019-02-27 14:47:47 +0530122 </exclusions> -->
123 </dependency>
124
125 <dependency>
126 <groupId>org.onap.cli</groupId>
127 <artifactId>cli-main</artifactId>
Kanagaraj Manickam k00365106abffb742019-03-06 17:16:54 +0530128 <version>2.0.6</version>
Kanagaraj Manickam k003651067f29a3a2019-02-27 14:47:47 +0530129 <scope>test</scope>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100130 <!-- <exclusions>
131 <exclusion>
132 <groupId>org.slf4j</groupId>
133 <artifactId>slf4j-log4j12</artifactId>
134 </exclusion>
135 </exclusions> -->
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530136 </dependency>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100137
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 k00365106bc62e9e2018-09-04 17:24:14 +0530145 </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>
AvinashS3c4d26e2017-09-07 13:46:54 +0000156
157
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530158 <build>
159 <finalName>${project.artifactId}-${project.version}</finalName>
AvinashS3c4d26e2017-09-07 13:46:54 +0000160
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530161 <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>
AvinashS3c4d26e2017-09-07 13:46:54 +0000188
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530189 <plugin>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-dependency-plugin</artifactId>
192 <executions>
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530193 <execution>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100194 <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 k00365106bc62e9e2018-09-04 17:24:14 +0530210 </execution>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100211 </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 k00365106bc62e9e2018-09-04 17:24:14 +0530219 <id>copy-dependencies</id>
220 <phase>package</phase>
221 <goals>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100222 <goal>copy-dependencies</goal>
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530223 </goals>
224 <configuration>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100225 <outputDirectory>./target/lib</outputDirectory>
226 <overWriteReleases>false</overWriteReleases>
227 <overWriteSnapshots>false</overWriteSnapshots>
228 <overWriteIfNewer>true</overWriteIfNewer>
229 <excludeArtifactIds>junit,jmockit</excludeArtifactIds>
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530230 </configuration>
Bogumil Zebekfc645e52019-03-07 13:22:15 +0100231 </execution>
232 </executions>
233 </plugin>
AvinashS3c4d26e2017-09-07 13:46:54 +0000234
Kanagaraj Manickam k00365106bc62e9e2018-09-04 17:24:14 +0530235 <plugin>
236 <artifactId>maven-war-plugin</artifactId>
237 <configuration>
238 <failOnMissingWebXml>false</failOnMissingWebXml>
239 </configuration>
240 </plugin>
241 </plugins>
242 </build>
AvinashS3c4d26e2017-09-07 13:46:54 +0000243</project>