Increase code coverage
[policy/apex-pdp.git] / packages / apex-pdp-package-full / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4    Modifications Copyright (C) 2019-2020 Nordix Foundation
5    Modifications Copyright (C) 2019-2020 Bell Canada.
6    Modifications Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License");
9   you may not use this file except in compliance with the License.
10   You may obtain a copy of the License at
11
12        http://www.apache.org/licenses/LICENSE-2.0
13
14   Unless required by applicable law or agreed to in writing, software
15   distributed under the License is distributed on an "AS IS" BASIS,
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   See the License for the specific language governing permissions and
18   limitations under the License.
19
20   SPDX-License-Identifier: Apache-2.0
21   ============LICENSE_END=========================================================
22 -->
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26     <parent>
27         <groupId>org.onap.policy.apex-pdp.packages</groupId>
28         <artifactId>apex-packages</artifactId>
29         <version>2.5.1-SNAPSHOT</version>
30     </parent>
31
32     <artifactId>apex-pdp-package-full</artifactId>
33     <name>${project.artifactId}</name>
34     <description>[${project.parent.artifactId}] packaging, with all optional functionality, clients, servlets, and examples included</description>
35
36     <properties>
37         <install.package.name>${project.artifactId}</install.package.name>
38     </properties>
39
40     <dependencies>
41         <dependency>
42             <groupId>org.onap.policy.apex-pdp.services</groupId>
43             <artifactId>services-engine</artifactId>
44             <version>${project.version}</version>
45         </dependency>
46         <dependency>
47             <groupId>org.onap.policy.apex-pdp.services</groupId>
48             <artifactId>services-onappf</artifactId>
49             <version>${project.version}</version>
50         </dependency>
51
52         <!-- Plugins for Context Distribution -->
53         <dependency>
54             <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId>
55             <artifactId>plugins-context-distribution-hazelcast</artifactId>
56             <version>${project.version}</version>
57         </dependency>
58         <dependency>
59             <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId>
60             <artifactId>plugins-context-distribution-infinispan</artifactId>
61             <version>${project.version}</version>
62         </dependency>
63
64         <!-- Plugins for Context Locking -->
65         <dependency>
66             <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-locking</groupId>
67             <artifactId>plugins-context-locking-hazelcast</artifactId>
68             <version>${project.version}</version>
69         </dependency>
70         <dependency>
71             <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-locking</groupId>
72             <artifactId>plugins-context-locking-curator</artifactId>
73             <version>${project.version}</version>
74         </dependency>
75
76         <!-- Plugins for Context Schemas -->
77         <dependency>
78             <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId>
79             <artifactId>plugins-context-schema-avro</artifactId>
80             <version>${project.version}</version>
81         </dependency>
82
83         <!-- Plugins for Executors -->
84         <dependency>
85             <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
86             <artifactId>plugins-executor-java</artifactId>
87             <version>${project.version}</version>
88         </dependency>
89         <dependency>
90             <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
91             <artifactId>plugins-executor-javascript</artifactId>
92             <version>${project.version}</version>
93         </dependency>
94         <dependency>
95             <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
96             <artifactId>plugins-executor-jruby</artifactId>
97             <version>${project.version}</version>
98         </dependency>
99         <!-- Jython support disabled due to security concerns -->
100         <!-- dependency>
101             <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
102             <artifactId>plugins-executor-jython</artifactId>
103             <version>${project.version}</version>
104         </dependency-->
105         <dependency>
106             <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId>
107             <artifactId>plugins-executor-mvel</artifactId>
108             <version>${project.version}</version>
109         </dependency>
110
111         <!-- Plugins for Persistence of Models over JPA -->
112         <dependency>
113             <groupId>org.onap.policy.apex-pdp.plugins.plugins-persistence.plugins-persistence-jpa</groupId>
114             <artifactId>plugins-persistence-jpa-eclipselink</artifactId>
115             <version>${project.version}</version>
116         </dependency>
117
118         <!-- Plugins for event carrier technologies -->
119         <dependency>
120             <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
121             <artifactId>plugins-event-carrier-kafka</artifactId>
122             <version>${project.version}</version>
123         </dependency>
124         <dependency>
125             <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
126             <artifactId>plugins-event-carrier-websocket</artifactId>
127             <version>${project.version}</version>
128         </dependency>
129         <dependency>
130             <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
131             <artifactId>plugins-event-carrier-jms</artifactId>
132             <version>${project.version}</version>
133         </dependency>
134         <dependency>
135             <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
136             <artifactId>plugins-event-carrier-restclient</artifactId>
137             <version>${project.version}</version>
138         </dependency>
139         <dependency>
140             <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
141             <artifactId>plugins-event-carrier-restserver</artifactId>
142             <version>${project.version}</version>
143         </dependency>
144         <dependency>
145             <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
146             <artifactId>plugins-event-carrier-restrequestor</artifactId>
147             <version>${project.version}</version>
148         </dependency>
149         <dependency>
150             <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId>
151             <artifactId>plugins-event-carrier-grpc</artifactId>
152             <version>${project.version}</version>
153         </dependency>
154         <!-- Benchmark test event generator -->
155         <dependency>
156             <groupId>org.onap.policy.apex-pdp.testsuites.performance</groupId>
157             <artifactId>performance-benchmark-test</artifactId>
158             <version>${project.version}</version>
159         </dependency>
160
161         <!-- Plugins for event protocols -->
162         <dependency>
163             <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
164             <artifactId>plugins-event-protocol-xml</artifactId>
165             <version>${project.version}</version>
166         </dependency>
167         <dependency>
168             <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId>
169             <artifactId>plugins-event-protocol-jms</artifactId>
170             <version>${project.version}</version>
171         </dependency>
172
173         <!-- Authoring and Editors -->
174         <dependency>
175             <groupId>org.onap.policy.apex-pdp.auth</groupId>
176             <artifactId>cli-editor</artifactId>
177             <version>${project.version}</version>
178         </dependency>
179
180         <!-- Tools -->
181         <dependency>
182             <groupId>org.onap.policy.apex-pdp.tools</groupId>
183             <artifactId>simple-wsclient</artifactId>
184             <version>${project.version}</version>
185         </dependency>
186         <dependency>
187             <groupId>org.onap.policy.apex-pdp.tools</groupId>
188             <artifactId>model-generator</artifactId>
189             <version>${project.version}</version>
190         </dependency>
191
192         <!-- Test Data used by examples -->
193         <dependency>
194             <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
195             <artifactId>integration-common</artifactId>
196             <version>${project.version}</version>
197         </dependency>
198
199         <!-- Sample Examples -->
200         <dependency>
201             <groupId>org.onap.policy.apex-pdp.examples</groupId>
202             <artifactId>examples-aadm</artifactId>
203             <version>${project.version}</version>
204         </dependency>
205         <dependency>
206             <groupId>org.onap.policy.apex-pdp.examples</groupId>
207             <artifactId>examples-adaptive</artifactId>
208             <version>${project.version}</version>
209         </dependency>
210         <dependency>
211             <groupId>org.onap.policy.apex-pdp.examples</groupId>
212             <artifactId>examples-myfirstpolicy</artifactId>
213             <version>${project.version}</version>
214         </dependency>
215         <dependency>
216             <groupId>org.onap.policy.apex-pdp.examples</groupId>
217             <artifactId>examples-pcvs</artifactId>
218             <version>${project.version}</version>
219         </dependency>
220         <dependency>
221             <groupId>org.onap.policy.apex-pdp.examples</groupId>
222             <artifactId>examples-decisionmaker</artifactId>
223             <version>${project.version}</version>
224         </dependency>
225         <dependency>
226             <groupId>org.onap.policy.apex-pdp.examples</groupId>
227             <artifactId>examples-periodic</artifactId>
228             <version>${project.version}</version>
229         </dependency>
230         <dependency>
231             <groupId>org.onap.policy.apex-pdp.examples</groupId>
232             <artifactId>examples-onap-vcpe</artifactId>
233             <version>${project.version}</version>
234         </dependency>
235         <dependency>
236             <groupId>org.onap.policy.apex-pdp.examples</groupId>
237             <artifactId>examples-onap-bbs</artifactId>
238             <version>${project.version}</version>
239         </dependency>
240         <dependency>
241             <groupId>org.onap.policy.apex-pdp.examples</groupId>
242             <artifactId>examples-grpc</artifactId>
243             <version>${project.version}</version>
244         </dependency>
245     </dependencies>
246
247     <build>
248         <plugins>
249             <!-- Copy required resources and examples -->
250             <plugin>
251                 <groupId>org.apache.maven.plugins</groupId>
252                 <artifactId>maven-dependency-plugin</artifactId>
253                 <executions>
254                     <execution>
255                         <id>unpack-etc-examples</id>
256                         <phase>package</phase>
257                         <goals>
258                             <goal>unpack</goal>
259                         </goals>
260                         <configuration>
261                             <artifactItems>
262                                 <artifactItem>
263                                     <groupId>org.onap.policy.apex-pdp.services</groupId>
264                                     <artifactId>services-onappf</artifactId>
265                                     <version>${project.version}</version>
266                                     <type>jar</type>
267                                     <overWrite>false</overWrite>
268                                     <outputDirectory>${project.build.directory}/etc/onappf</outputDirectory>
269                                     <includes>config/*</includes>
270                                 </artifactItem>
271                                 <artifactItem>
272                                     <groupId>org.onap.policy.apex-pdp.auth</groupId>
273                                     <artifactId>cli-editor</artifactId>
274                                     <version>${project.version}</version>
275                                     <type>jar</type>
276                                     <overWrite>false</overWrite>
277                                     <outputDirectory>${project.build.directory}</outputDirectory>
278                                     <includes>etc/**/*,examples/**/*</includes>
279                                 </artifactItem>
280                                 <artifactItem>
281                                     <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
282                                     <artifactId>integration-common</artifactId>
283                                     <version>${project.version}</version>
284                                     <type>jar</type>
285                                     <overWrite>false</overWrite>
286                                     <outputDirectory>${project.build.directory}</outputDirectory>
287                                     <includes>etc/**/*,examples/**/*</includes>
288                                 </artifactItem>
289                                 <artifactItem>
290                                     <groupId>org.onap.policy.apex-pdp.testsuites.performance</groupId>
291                                     <artifactId>performance-benchmark-test</artifactId>
292                                     <version>${project.version}</version>
293                                     <type>jar</type>
294                                     <overWrite>false</overWrite>
295                                     <outputDirectory>${project.build.directory}</outputDirectory>
296                                     <includes>examples/**/*</includes>
297                                 </artifactItem>
298                                 <artifactItem>
299                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
300                                     <artifactId>examples-aadm</artifactId>
301                                     <version>${project.version}</version>
302                                     <type>jar</type>
303                                     <overWrite>false</overWrite>
304                                     <outputDirectory>${project.build.directory}</outputDirectory>
305                                     <includes>etc/**/*,examples/**/*</includes>
306                                 </artifactItem>
307                                 <artifactItem>
308                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
309                                     <artifactId>examples-adaptive</artifactId>
310                                     <version>${project.version}</version>
311                                     <type>jar</type>
312                                     <overWrite>false</overWrite>
313                                     <outputDirectory>${project.build.directory}</outputDirectory>
314                                     <includes>etc/**/*,examples/**/*</includes>
315                                 </artifactItem>
316                                 <artifactItem>
317                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
318                                     <artifactId>examples-myfirstpolicy</artifactId>
319                                     <version>${project.version}</version>
320                                     <type>jar</type>
321                                     <overWrite>false</overWrite>
322                                     <outputDirectory>${project.build.directory}</outputDirectory>
323                                     <includes>etc/**/*,examples/**/*</includes>
324                                 </artifactItem>
325                                 <artifactItem>
326                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
327                                     <artifactId>examples-pcvs</artifactId>
328                                     <version>${project.version}</version>
329                                     <type>jar</type>
330                                     <overWrite>false</overWrite>
331                                     <outputDirectory>${project.build.directory}</outputDirectory>
332                                     <includes>etc/**/*,examples/**/*</includes>
333                                 </artifactItem>
334                                 <artifactItem>
335                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
336                                     <artifactId>examples-decisionmaker</artifactId>
337                                     <version>${project.version}</version>
338                                     <type>jar</type>
339                                     <overWrite>false</overWrite>
340                                     <outputDirectory>${project.build.directory}</outputDirectory>
341                                     <includes>etc/**/*,examples/**/*</includes>
342                                 </artifactItem>
343                                 <artifactItem>
344                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
345                                     <artifactId>examples-decisionmaker</artifactId>
346                                     <version>${project.version}</version>
347                                     <type>jar</type>
348                                     <overWrite>false</overWrite>
349                                     <outputDirectory>${project.build.directory}/examples/models/DecisionMaker</outputDirectory>
350                                     <includes>*PolicyModel.json</includes>
351                                 </artifactItem>
352                                 <artifactItem>
353                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
354                                     <artifactId>examples-periodic</artifactId>
355                                     <version>${project.version}</version>
356                                     <type>jar</type>
357                                     <overWrite>false</overWrite>
358                                     <outputDirectory>${project.build.directory}</outputDirectory>
359                                     <includes>etc/**/*,examples/**/*</includes>
360                                 </artifactItem>
361                                 <artifactItem>
362                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
363                                     <artifactId>examples-periodic</artifactId>
364                                     <version>${project.version}</version>
365                                     <type>jar</type>
366                                     <overWrite>false</overWrite>
367                                     <outputDirectory>${project.build.directory}/examples/models/Periodic</outputDirectory>
368                                     <includes>PeriodicPolicyModel.json</includes>
369                                 </artifactItem>
370                                 <artifactItem>
371                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
372                                     <artifactId>examples-onap-vcpe</artifactId>
373                                     <version>${project.version}</version>
374                                     <type>jar</type>
375                                     <overWrite>false</overWrite>
376                                     <outputDirectory>${project.build.directory}</outputDirectory>
377                                     <includes>etc/**/*,examples/**/*</includes>
378                                 </artifactItem>
379                                 <artifactItem>
380                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
381                                     <artifactId>examples-onap-vcpe</artifactId>
382                                     <version>${project.version}</version>
383                                     <type>jar</type>
384                                     <overWrite>false</overWrite>
385                                     <outputDirectory>${project.build.directory}/examples/models/ONAPvCPE</outputDirectory>
386                                     <includes>ONAPvCPEPolicyModel.json</includes>
387                                 </artifactItem>
388                                 <artifactItem>
389                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
390                                     <artifactId>examples-onap-bbs</artifactId>
391                                     <version>${project.version}</version>
392                                     <type>jar</type>
393                                     <overWrite>false</overWrite>
394                                     <outputDirectory>${project.build.directory}</outputDirectory>
395                                     <includes>etc/**/*,examples/**/*</includes>
396                                 </artifactItem>
397                                 <artifactItem>
398                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
399                                     <artifactId>examples-onap-bbs</artifactId>
400                                     <version>${project.version}</version>
401                                     <type>jar</type>
402                                     <overWrite>false</overWrite>
403                                     <outputDirectory>${project.build.directory}/examples/models/ONAPBBS</outputDirectory>
404                                     <includes>NomadicONTPolicyModel.json</includes>
405                                 </artifactItem>
406                                 <artifactItem>
407                                     <groupId>org.onap.policy.apex-pdp.tools</groupId>
408                                     <artifactId>tools-common</artifactId>
409                                     <version>${project.version}</version>
410                                     <type>jar</type>
411                                     <overWrite>false</overWrite>
412                                     <outputDirectory>${project.build.directory}/etc</outputDirectory>
413                                     <includes>/app-version.txt</includes>
414                                 </artifactItem>
415                                 <artifactItem>
416                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
417                                     <artifactId>examples-grpc</artifactId>
418                                     <version>${project.version}</version>
419                                     <type>jar</type>
420                                     <overWrite>false</overWrite>
421                                     <outputDirectory>${project.build.directory}</outputDirectory>
422                                     <includes>etc/**/*,examples/**/*</includes>
423                                 </artifactItem>
424                                 <artifactItem>
425                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
426                                     <artifactId>examples-grpc</artifactId>
427                                     <version>${project.version}</version>
428                                     <type>jar</type>
429                                     <overWrite>false</overWrite>
430                                     <outputDirectory>${project.build.directory}/examples/models/APEXgRPC</outputDirectory>
431                                     <includes>APEXgRPCPolicy.json</includes>
432                                 </artifactItem>
433                             </artifactItems>
434                             <overWriteReleases>true</overWriteReleases>
435                             <overWriteSnapshots>true</overWriteSnapshots>
436                         </configuration>
437                     </execution>
438                     <execution>
439                         <id>copy-fat-jars</id>
440                         <phase>package</phase>
441                         <goals>
442                             <goal>copy</goal>
443                         </goals>
444                         <configuration>
445                             <artifactItems>
446                                 <artifactItem>
447                                     <groupId>org.onap.policy.apex-pdp.tools</groupId>
448                                     <artifactId>simple-wsclient</artifactId>
449                                     <version>${project.version}</version>
450                                     <type>jar</type>
451                                     <classifier>jar-with-dependencies</classifier>
452                                     <outputDirectory>${project.build.directory}/lib/applications</outputDirectory>
453                                 </artifactItem>
454                             </artifactItems>
455                             <overWriteReleases>true</overWriteReleases>
456                             <overWriteSnapshots>true</overWriteSnapshots>
457                         </configuration>
458                     </execution>
459
460                 </executions>
461             </plugin>
462
463             <!-- Build the tar ball -->
464             <plugin>
465                 <groupId>org.apache.maven.plugins</groupId>
466                 <artifactId>maven-assembly-plugin</artifactId>
467                 <executions>
468                     <execution>
469                         <id>generate-complete-tar</id>
470                         <phase>package</phase>
471                         <goals>
472                             <goal>single</goal>
473                         </goals>
474                         <configuration>
475                             <descriptors>
476                                 <descriptor>src/main/package/tarball/assembly.xml</descriptor>
477                             </descriptors>
478                             <finalName>${project.artifactId}-${project.version}</finalName>
479                             <appendAssemblyId>false</appendAssemblyId>
480                         </configuration>
481                     </execution>
482                 </executions>
483             </plugin>
484             <plugin>
485                 <artifactId>maven-antrun-plugin</artifactId>
486                 <executions>
487                     <execution>
488                         <phase>package</phase>
489                         <configuration>
490                             <tasks>
491                                 <untar
492                                     src="${project.build.directory}/${project.artifactId}-${project.version}.tar.gz"
493                                     dest="${project.build.directory}/install_hierarchy" compression="gzip" />
494                             </tasks>
495                         </configuration>
496                         <goals>
497                             <goal>run</goal>
498                         </goals>
499                     </execution>
500                     <execution>
501                         <id>fix-permissions</id>
502                         <phase>package</phase>
503                         <configuration>
504                             <tasks>
505                                 <chmod file="${project.build.directory}/install_hierarchy/bin/*" perm="755" />
506                             </tasks>
507                         </configuration>
508                         <goals>
509                             <goal>run</goal>
510                         </goals>
511                     </execution>
512                 </executions>
513             </plugin>
514             <!-- Build the dpkg distribution -->
515             <plugin>
516                 <groupId>org.vafer</groupId>
517                 <artifactId>jdeb</artifactId>
518                 <version>1.5</version>
519                 <executions>
520                     <execution>
521                         <phase>package</phase>
522                         <goals>
523                             <goal>jdeb</goal>
524                         </goals>
525                         <configuration>
526                             <deb>${project.build.directory}/${project.artifactId}-${project.version}.deb</deb>
527                             <controlDir>${basedir}/src/main/package/control</controlDir>
528                             <dataSet>
529                                 <!-- Copy the Apex run time configuration -->
530                                 <data>
531                                     <src>${project.build.directory}/install_hierarchy/lib</src>
532                                     <type>directory</type>
533                                     <dst>lib</dst>
534                                     <mapper>
535                                         <type>perm</type>
536                                         <prefix>/opt/app/policy/${project.artifactId}-${project.version}/lib</prefix>
537                                         <filemode>755</filemode>
538                                     </mapper>
539                                 </data>
540                                 <data>
541                                     <src>${project.build.directory}/install_hierarchy/bin</src>
542                                     <type>directory</type>
543                                     <dst>etc</dst>
544                                     <mapper>
545                                         <type>perm</type>
546                                         <prefix>/opt/app/policy/${project.artifactId}-${project.version}/bin</prefix>
547                                     </mapper>
548                                 </data>
549                                 <data>
550                                     <src>${project.build.directory}/install_hierarchy/etc</src>
551                                     <type>directory</type>
552                                     <dst>etc</dst>
553                                     <mapper>
554                                         <type>perm</type>
555                                         <prefix>/opt/app/policy/${project.artifactId}-${project.version}/etc</prefix>
556                                     </mapper>
557                                 </data>
558                                 <data>
559                                     <src>${project.build.directory}/install_hierarchy/examples</src>
560                                     <type>directory</type>
561                                     <dst>etc</dst>
562                                     <mapper>
563                                         <type>perm</type>
564                                         <prefix>/opt/app/policy/${project.artifactId}-${project.version}/examples</prefix>
565                                     </mapper>
566                                 </data>
567                             </dataSet>
568                         </configuration>
569                     </execution>
570                 </executions>
571             </plugin>
572         </plugins>
573     </build>
574     <profiles>
575         <profile>
576             <id>only-eclipse</id>
577             <activation>
578                 <property>
579                     <name>m2e.version</name>
580                 </property>
581             </activation>
582             <build>
583                 <pluginManagement>
584                     <plugins>
585                         <plugin>
586                             <groupId>org.eclipse.m2e</groupId>
587                             <artifactId>lifecycle-mapping</artifactId>
588                             <configuration>
589                                 <lifecycleMappingMetadata>
590                                     <pluginExecutions>
591                                         <pluginExecution>
592                                             <pluginExecutionFilter>
593                                                 <groupId>org.apache.maven.plugins</groupId>
594                                                 <artifactId>maven-dependency-plugin</artifactId>
595                                                 <versionRange>[2.0,)</versionRange>
596                                                 <goals>
597                                                     <goal>unpack</goal>
598                                                     <goal>copy</goal>
599                                                 </goals>
600                                             </pluginExecutionFilter>
601                                             <action>
602                                                 <ignore />
603                                             </action>
604                                         </pluginExecution>
605                                     </pluginExecutions>
606                                 </lifecycleMappingMetadata>
607                             </configuration>
608                         </plugin>
609                     </plugins>
610                 </pluginManagement>
611             </build>
612         </profile>
613     </profiles>
614 </project>