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