Reduce scope from 'compile' to 'test' for 'junit-vintage-engine'
[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       <scope>test</scope>
28     </dependency>
29
30     <!--spock testing-->
31     <dependency>
32       <groupId>org.spockframework</groupId>
33       <artifactId>spock-core</artifactId>
34       <version>1.1-groovy-2.4</version>
35       <scope>test</scope>
36     </dependency>
37     <!--groovy-->
38     <dependency>
39       <groupId>org.codehaus.groovy</groupId>
40       <artifactId>groovy</artifactId>
41       <version>2.4.11</version>
42     </dependency>
43
44     <dependency>
45       <groupId>org.apache.commons</groupId>
46       <artifactId>commons-lang3</artifactId>
47       <version>3.7</version>
48     </dependency>
49     <dependency>
50       <groupId>com.att.nsa</groupId>
51       <artifactId>dmaapClient</artifactId>
52       <version>0.2.16</version>
53     </dependency>
54     <dependency>
55       <groupId>org.slf4j</groupId>
56       <artifactId>slf4j-api</artifactId>
57       <version>1.7.25</version>
58     </dependency>
59     <dependency>
60       <groupId>args4j</groupId>
61       <artifactId>args4j</artifactId>
62       <version>2.33</version>
63     </dependency>
64     <dependency>
65       <groupId>com.google.guava</groupId>
66       <artifactId>guava</artifactId>
67       <version>22.0</version>
68     </dependency>
69     <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
70     <dependency>
71       <groupId>org.yaml</groupId>
72       <artifactId>snakeyaml</artifactId>
73       <version>1.18</version>
74     </dependency>
75
76     <dependency>
77       <groupId>org.mockito</groupId>
78       <artifactId>mockito-core</artifactId>
79       <version>${mockito.version}</version>
80       <scope>test</scope>
81     </dependency>
82     <dependency>
83       <groupId>org.assertj</groupId>
84       <artifactId>assertj-core</artifactId>
85       <version>3.8.0</version>
86       <scope>test</scope>
87     </dependency>
88   </dependencies>
89
90   <build>
91     <plugins>
92       <plugin>
93         <groupId>org.apache.maven.plugins</groupId>
94         <artifactId>maven-compiler-plugin</artifactId>
95         <version>3.6.1</version>
96         <configuration>
97           <source>1.8</source>
98           <target>1.8</target>
99         </configuration>
100       </plugin>
101       <plugin>
102         <groupId>org.apache.maven.plugins</groupId>
103         <artifactId>maven-shade-plugin</artifactId>
104         <version>3.0.0</version>
105         <configuration>
106           <createDependencyReducedPom>true</createDependencyReducedPom>
107           <filters>
108             <filter>
109               <artifact>*:*</artifact>
110               <excludes>
111                 <exclude>META-INF/*.SF</exclude>
112                 <exclude>META-INF/*.DSA</exclude>
113                 <exclude>META-INF/*.RSA</exclude>
114               </excludes>
115             </filter>
116           </filters>
117         </configuration>
118         <executions>
119           <execution>
120             <phase>package</phase>
121             <goals>
122               <goal>shade</goal>
123             </goals>
124             <configuration>
125               <transformers>
126                 <transformer
127                   implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
128                 <transformer
129                   implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
130                   <mainClass>org.openecomp.sdc.dmaap.DmaapPublisher</mainClass>
131                 </transformer>
132               </transformers>
133             </configuration>
134           </execution>
135         </executions>
136       </plugin>
137
138     </plugins>
139   </build>
140 </project>