Prepare for Junit5
[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     </dependency>
29
30     <!-- Common of SD&C -->
31     <dependency>
32       <groupId>org.openecomp.sdc</groupId>
33       <artifactId>common-app-api</artifactId>
34       <version>${project.version}</version>
35       <scope>compile</scope>
36     </dependency>
37
38     <dependency>
39       <groupId>org.apache.commons</groupId>
40       <artifactId>commons-lang3</artifactId>
41       <version>${lang3.version}</version>
42       <scope>provided</scope>
43     </dependency>
44
45     <dependency>
46       <groupId>ch.qos.logback</groupId>
47       <artifactId>logback-classic</artifactId>
48       <version>${logback.version}</version>
49       <scope>provided</scope>
50     </dependency>
51
52     <dependency>
53       <groupId>com.google.guava</groupId>
54       <artifactId>guava</artifactId>
55       <version>${guava.version}</version>
56       <scope>provided</scope>
57     </dependency>
58     <dependency>
59       <groupId>org.functionaljava</groupId>
60       <artifactId>functionaljava</artifactId>
61       <version>${functionaljava.version}</version>
62       <scope>provided</scope>
63     </dependency>
64
65     <dependency>
66       <groupId>com.fasterxml.jackson.core</groupId>
67       <artifactId>jackson-databind</artifactId>
68       <version>${jackson.version}</version>
69       <scope>provided</scope>
70     </dependency>
71
72     <dependency>
73       <groupId>org.hamcrest</groupId>
74       <artifactId>hamcrest</artifactId>
75       <version>${hamcrest.version}</version>
76       <scope>test</scope>
77     </dependency>
78     <dependency>
79       <groupId>org.hamcrest</groupId>
80       <artifactId>hamcrest-library</artifactId>
81       <version>${hamcrest.version}</version>
82       <scope>test</scope>
83     </dependency>
84     <dependency>
85       <groupId>org.junit.jupiter</groupId>
86       <artifactId>junit-jupiter</artifactId>
87       <version>${junitJupiter.version}</version>
88       <scope>test</scope>
89     </dependency>
90     <dependency>
91       <groupId>org.mockito</groupId>
92       <artifactId>mockito-junit-jupiter</artifactId>
93       <version>${mockitoJupiter.version}</version>
94       <scope>test</scope>
95     </dependency>
96     <dependency>
97       <groupId>org.mockito</groupId>
98       <artifactId>mockito-core</artifactId>
99       <version>${mockito.version}</version>
100       <scope>test</scope>
101     </dependency>
102     <dependency>
103       <groupId>org.onap.sdc.common</groupId>
104       <artifactId>onap-tosca-datatype</artifactId>
105       <version>${tosca.datatype.version}</version>
106     </dependency>
107     <dependency>
108       <groupId>org.onap.sdc.sdc-tosca</groupId>
109       <artifactId>sdc-tosca</artifactId>
110       <version>${sdc-tosca-parser.version}</version>
111     </dependency>
112     <dependency>
113       <groupId>org.projectlombok</groupId>
114       <artifactId>lombok</artifactId>
115       <version>${lombok.version}</version>
116     </dependency>
117     <dependency>
118       <groupId>com.google.code.bean-matchers</groupId>
119       <artifactId>bean-matchers</artifactId>
120       <version>${bean-matchers.version}</version>
121       <scope>test</scope>
122     </dependency>
123
124     <!-- Togglz core module (mandatory) -->
125     <dependency>
126       <groupId>org.togglz</groupId>
127       <artifactId>togglz-core</artifactId>
128       <version>${togglz.version}</version>
129     </dependency>
130
131     <!-- Togglz for Servlet environments (mandatory for webapps) -->
132     <dependency>
133       <groupId>org.togglz</groupId>
134       <artifactId>togglz-servlet</artifactId>
135       <version>${togglz.version}</version>
136     </dependency>
137
138     <!-- Togglz Admin Console -->
139     <dependency>
140       <groupId>org.togglz</groupId>
141       <artifactId>togglz-console</artifactId>
142       <version>${togglz.version}</version>
143     </dependency>
144
145     <!-- Togglz for testing -->
146     <dependency>
147       <groupId>org.togglz</groupId>
148       <artifactId>togglz-testing</artifactId>
149       <version>${togglz.version}</version>
150       <scope>test</scope>
151     </dependency>
152
153   </dependencies>
154   <build>
155     <plugins>
156       <plugin>
157         <artifactId>maven-jar-plugin</artifactId>
158         <version>${maven-jar-plugin.version}</version>
159         <executions>
160           <execution>
161             <id>default-jar</id>
162             <phase>package</phase>
163             <goals>
164               <goal>jar</goal>
165               <goal>test-jar</goal>
166             </goals>
167           </execution>
168         </executions>
169       </plugin>
170       <plugin>
171         <groupId>com.github.sylvainlaurent.maven</groupId>
172         <artifactId>yaml-json-validator-maven-plugin</artifactId>
173         <executions>
174           <execution>
175             <id>validate</id>
176             <phase>validate</phase>
177             <goals>
178               <goal>validate</goal>
179             </goals>
180             <configuration>
181               <validationSets>
182                 <validationSet>
183                   <includes>
184                     <include>src/main/resources/**/*.y*ml</include>
185                     <include>src/test/resources/**/*.y*ml</include>
186                   </includes>
187                 </validationSet>
188                 <validationSet>
189                   <includes>
190                     <include>src/main/resources/**/*.json</include>
191                     <include>src/test/resources/**/*.json</include>
192                   </includes>
193                 </validationSet>
194               </validationSets>
195             </configuration>
196           </execution>
197         </executions>
198       </plugin>
199     </plugins>
200   </build>
201
202 </project>