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