Merge "rename metrics as per global constants for prometheus"
[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, 2022 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.7.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         <filters>
249             <filter>src/main/resources/properties/db.properties</filter>
250         </filters>
251         <resources>
252             <resource>
253                 <directory>src/main/resources/META-INF</directory>
254                 <filtering>true</filtering>
255                 <includes>
256                     <include>**/*.xml</include>
257                 </includes>
258             </resource>
259         </resources>
260         <plugins>
261             <!-- Copy required resources and examples -->
262             <plugin>
263                 <groupId>org.apache.maven.plugins</groupId>
264                 <artifactId>maven-dependency-plugin</artifactId>
265                 <executions>
266                     <execution>
267                         <id>unpack-etc-examples</id>
268                         <phase>package</phase>
269                         <goals>
270                             <goal>unpack</goal>
271                         </goals>
272                         <configuration>
273                             <artifactItems>
274                                 <artifactItem>
275                                     <groupId>org.onap.policy.apex-pdp.services</groupId>
276                                     <artifactId>services-onappf</artifactId>
277                                     <version>${project.version}</version>
278                                     <type>jar</type>
279                                     <overWrite>false</overWrite>
280                                     <outputDirectory>${project.build.directory}/etc/onappf</outputDirectory>
281                                     <includes>config/*</includes>
282                                 </artifactItem>
283                                 <artifactItem>
284                                     <groupId>org.onap.policy.apex-pdp.auth</groupId>
285                                     <artifactId>cli-editor</artifactId>
286                                     <version>${project.version}</version>
287                                     <type>jar</type>
288                                     <overWrite>false</overWrite>
289                                     <outputDirectory>${project.build.directory}</outputDirectory>
290                                     <includes>etc/**/*,examples/**/*</includes>
291                                 </artifactItem>
292                                 <artifactItem>
293                                     <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId>
294                                     <artifactId>integration-common</artifactId>
295                                     <version>${project.version}</version>
296                                     <type>jar</type>
297                                     <overWrite>false</overWrite>
298                                     <outputDirectory>${project.build.directory}</outputDirectory>
299                                     <includes>etc/**/*,examples/**/*</includes>
300                                 </artifactItem>
301                                 <artifactItem>
302                                     <groupId>org.onap.policy.apex-pdp.testsuites.performance</groupId>
303                                     <artifactId>performance-benchmark-test</artifactId>
304                                     <version>${project.version}</version>
305                                     <type>jar</type>
306                                     <overWrite>false</overWrite>
307                                     <outputDirectory>${project.build.directory}</outputDirectory>
308                                     <includes>examples/**/*</includes>
309                                 </artifactItem>
310                                 <artifactItem>
311                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
312                                     <artifactId>examples-aadm</artifactId>
313                                     <version>${project.version}</version>
314                                     <type>jar</type>
315                                     <overWrite>false</overWrite>
316                                     <outputDirectory>${project.build.directory}</outputDirectory>
317                                     <includes>etc/**/*,examples/**/*</includes>
318                                 </artifactItem>
319                                 <artifactItem>
320                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
321                                     <artifactId>examples-adaptive</artifactId>
322                                     <version>${project.version}</version>
323                                     <type>jar</type>
324                                     <overWrite>false</overWrite>
325                                     <outputDirectory>${project.build.directory}</outputDirectory>
326                                     <includes>etc/**/*,examples/**/*</includes>
327                                 </artifactItem>
328                                 <artifactItem>
329                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
330                                     <artifactId>examples-myfirstpolicy</artifactId>
331                                     <version>${project.version}</version>
332                                     <type>jar</type>
333                                     <overWrite>false</overWrite>
334                                     <outputDirectory>${project.build.directory}</outputDirectory>
335                                     <includes>etc/**/*,examples/**/*</includes>
336                                 </artifactItem>
337                                 <artifactItem>
338                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
339                                     <artifactId>examples-pcvs</artifactId>
340                                     <version>${project.version}</version>
341                                     <type>jar</type>
342                                     <overWrite>false</overWrite>
343                                     <outputDirectory>${project.build.directory}</outputDirectory>
344                                     <includes>etc/**/*,examples/**/*</includes>
345                                 </artifactItem>
346                                 <artifactItem>
347                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
348                                     <artifactId>examples-decisionmaker</artifactId>
349                                     <version>${project.version}</version>
350                                     <type>jar</type>
351                                     <overWrite>false</overWrite>
352                                     <outputDirectory>${project.build.directory}</outputDirectory>
353                                     <includes>etc/**/*,examples/**/*</includes>
354                                 </artifactItem>
355                                 <artifactItem>
356                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
357                                     <artifactId>examples-decisionmaker</artifactId>
358                                     <version>${project.version}</version>
359                                     <type>jar</type>
360                                     <overWrite>false</overWrite>
361                                     <outputDirectory>${project.build.directory}/examples/models/DecisionMaker</outputDirectory>
362                                     <includes>*PolicyModel.json</includes>
363                                 </artifactItem>
364                                 <artifactItem>
365                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
366                                     <artifactId>examples-periodic</artifactId>
367                                     <version>${project.version}</version>
368                                     <type>jar</type>
369                                     <overWrite>false</overWrite>
370                                     <outputDirectory>${project.build.directory}</outputDirectory>
371                                     <includes>etc/**/*,examples/**/*</includes>
372                                 </artifactItem>
373                                 <artifactItem>
374                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
375                                     <artifactId>examples-periodic</artifactId>
376                                     <version>${project.version}</version>
377                                     <type>jar</type>
378                                     <overWrite>false</overWrite>
379                                     <outputDirectory>${project.build.directory}/examples/models/Periodic</outputDirectory>
380                                     <includes>PeriodicPolicyModel.json</includes>
381                                 </artifactItem>
382                                 <artifactItem>
383                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
384                                     <artifactId>examples-onap-vcpe</artifactId>
385                                     <version>${project.version}</version>
386                                     <type>jar</type>
387                                     <overWrite>false</overWrite>
388                                     <outputDirectory>${project.build.directory}</outputDirectory>
389                                     <includes>etc/**/*,examples/**/*</includes>
390                                 </artifactItem>
391                                 <artifactItem>
392                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
393                                     <artifactId>examples-onap-vcpe</artifactId>
394                                     <version>${project.version}</version>
395                                     <type>jar</type>
396                                     <overWrite>false</overWrite>
397                                     <outputDirectory>${project.build.directory}/examples/models/ONAPvCPE</outputDirectory>
398                                     <includes>ONAPvCPEPolicyModel.json</includes>
399                                 </artifactItem>
400                                 <artifactItem>
401                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
402                                     <artifactId>examples-onap-bbs</artifactId>
403                                     <version>${project.version}</version>
404                                     <type>jar</type>
405                                     <overWrite>false</overWrite>
406                                     <outputDirectory>${project.build.directory}</outputDirectory>
407                                     <includes>etc/**/*,examples/**/*</includes>
408                                 </artifactItem>
409                                 <artifactItem>
410                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
411                                     <artifactId>examples-onap-bbs</artifactId>
412                                     <version>${project.version}</version>
413                                     <type>jar</type>
414                                     <overWrite>false</overWrite>
415                                     <outputDirectory>${project.build.directory}/examples/models/ONAPBBS</outputDirectory>
416                                     <includes>NomadicONTPolicyModel.json</includes>
417                                 </artifactItem>
418                                 <artifactItem>
419                                     <groupId>org.onap.policy.apex-pdp.tools</groupId>
420                                     <artifactId>tools-common</artifactId>
421                                     <version>${project.version}</version>
422                                     <type>jar</type>
423                                     <overWrite>false</overWrite>
424                                     <outputDirectory>${project.build.directory}/etc</outputDirectory>
425                                     <includes>/app-version.txt</includes>
426                                 </artifactItem>
427                                 <artifactItem>
428                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
429                                     <artifactId>examples-grpc</artifactId>
430                                     <version>${project.version}</version>
431                                     <type>jar</type>
432                                     <overWrite>false</overWrite>
433                                     <outputDirectory>${project.build.directory}</outputDirectory>
434                                     <includes>etc/**/*,examples/**/*</includes>
435                                 </artifactItem>
436                                 <artifactItem>
437                                     <groupId>org.onap.policy.apex-pdp.examples</groupId>
438                                     <artifactId>examples-grpc</artifactId>
439                                     <version>${project.version}</version>
440                                     <type>jar</type>
441                                     <overWrite>false</overWrite>
442                                     <outputDirectory>${project.build.directory}/examples/models/APEXgRPC</outputDirectory>
443                                     <includes>APEXgRPCPolicy.json</includes>
444                                 </artifactItem>
445                             </artifactItems>
446                             <overWriteReleases>true</overWriteReleases>
447                             <overWriteSnapshots>true</overWriteSnapshots>
448                         </configuration>
449                     </execution>
450                     <execution>
451                         <id>copy-fat-jars</id>
452                         <phase>package</phase>
453                         <goals>
454                             <goal>copy</goal>
455                         </goals>
456                         <configuration>
457                             <artifactItems>
458                                 <artifactItem>
459                                     <groupId>org.onap.policy.apex-pdp.tools</groupId>
460                                     <artifactId>simple-wsclient</artifactId>
461                                     <version>${project.version}</version>
462                                     <type>jar</type>
463                                     <classifier>jar-with-dependencies</classifier>
464                                     <outputDirectory>${project.build.directory}/lib/applications</outputDirectory>
465                                 </artifactItem>
466                             </artifactItems>
467                             <overWriteReleases>true</overWriteReleases>
468                             <overWriteSnapshots>true</overWriteSnapshots>
469                         </configuration>
470                     </execution>
471
472                 </executions>
473             </plugin>
474
475             <!-- Build the tar ball -->
476             <plugin>
477                 <groupId>org.apache.maven.plugins</groupId>
478                 <artifactId>maven-assembly-plugin</artifactId>
479                 <executions>
480                     <execution>
481                         <id>generate-complete-tar</id>
482                         <phase>package</phase>
483                         <goals>
484                             <goal>single</goal>
485                         </goals>
486                         <configuration>
487                             <descriptors>
488                                 <descriptor>src/main/package/tarball/assembly.xml</descriptor>
489                             </descriptors>
490                             <finalName>${project.artifactId}-${project.version}</finalName>
491                             <appendAssemblyId>false</appendAssemblyId>
492                         </configuration>
493                     </execution>
494                 </executions>
495             </plugin>
496             <plugin>
497                 <artifactId>maven-antrun-plugin</artifactId>
498                 <executions>
499                     <execution>
500                         <phase>package</phase>
501                         <configuration>
502                             <tasks>
503                                 <untar
504                                     src="${project.build.directory}/${project.artifactId}-${project.version}.tar.gz"
505                                     dest="${project.build.directory}/install_hierarchy" compression="gzip" />
506                             </tasks>
507                         </configuration>
508                         <goals>
509                             <goal>run</goal>
510                         </goals>
511                     </execution>
512                     <execution>
513                         <id>fix-permissions</id>
514                         <phase>package</phase>
515                         <configuration>
516                             <tasks>
517                                 <chmod file="${project.build.directory}/install_hierarchy/bin/*" perm="755" />
518                             </tasks>
519                         </configuration>
520                         <goals>
521                             <goal>run</goal>
522                         </goals>
523                     </execution>
524                 </executions>
525             </plugin>
526             <!-- Build the dpkg distribution -->
527             <plugin>
528                 <groupId>org.vafer</groupId>
529                 <artifactId>jdeb</artifactId>
530                 <version>1.5</version>
531                 <executions>
532                     <execution>
533                         <phase>package</phase>
534                         <goals>
535                             <goal>jdeb</goal>
536                         </goals>
537                         <configuration>
538                             <deb>${project.build.directory}/${project.artifactId}-${project.version}.deb</deb>
539                             <controlDir>${basedir}/src/main/package/control</controlDir>
540                             <dataSet>
541                                 <!-- Copy the Apex run time configuration -->
542                                 <data>
543                                     <src>${project.build.directory}/install_hierarchy/lib</src>
544                                     <type>directory</type>
545                                     <dst>lib</dst>
546                                     <mapper>
547                                         <type>perm</type>
548                                         <prefix>/opt/app/policy/${project.artifactId}-${project.version}/lib</prefix>
549                                         <filemode>755</filemode>
550                                     </mapper>
551                                 </data>
552                                 <data>
553                                     <src>${project.build.directory}/install_hierarchy/bin</src>
554                                     <type>directory</type>
555                                     <dst>etc</dst>
556                                     <mapper>
557                                         <type>perm</type>
558                                         <prefix>/opt/app/policy/${project.artifactId}-${project.version}/bin</prefix>
559                                     </mapper>
560                                 </data>
561                                 <data>
562                                     <src>${project.build.directory}/install_hierarchy/etc</src>
563                                     <type>directory</type>
564                                     <dst>etc</dst>
565                                     <mapper>
566                                         <type>perm</type>
567                                         <prefix>/opt/app/policy/${project.artifactId}-${project.version}/etc</prefix>
568                                     </mapper>
569                                 </data>
570                                 <data>
571                                     <src>${project.build.directory}/install_hierarchy/examples</src>
572                                     <type>directory</type>
573                                     <dst>etc</dst>
574                                     <mapper>
575                                         <type>perm</type>
576                                         <prefix>/opt/app/policy/${project.artifactId}-${project.version}/examples</prefix>
577                                     </mapper>
578                                 </data>
579                             </dataSet>
580                         </configuration>
581                     </execution>
582                 </executions>
583             </plugin>
584         </plugins>
585     </build>
586     <profiles>
587         <profile>
588             <id>only-eclipse</id>
589             <activation>
590                 <property>
591                     <name>m2e.version</name>
592                 </property>
593             </activation>
594             <build>
595                 <pluginManagement>
596                     <plugins>
597                         <plugin>
598                             <groupId>org.eclipse.m2e</groupId>
599                             <artifactId>lifecycle-mapping</artifactId>
600                             <configuration>
601                                 <lifecycleMappingMetadata>
602                                     <pluginExecutions>
603                                         <pluginExecution>
604                                             <pluginExecutionFilter>
605                                                 <groupId>org.apache.maven.plugins</groupId>
606                                                 <artifactId>maven-dependency-plugin</artifactId>
607                                                 <versionRange>[2.0,)</versionRange>
608                                                 <goals>
609                                                     <goal>unpack</goal>
610                                                     <goal>copy</goal>
611                                                 </goals>
612                                             </pluginExecutionFilter>
613                                             <action>
614                                                 <ignore />
615                                             </action>
616                                         </pluginExecution>
617                                     </pluginExecutions>
618                                 </lifecycleMappingMetadata>
619                             </configuration>
620                         </plugin>
621                     </plugins>
622                 </pluginManagement>
623             </build>
624         </profile>
625     </profiles>
626 </project>