Fix Critical security vulnerability
[sdc.git] / common-be / 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
6   <groupId>org.openecomp.sdc.be</groupId>
7   <artifactId>common-be</artifactId>
8
9   <parent>
10     <groupId>org.openecomp.sdc</groupId>
11     <artifactId>sdc-main</artifactId>
12     <version>1.7.0-SNAPSHOT</version>
13   </parent>
14
15   <dependencies>
16     <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API -->
17     <dependency>
18       <groupId>org.junit.jupiter</groupId>
19       <artifactId>junit-jupiter-engine</artifactId>
20       <version>${junitJupiter.version}</version>
21       <scope>test</scope>
22     </dependency>
23     <!--JUnit Jupiter Engine to depend on the JUnit4 engine and JUnit 4 API  -->
24     <dependency>
25       <groupId>org.junit.vintage</groupId>
26       <artifactId>junit-vintage-engine</artifactId>
27       <version>${junitJupiter.version}</version>
28       <scope>test</scope>
29     </dependency>
30
31     <dependency>
32       <groupId>com.fasterxml.jackson.core</groupId>
33       <artifactId>jackson-core</artifactId>
34       <version>${jackson.version}</version>
35     </dependency>
36
37     <!-- Common of SD&C -->
38     <dependency>
39       <groupId>org.openecomp.sdc</groupId>
40       <artifactId>common-app-api</artifactId>
41       <version>${project.version}</version>
42       <exclusions>
43         <exclusion>
44           <groupId>com.fasterxml.jackson.core</groupId>
45           <artifactId>jackson-core</artifactId>
46         </exclusion>
47       </exclusions>
48     </dependency>
49
50     <dependency>
51       <groupId>org.apache.commons</groupId>
52       <artifactId>commons-lang3</artifactId>
53       <version>${lang3.version}</version>
54       <scope>provided</scope>
55     </dependency>
56
57     <dependency>
58       <groupId>ch.qos.logback</groupId>
59       <artifactId>logback-classic</artifactId>
60       <version>${logback.version}</version>
61       <scope>provided</scope>
62     </dependency>
63
64     <dependency>
65       <groupId>com.google.guava</groupId>
66       <artifactId>guava</artifactId>
67       <version>${guava.version}</version>
68       <scope>provided</scope>
69     </dependency>
70     <dependency>
71       <groupId>org.functionaljava</groupId>
72       <artifactId>functionaljava</artifactId>
73       <version>${functionaljava.version}</version>
74       <scope>provided</scope>
75     </dependency>
76
77     <dependency>
78       <groupId>com.fasterxml.jackson.core</groupId>
79       <artifactId>jackson-databind</artifactId>
80       <version>${jackson.version}</version>
81       <scope>provided</scope>
82       <exclusions>
83         <exclusion>
84           <groupId>com.fasterxml.jackson.core</groupId>
85           <artifactId>jackson-core</artifactId>
86         </exclusion>
87       </exclusions>
88     </dependency>
89
90     <dependency>
91       <groupId>org.hamcrest</groupId>
92       <artifactId>hamcrest</artifactId>
93       <version>${hamcrest.version}</version>
94       <scope>test</scope>
95     </dependency>
96     <dependency>
97       <groupId>org.hamcrest</groupId>
98       <artifactId>hamcrest-library</artifactId>
99       <version>${hamcrest.version}</version>
100       <scope>test</scope>
101     </dependency>
102     <dependency>
103       <groupId>org.junit.jupiter</groupId>
104       <artifactId>junit-jupiter</artifactId>
105       <version>${junitJupiter.version}</version>
106       <scope>test</scope>
107     </dependency>
108     <dependency>
109       <groupId>org.mockito</groupId>
110       <artifactId>mockito-junit-jupiter</artifactId>
111       <version>${mockitoJupiter.version}</version>
112       <scope>test</scope>
113     </dependency>
114     <dependency>
115       <groupId>org.mockito</groupId>
116       <artifactId>mockito-core</artifactId>
117       <version>${mockito.version}</version>
118       <scope>test</scope>
119     </dependency>
120     <dependency>
121       <groupId>org.onap.sdc.common</groupId>
122       <artifactId>onap-tosca-datatype</artifactId>
123       <version>${tosca.datatype.version}</version>
124       <exclusions>
125         <exclusion>
126           <groupId>com.fasterxml.jackson.core</groupId>
127           <artifactId>jackson-core</artifactId>
128         </exclusion>
129       </exclusions>
130     </dependency>
131     <dependency>
132       <groupId>org.onap.sdc.sdc-tosca</groupId>
133       <artifactId>sdc-tosca</artifactId>
134       <version>${sdc-tosca-parser.version}</version>
135     </dependency>
136     <dependency>
137       <groupId>org.projectlombok</groupId>
138       <artifactId>lombok</artifactId>
139       <version>${lombok.version}</version>
140     </dependency>
141     <dependency>
142       <groupId>com.google.code.bean-matchers</groupId>
143       <artifactId>bean-matchers</artifactId>
144       <version>${bean-matchers.version}</version>
145       <scope>test</scope>
146     </dependency>
147
148     <!-- Togglz core module (mandatory) -->
149     <dependency>
150       <groupId>org.togglz</groupId>
151       <artifactId>togglz-core</artifactId>
152       <version>${togglz.version}</version>
153     </dependency>
154
155     <!-- Togglz for Servlet environments (mandatory for webapps) -->
156     <dependency>
157       <groupId>org.togglz</groupId>
158       <artifactId>togglz-servlet</artifactId>
159       <version>${togglz.version}</version>
160     </dependency>
161
162     <!-- Togglz Admin Console -->
163     <dependency>
164       <groupId>org.togglz</groupId>
165       <artifactId>togglz-console</artifactId>
166       <version>${togglz.version}</version>
167     </dependency>
168
169     <!-- Togglz for testing -->
170     <dependency>
171       <groupId>org.togglz</groupId>
172       <artifactId>togglz-testing</artifactId>
173       <version>${togglz.version}</version>
174       <scope>test</scope>
175     </dependency>
176
177   </dependencies>
178   <build>
179     <plugins>
180       <plugin>
181         <artifactId>maven-jar-plugin</artifactId>
182         <version>${maven-jar-plugin.version}</version>
183         <executions>
184           <execution>
185             <id>default-jar</id>
186             <phase>package</phase>
187             <goals>
188               <goal>jar</goal>
189               <goal>test-jar</goal>
190             </goals>
191           </execution>
192         </executions>
193       </plugin>
194       <plugin>
195         <groupId>com.github.sylvainlaurent.maven</groupId>
196         <artifactId>yaml-json-validator-maven-plugin</artifactId>
197         <executions>
198           <execution>
199             <id>validate</id>
200             <phase>validate</phase>
201             <goals>
202               <goal>validate</goal>
203             </goals>
204             <configuration>
205               <validationSets>
206                 <validationSet>
207                   <includes>
208                     <include>src/main/resources/**/*.y*ml</include>
209                     <include>src/test/resources/**/*.y*ml</include>
210                   </includes>
211                 </validationSet>
212                 <validationSet>
213                   <includes>
214                     <include>src/main/resources/**/*.json</include>
215                     <include>src/test/resources/**/*.json</include>
216                   </includes>
217                 </validationSet>
218               </validationSets>
219             </configuration>
220           </execution>
221         </executions>
222       </plugin>
223     </plugins>
224   </build>
225
226 </project>