Began adding pluging to lifecycle mapping
[so.git] / adapters / so-appc-orchestrator / 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</groupId>
6     <artifactId>adapters</artifactId>
7     <version>1.6.0-SNAPSHOT</version>
8   </parent>
9
10   <groupId>org.onap.so.adapters</groupId>
11   <artifactId>so-appc-orchestrator</artifactId>
12   <packaging>jar</packaging>
13   <properties>
14     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
16     <java.version>1.8</java.version>
17   </properties>
18   <name>so-appc-orchestrator</name>
19   <description>MSO APPC-C Orchestrator</description>
20   <build>
21     <plugins>
22       <plugin>
23         <groupId>org.springframework.boot</groupId>
24         <artifactId>spring-boot-maven-plugin</artifactId>
25         <version>${springboot.version}</version>
26         <configuration>
27           <mainClass>org.onap.so.adapters.appc.orchestrator.AppcOrchestratorApplication</mainClass>
28         </configuration>
29         <executions>
30           <execution>
31             <goals>
32               <goal>repackage</goal>
33             </goals>
34           </execution>
35         </executions>
36       </plugin>
37       <plugin>
38         <groupId>org.apache.maven.plugins</groupId>
39         <artifactId>maven-dependency-plugin</artifactId>
40         <executions>
41           <execution>
42             <id>extract-docker-file</id>
43           </execution>
44         </executions>
45       </plugin>
46       <plugin>
47         <groupId>io.fabric8</groupId>
48         <artifactId>docker-maven-plugin</artifactId>
49         <executions>
50           <execution>
51             <id>start</id>
52           </execution>
53         </executions>
54       </plugin>
55       <plugin>
56         <groupId>org.apache.maven.plugins</groupId>
57         <artifactId>maven-compiler-plugin</artifactId>
58         <version>3.3</version>
59         <configuration>
60           <source>1.8</source>
61           <target>1.8</target>
62           <fork>true</fork>
63           <compilerArgs>
64             <arg>-parameters</arg>
65           </compilerArgs>
66         </configuration>
67       </plugin>
68       <plugin>
69         <groupId>org.apache.maven.plugins</groupId>
70         <artifactId>maven-surefire-plugin</artifactId>
71         <executions>
72           <execution>
73             <id>default-test</id>
74             <goals>
75               <goal>test</goal>
76             </goals>
77             <configuration>
78               <includes>
79                 <include>**/AllTestsTestSuite.java</include>
80               </includes>
81               <parallel>suites</parallel>
82             </configuration>
83           </execution>
84         </executions>
85       </plugin>
86     </plugins>
87     <pluginManagement>
88       <plugins>
89         <!--This plugin's configuration is used to store Eclipse m2e settings 
90                                         only. It has no influence on the Maven build itself. -->
91         <plugin>
92           <groupId>org.eclipse.m2e</groupId>
93           <artifactId>lifecycle-mapping</artifactId>
94           <version>1.0.0</version>
95           <configuration>
96             <lifecycleMappingMetadata>
97               <pluginExecutions>
98                 <pluginExecution>
99                   <pluginExecutionFilter>
100                     <groupId>org.apache.maven.plugins</groupId>
101                     <artifactId>maven-dependency-plugin</artifactId>
102                     <versionRange>[1.0.0,)</versionRange>
103                     <goals>
104                       <goal>unpack</goal>
105                     </goals>
106                   </pluginExecutionFilter>
107                   <action>
108                     <execute />
109                   </action>
110                 </pluginExecution>
111                 <pluginExecution>
112                   <pluginExecutionFilter>
113                     <groupId>
114                                                                                         org.jvnet.jax-ws-commons
115                                                                                 </groupId>
116                     <artifactId>
117                                                                                         jaxws-maven-plugin
118                                                                                 </artifactId>
119                     <versionRange>
120                                                                                         [2.3,)
121                                                                                 </versionRange>
122                     <goals>
123                       <goal>wsgen</goal>
124                     </goals>
125                   </pluginExecutionFilter>
126                   <action>
127                     <ignore>
128                     </ignore>
129                   </action>
130                 </pluginExecution>
131               </pluginExecutions>
132             </lifecycleMappingMetadata>
133           </configuration>
134         </plugin>
135
136         <plugin>
137           <groupId>org.jacoco</groupId>
138           <artifactId>jacoco-maven-plugin</artifactId>
139         </plugin>
140       </plugins>
141     </pluginManagement>
142     <finalName>${project.artifactId}-${project.version}</finalName>
143   </build>
144   <dependencies>
145     <dependency>
146       <groupId>org.springframework.boot</groupId>
147       <artifactId>spring-boot-starter-actuator</artifactId>
148     </dependency>
149     <dependency>
150       <groupId>org.springframework.boot</groupId>
151       <artifactId>spring-boot-starter-web</artifactId>
152     </dependency>
153     <dependency>
154       <groupId>org.springframework.boot</groupId>
155       <artifactId>spring-boot-starter-test</artifactId>
156       <scope>test</scope>
157     </dependency>
158     <dependency>
159       <groupId>io.micrometer</groupId>
160       <artifactId>micrometer-core</artifactId>
161     </dependency>
162     <dependency>
163       <groupId>io.micrometer</groupId>
164       <artifactId>micrometer-registry-prometheus</artifactId>
165     </dependency>
166     <dependency>
167       <groupId>com.google.guava</groupId>
168       <artifactId>guava</artifactId>
169     </dependency>
170     <dependency>
171       <groupId>org.onap.so</groupId>
172       <artifactId>common</artifactId>
173       <version>${project.version}</version>
174     </dependency>
175     <dependency>
176       <groupId>org.camunda.bpm</groupId>
177       <artifactId>camunda-external-task-client</artifactId>
178       <version>1.1.1</version>
179     </dependency>
180     <dependency>
181       <groupId>org.onap.so</groupId>
182       <artifactId>MSOCommonBPMN</artifactId>
183       <version>${project.version}</version>
184     </dependency>
185     <dependency>
186       <groupId>org.onap.appc.client</groupId>
187       <artifactId>client-lib</artifactId>
188       <version>${appc.client.version}</version>
189       <exclusions>
190         <exclusion>
191           <groupId>org.mockito</groupId>
192           <artifactId>mockito-core</artifactId>
193         </exclusion>
194         <exclusion>
195           <groupId>org.powermock</groupId>
196           <artifactId>powermock-module-junit4</artifactId>
197         </exclusion>
198         <exclusion>
199           <groupId>org.powermock</groupId>
200           <artifactId>powermock-api-mockito</artifactId>
201         </exclusion>
202       </exclusions>
203     </dependency>
204     <dependency>
205       <groupId>org.onap.so.adapters</groupId>
206       <artifactId>mso-adapter-utils</artifactId>
207       <version>${project.version}</version>
208     </dependency>
209     <dependency>
210       <groupId>org.onap.appc.client</groupId>
211       <artifactId>client-kit</artifactId>
212       <version>${appc.client.version}</version>
213       <exclusions>
214         <exclusion>
215           <groupId>org.mockito</groupId>
216           <artifactId>mockito-core</artifactId>
217         </exclusion>
218       </exclusions>
219     </dependency>
220     <!-- Test Dependencies -->
221     <dependency>
222       <groupId>pl.pragmatists</groupId>
223       <artifactId>JUnitParams</artifactId>
224       <version>1.0.5</version>
225       <scope>test</scope>
226     </dependency>
227     <dependency>
228       <groupId>junit</groupId>
229       <artifactId>junit</artifactId>
230       <scope>test</scope>
231     </dependency>
232   </dependencies>
233 </project>