Refactor SOL003 Adapter to organize its modules
[so.git] / adapters / etsi-sol003-adapter / etsi-sol003-adapter-application / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.onap.so.adapters</groupId>
6     <artifactId>etsi-sol003-adapter</artifactId>
7     <version>1.6.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>etsi-sol003-adapter-application</artifactId>
10   <name>ETSI SOL003 Application Jar</name>
11   <build>
12     <finalName>${project.artifactId}-${project.version}</finalName>
13     <plugins>
14       <plugin>
15         <groupId>org.springframework.boot</groupId>
16         <artifactId>spring-boot-maven-plugin</artifactId>
17         <configuration>
18           <mainClass>org.onap.so.adapters.etsi.sol003.adapter.VnfmAdapterApplication</mainClass>
19         </configuration>
20         <executions>
21           <execution>
22             <goals>
23               <goal>repackage</goal>
24             </goals>
25           </execution>
26         </executions>
27       </plugin>
28       <plugin>
29         <groupId>org.apache.maven.plugins</groupId>
30         <artifactId>maven-jar-plugin</artifactId>
31         <executions>
32           <execution>
33             <id>original</id>
34           </execution>
35         </executions>
36       </plugin>
37       <plugin>
38         <groupId>org.jacoco</groupId>
39         <artifactId>jacoco-maven-plugin</artifactId>
40       </plugin>
41       <plugin>
42         <groupId>org.apache.maven.plugins</groupId>
43         <artifactId>maven-surefire-plugin</artifactId>
44         <configuration>
45           <systemPropertyVariables>
46             <so.log.level>DEBUG</so.log.level>
47           </systemPropertyVariables>
48           <rerunFailingTestsCount>2</rerunFailingTestsCount>
49           <parallel>suites</parallel>
50           <useUnlimitedThreads>false</useUnlimitedThreads>
51           <threadCount>1</threadCount>
52         </configuration>
53       </plugin>
54     </plugins>
55     <resources>
56       <resource>
57         <directory>src/main/resources</directory>
58         <filtering>true</filtering>
59         <excludes>
60           <exclude>**/*.p12</exclude>
61           <exclude>**/*.jks</exclude>
62         </excludes>
63       </resource>
64       <resource>
65         <directory>src/main/resources</directory>
66         <filtering>false</filtering>
67         <includes>
68           <include>**/*.p12</include>
69           <include>**/*.jks</include>
70         </includes>
71       </resource>
72     </resources>
73   </build>
74   <dependencies>
75     <dependency>
76       <groupId>org.onap.so.adapters</groupId>
77       <artifactId>etsi-sol003-lcm-adapter</artifactId>
78       <version>${project.version}</version>
79     </dependency>
80     <dependency>
81       <groupId>org.onap.so.adapters</groupId>
82       <artifactId>etsi-sol003-package-management-adapter</artifactId>
83       <version>${project.version}</version>
84     </dependency>
85   </dependencies>
86 </project>