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