blob: d677a9e894931c2a2000302fd4dd98001c617f15 [file] [log] [blame]
Pawelb6ff67f2020-11-12 12:15:55 +01001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <parent>
6 <groupId>org.onap.vnfsdk.validation</groupId>
7 <artifactId>validation</artifactId>
Bartosz Gardziejewskid2f05522020-12-16 09:34:14 +01008 <version>1.2.17-SNAPSHOT</version>
Pawelb6ff67f2020-11-12 12:15:55 +01009 </parent>
10 <modelVersion>4.0.0</modelVersion>
11
12 <artifactId>validation-pmdictionary</artifactId>
13 <packaging>jar</packaging>
14 <name>pmdictionaryvalidation/validation</name>
15
16 <repositories>
17 <repository>
18 <id>google-collections</id>
19 <name>Google collections repository</name>
20 <url>https://mvnrepository.com/artifact/com.google.collections/google-collections</url>
21 </repository>
22 <repository>
23 <id>onap</id>
24 <name>ONAP repository</name>
25 <url>https://nexus.onap.org/content/repositories/public/</url>
26 </repository>
27 </repositories>
28 <properties>
29 <log4j-slf4j-impl.version>2.13.3</log4j-slf4j-impl.version>
30 <snakeyaml.version>1.26</snakeyaml.version>
31 <junit.version>5.7.0</junit.version>
32 <assertj-core.version>3.18.1</assertj-core.version>
Bogumil Zebekbb56d1b2020-12-11 13:56:54 +010033 <maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
34 <mockito-core.version>3.5.0</mockito-core.version>
35 <mockito-junit-jupiter.version>2.23.0</mockito-junit-jupiter.version>
36 <gson.version>2.8.6</gson.version>
Bogumil Zebek2a806952020-12-23 10:02:43 +010037 <cli-framework.version>5.0.3</cli-framework.version>
38 <cli-main.version>5.0.2</cli-main.version>
Pawelb6ff67f2020-11-12 12:15:55 +010039 </properties>
40 <dependencies>
41 <dependency>
Bogumil Zebek2a806952020-12-23 10:02:43 +010042 <groupId>org.onap.cli</groupId>
43 <artifactId>cli-framework</artifactId>
44 <version>${cli-framework.version}</version>
45 <exclusions>
46 <exclusion>
47 <groupId>commons-codec</groupId>
48 <artifactId>commons-codec</artifactId>
49 </exclusion>
50 </exclusions>
51 </dependency>
52 <dependency>
Pawelb6ff67f2020-11-12 12:15:55 +010053 <groupId>org.apache.logging.log4j</groupId>
54 <artifactId>log4j-slf4j-impl</artifactId>
55 <version>${log4j-slf4j-impl.version}</version>
56 <exclusions>
57 <exclusion>
58 <groupId>org.slf4j</groupId>
59 <artifactId>slf4j-ext</artifactId>
60 </exclusion>
61 </exclusions>
62 </dependency>
63 <dependency>
64 <groupId>org.yaml</groupId>
65 <artifactId>snakeyaml</artifactId>
66 <version>${snakeyaml.version}</version>
67 </dependency>
Bogumil Zebekbb56d1b2020-12-11 13:56:54 +010068 <dependency>
69 <groupId>com.google.code.gson</groupId>
70 <artifactId>gson</artifactId>
71 <version>${gson.version}</version>
72 </dependency>
Pawelb6ff67f2020-11-12 12:15:55 +010073 <!-- TEST dependencies -->
74 <dependency>
75 <groupId>org.junit.jupiter</groupId>
76 <artifactId>junit-jupiter</artifactId>
77 <version>${junit.version}</version>
78 <scope>test</scope>
79 </dependency>
80 <dependency>
81 <groupId>org.junit.vintage</groupId>
82 <artifactId>junit-vintage-engine</artifactId>
83 <version>${junit.version}</version>
84 <scope>test</scope>
85 </dependency>
86 <dependency>
87 <groupId>org.assertj</groupId>
88 <artifactId>assertj-core</artifactId>
89 <version>${assertj-core.version}</version>
90 <scope>test</scope>
91 </dependency>
Bogumil Zebekbb56d1b2020-12-11 13:56:54 +010092 <dependency>
93 <groupId>org.mockito</groupId>
94 <artifactId>mockito-core</artifactId>
95 <version>${mockito-core.version}</version>
96 <scope>test</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.mockito</groupId>
100 <artifactId>mockito-junit-jupiter</artifactId>
101 <version>${mockito-junit-jupiter.version}</version>
102 <scope>test</scope>
103 </dependency>
Bogumil Zebek2a806952020-12-23 10:02:43 +0100104 <dependency>
105 <groupId>org.onap.cli</groupId>
106 <artifactId>cli-main</artifactId>
107 <version>${cli-main.version}</version>
108 <scope>test</scope>
109 </dependency>
Pawelb6ff67f2020-11-12 12:15:55 +0100110 </dependencies>
Bogumil Zebekbb56d1b2020-12-11 13:56:54 +0100111 <build>
112 <finalName>${project.artifactId}-${project.version}</finalName>
113 <plugins>
114 <!-- Maven Shade Plugin -->
115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-shade-plugin</artifactId>
118 <version>${maven-shade-plugin.version}</version>
119 <executions>
120 <!-- Run shade goal on package phase -->
121 <execution>
122 <phase>package</phase>
123 <goals>
124 <goal>shade</goal>
125 </goals>
126 <configuration>
127 <shadedArtifactAttached>true</shadedArtifactAttached>
128 <shadedClassifierName>standalone</shadedClassifierName>
129 <shadeSourcesContent>true</shadeSourcesContent>
130 <filters>
131 <filter>
132 <artifact>*:*</artifact>
133 <excludes>
134 <exclude>META-INF/DEPENDENCIES</exclude>
135 <exclude>META-INF/LICENSE</exclude>
136 <exclude>META-INF/NOTICE</exclude>
137 </excludes>
138 </filter>
139 </filters>
140 <transformers>
141 <!-- add Main-Class to manifest file -->
142 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
143 <mainClass>org.onap.validation.cli.Main</mainClass>
144 <manifestEntries>
145 <Multi-Release>true</Multi-Release>
146 </manifestEntries>
147 </transformer>
148 </transformers>
149 </configuration>
150 </execution>
151 </executions>
152 </plugin>
153 </plugins>
154 </build>
Pawelb6ff67f2020-11-12 12:15:55 +0100155</project>