Prepare for Junit5
[sdc.git] / utils / DmaapPublisher / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4   <modelVersion>4.0.0</modelVersion>
5   <groupId>org.openecomp.sdc</groupId>
6   <artifactId>dmaap-publisher</artifactId>
7   <version>1.0.0</version>
8
9
10   <properties>
11     <fasterxml.jackson.version>2.8.6</fasterxml.jackson.version>
12   </properties>
13
14   <dependencies>
15     <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
16     <dependency>
17       <groupId>org.junit.jupiter</groupId>
18       <artifactId>junit-jupiter-engine</artifactId>
19       <version>${junitJupiter.version}</version>
20       <scope>test</scope>
21     </dependency>
22     <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API  -->
23     <dependency>
24       <groupId>org.junit.vintage</groupId>
25       <artifactId>junit-vintage-engine</artifactId>
26       <version>${junitJupiter.version}</version>
27     </dependency>
28
29     <!--spock testing-->
30     <dependency>
31       <groupId>org.spockframework</groupId>
32       <artifactId>spock-core</artifactId>
33       <version>1.1-groovy-2.4</version>
34       <scope>test</scope>
35     </dependency>
36     <!--groovy-->
37     <dependency>
38       <groupId>org.codehaus.groovy</groupId>
39       <artifactId>groovy</artifactId>
40       <version>2.4.11</version>
41     </dependency>
42
43     <dependency>
44       <groupId>org.apache.commons</groupId>
45       <artifactId>commons-lang3</artifactId>
46       <version>3.7</version>
47     </dependency>
48     <dependency>
49       <groupId>com.att.nsa</groupId>
50       <artifactId>dmaapClient</artifactId>
51       <version>0.2.16</version>
52     </dependency>
53     <dependency>
54       <groupId>org.slf4j</groupId>
55       <artifactId>slf4j-api</artifactId>
56       <version>1.7.25</version>
57     </dependency>
58     <dependency>
59       <groupId>args4j</groupId>
60       <artifactId>args4j</artifactId>
61       <version>2.33</version>
62     </dependency>
63     <dependency>
64       <groupId>com.google.guava</groupId>
65       <artifactId>guava</artifactId>
66       <version>22.0</version>
67     </dependency>
68     <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
69     <dependency>
70       <groupId>org.yaml</groupId>
71       <artifactId>snakeyaml</artifactId>
72       <version>1.18</version>
73     </dependency>
74
75     <dependency>
76       <groupId>org.mockito</groupId>
77       <artifactId>mockito-core</artifactId>
78       <version>${mockito.version}</version>
79       <scope>test</scope>
80     </dependency>
81     <dependency>
82       <groupId>org.assertj</groupId>
83       <artifactId>assertj-core</artifactId>
84       <version>3.8.0</version>
85       <scope>test</scope>
86     </dependency>
87   </dependencies>
88
89   <build>
90     <plugins>
91       <plugin>
92         <groupId>org.apache.maven.plugins</groupId>
93         <artifactId>maven-compiler-plugin</artifactId>
94         <version>3.6.1</version>
95         <configuration>
96           <source>1.8</source>
97           <target>1.8</target>
98         </configuration>
99       </plugin>
100       <plugin>
101         <groupId>org.apache.maven.plugins</groupId>
102         <artifactId>maven-shade-plugin</artifactId>
103         <version>3.0.0</version>
104         <configuration>
105           <createDependencyReducedPom>true</createDependencyReducedPom>
106           <filters>
107             <filter>
108               <artifact>*:*</artifact>
109               <excludes>
110                 <exclude>META-INF/*.SF</exclude>
111                 <exclude>META-INF/*.DSA</exclude>
112                 <exclude>META-INF/*.RSA</exclude>
113               </excludes>
114             </filter>
115           </filters>
116         </configuration>
117         <executions>
118           <execution>
119             <phase>package</phase>
120             <goals>
121               <goal>shade</goal>
122             </goals>
123             <configuration>
124               <transformers>
125                 <transformer
126                   implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
127                 <transformer
128                   implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
129                   <mainClass>org.openecomp.sdc.dmaap.DmaapPublisher</mainClass>
130                 </transformer>
131               </transformers>
132             </configuration>
133           </execution>
134         </executions>
135       </plugin>
136
137     </plugins>
138   </build>
139 </project>