Re-enable signing and tycho-p2-plugin, switch website to antrun
[EMFCompare2.git] / org.eclipse.emf.compare-parent / pom.xml
blobb344279ba1b9d66ac59daffde0c9e9bd3ee8e60d
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    Copyright (C) 2011, 2015 Obeo
5    All rights reserved. This program and the accompanying materials
6    are made available under the terms of the Eclipse Public License v1.0
7    which accompanies this distribution, and is available at
8    http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
11   <modelVersion>4.0.0</modelVersion>
12   <prerequisites>
13     <maven>3.0</maven>
14   </prerequisites>
15   <groupId>org.eclipse.emf.compare</groupId>
16   <artifactId>emf.compare-parent</artifactId>
17   <version>3.3.9-SNAPSHOT</version>
18   <packaging>pom</packaging>
19   <licenses>
20     <license>
21       <name>Eclipse Public License v1.0</name>
22       <comments>
23         All rights reserved.
25         This program and the accompanying materials are made
26         available under the terms of the Eclipse Public License v1.0
27         which accompanies this distribution, and is available at
28         http://www.eclipse.org/legal/epl-v10.htm
29       </comments>
30     </license>
31   </licenses>
32   <properties>
33     <!-- Properties -->
34     <parent-version>3.3.9-SNAPSHOT</parent-version>
35     <source-java-version>1.7</source-java-version>
36     <target-java-version>${source-java-version}</target-java-version>
37     <java-source-encoding>UTF-8</java-source-encoding>
38     <resource-encoding>UTF-8</resource-encoding>
39     <os-jvm-flags/>
41     <!-- plugins versions -->
42     <!-- use 'mvn versions:display-plugin-updates' to check for the latest -->
43     <tycho-version>1.4.0</tycho-version>
44     <tycho-extras-version>1.4.0</tycho-extras-version>
45     <maven-resources-version>2.6</maven-resources-version>
46     <maven-antrun-version>1.7</maven-antrun-version>
47     <findbugs-maven-version>3.0.0</findbugs-maven-version>
48     <maven-pmd-version>3.1</maven-pmd-version>
49     <exec-maven-version>1.3.1</exec-maven-version>
50     <maven-compiler-version>3.1</maven-compiler-version>
51     <maven-assembly-version>2.4</maven-assembly-version>
52     <maven-jar-version>2.5</maven-jar-version>
53     <maven-checkstyle-version>2.12.1</maven-checkstyle-version>
54     <maven-clean-version>2.5</maven-clean-version>
55     <maven-deploy-version>2.8.1</maven-deploy-version>
56     <maven-install-version>2.5.1</maven-install-version>
57     <maven-site-version>3.4</maven-site-version>
58     <maven-surefire-version>2.17</maven-surefire-version>
59     <jacoco-maven-version>0.7.1.201405082137</jacoco-maven-version>
60     <eclipse-jarsigner-version>1.1.2</eclipse-jarsigner-version>
61     <maven-jxr-version>2.3</maven-jxr-version>
63     <!-- Sonar properties -->
64     <sonar.language>java</sonar.language>
65     <sonar.jacoco.reportPath>${project.basedir}/../../org.eclipse.emf.compare-parent/target/jacoco.exec</sonar.jacoco.reportPath>
66     <!--sonar.junit.reportsPath>../${project.artifactId}.tests/target/surefire-reports/</sonar.junit.reportsPath>
67     <sonar.skippedModules>plugin.tests</sonar.skippedModules-->
69     <!-- Performance plugin properties -->
70     <performance-suite>Performance</performance-suite>
71   </properties>
72   <!--
73     Platform-specific modules will be activated from the related profiles.
74     Here, we only define those modules that should build against every target platform.
75   -->
76   <modules>
77     <!-- This one must remain the first module in the list -->
78     <module>../packaging/org.eclipse.emf.compare.gendoc</module>
79     
80     <module>../packaging/org.eclipse.emf.compare.update</module>
81     
82     <module>../packaging/org.eclipse.emf.compare-feature</module>
83     <module>../plugins/org.eclipse.emf.compare</module>
84     <module>../plugins/org.eclipse.emf.compare.tests</module>
85     <module>../plugins/org.eclipse.emf.compare.doc</module>
86     
87     <module>../packaging/org.eclipse.emf.compare.ide.ui-feature</module>
88     <module>../plugins/org.eclipse.emf.compare.edit</module>
89     <module>../plugins/org.eclipse.emf.compare.ide</module>
90     <module>../plugins/org.eclipse.emf.compare.ide.ui</module>
91     <module>../plugins/org.eclipse.emf.compare.ide.ui.e4</module>
92     <module>../plugins/org.eclipse.emf.compare.ide.ui.tests</module>
93     <module>../plugins/org.eclipse.emf.compare.ide.ui.tests.framework</module>
94     <module>../plugins/org.eclipse.emf.compare.ide.ui.tests.git</module>
95     <module>../plugins/org.eclipse.emf.compare.ide.ui.tests.git.framework</module>
96     <module>../plugins/org.eclipse.emf.compare.ide.tests</module>
98     <module>../packaging/org.eclipse.emf.compare.rcp.ui-feature</module>
99     <module>../plugins/org.eclipse.emf.compare.rcp</module>
100     <module>../plugins/org.eclipse.emf.compare.rcp.tests</module>
101     <module>../plugins/org.eclipse.emf.compare.rcp.ui</module>
102     <module>../plugins/org.eclipse.emf.compare.rcp.ui.tests</module>
103     
104     <module>../packaging/org.eclipse.emf.compare.egit-feature</module>
105     <module>../plugins/org.eclipse.emf.compare.egit</module>
106     <module>../plugins/org.eclipse.emf.compare.egit.ui</module>
107     
108     <module>../packaging/org.eclipse.emf.compare.uml2-feature</module>
109     <module>../plugins/org.eclipse.emf.compare.uml2</module>
110     <module>../plugins/org.eclipse.emf.compare.uml2.edit</module>
111     <module>../plugins/org.eclipse.emf.compare.uml2.ide</module>
112     <module>../plugins/org.eclipse.emf.compare.uml2.ide.ui.tests</module>
113     <module>../plugins/org.eclipse.emf.compare.uml2.ide.tests</module>
114     <module>../plugins/org.eclipse.emf.compare.uml2.rcp</module>
115     <module>../plugins/org.eclipse.emf.compare.uml2.rcp.ui</module>
116     <module>../plugins/org.eclipse.emf.compare.uml2.rcp.ui.tests</module>
117     <module>../plugins/org.eclipse.emf.compare.uml2.tests</module>
118     
119     <module>../packaging/org.eclipse.emf.compare.diagram.gmf-feature</module>
120     <module>../plugins/org.eclipse.emf.compare.diagram</module>
121     <module>../plugins/org.eclipse.emf.compare.diagram.edit</module>
122     <module>../plugins/org.eclipse.emf.compare.diagram.ide.ui</module>
123     
124     <module>../packaging/org.eclipse.emf.compare.tests-feature</module>
125   </modules>
127   <build>
128    <!-- This is for checkstyle and PMD -->
129    <sourceDirectory>src</sourceDirectory>
131     <plugins>
132       <plugin>
133         <groupId>org.eclipse.tycho</groupId>
134         <artifactId>tycho-maven-plugin</artifactId>
135         <extensions>true</extensions>
136       </plugin>
137       <plugin>
138         <groupId>org.eclipse.tycho</groupId>
139         <artifactId>target-platform-configuration</artifactId>
140         <configuration>
141           <includePackedArtifacts>true</includePackedArtifacts>
142           <resolver>p2</resolver>
143           <environments>
144             <environment>
145               <os>win32</os>
146               <ws>win32</ws>
147               <arch>x86_64</arch>
148             </environment>
149             <environment>
150               <os>linux</os>
151               <ws>gtk</ws>
152               <arch>x86_64</arch>
153             </environment>
154             <environment>
155               <os>macosx</os>
156               <ws>cocoa</ws>
157               <arch>x86_64</arch>
158             </environment>
159           </environments>
160         </configuration>
161       </plugin>
162       <plugin>
163         <groupId>org.eclipse.tycho</groupId>
164         <artifactId>tycho-source-plugin</artifactId>
165         <version>${tycho-version}</version>
166         <configuration>
167           <archive>
168             <addMavenDescriptor>false</addMavenDescriptor>
169           </archive>
170         </configuration>
171         <executions>
172           <execution>
173             <id>plugin-source</id>
174             <goals>
175               <goal>plugin-source</goal>
176             </goals>
177           </execution>
178         </executions>
179       </plugin>
180       <plugin>
181         <groupId>org.eclipse.tycho.extras</groupId>
182         <artifactId>tycho-source-feature-plugin</artifactId>
183         <version>${tycho-extras-version}</version>
184         <configuration>
185           <archive>
186             <addMavenDescriptor>false</addMavenDescriptor>
187           </archive>
188         </configuration>
189         <executions>
190           <execution>
191             <id>source-feature</id>
192             <phase>package</phase>
193             <goals>
194               <goal>source-feature</goal>
195             </goals>
196           </execution>
197         </executions>
198       </plugin>
199     </plugins>
200     <pluginManagement>
201       <plugins>
202         <plugin>
203           <groupId>org.eclipse.tycho</groupId>
204           <artifactId>tycho-maven-plugin</artifactId>
205           <version>${tycho-version}</version>
206         </plugin>
207         <plugin>
208           <groupId>org.eclipse.tycho</groupId>
209           <artifactId>tycho-packaging-plugin</artifactId>
210           <version>${tycho-version}</version>
211           <configuration>
212             <archive>
213               <addMavenDescriptor>false</addMavenDescriptor>
214             </archive>
215           </configuration>
216         </plugin>
217         <plugin>
218           <groupId>org.eclipse.tycho</groupId>
219           <artifactId>target-platform-configuration</artifactId>
220           <version>${tycho-version}</version>
221         </plugin>
222         <plugin>
223           <groupId>org.eclipse.tycho</groupId>
224           <artifactId>tycho-compiler-plugin</artifactId>
225           <version>${tycho-version}</version>
226           <configuration>
227             <encoding>${java-source-encoding}</encoding>
228             <source>${source-java-version}</source>
229             <target>${target-java-version}</target>
230             <showWarnings>true</showWarnings>
231           </configuration>
232         </plugin>
233         <plugin>
234           <groupId>org.eclipse.tycho</groupId>
235           <artifactId>tycho-p2-plugin</artifactId>
236           <version>${tycho-version}</version>
237         </plugin>
238         <plugin>
239           <groupId>org.eclipse.tycho</groupId>
240           <artifactId>tycho-surefire-plugin</artifactId>
241           <version>${tycho-version}</version>
242           <configuration>
243             <argLine>${tycho.testArgLine} -Xms40m -Xmx1G ${os-jvm-flags}</argLine>
244           </configuration>
245         </plugin>
246         <plugin>
247           <groupId>org.eclipse.tycho</groupId>
248           <artifactId>tycho-p2-publisher-plugin</artifactId>
249           <version>${tycho-version}</version>
250         </plugin>
251         <plugin>
252           <groupId>org.eclipse.tycho</groupId>
253           <artifactId>tycho-p2-repository-plugin</artifactId>
254           <version>${tycho-version}</version>
255         </plugin>
256         <plugin>
257             <groupId>org.eclipse.tycho.extras</groupId>
258             <artifactId>tycho-pack200a-plugin</artifactId>
259             <version>${tycho-extras-version}</version>
260         </plugin>
261         <plugin>
262             <groupId>org.eclipse.tycho.extras</groupId>
263             <artifactId>tycho-pack200b-plugin</artifactId>
264             <version>${tycho-extras-version}</version>
265         </plugin>
266         <plugin>
267             <groupId>org.eclipse.cbi.maven.plugins</groupId>
268             <artifactId>eclipse-jarsigner-plugin</artifactId>
269             <version>${eclipse-jarsigner-version}</version>
270         </plugin>
271         <plugin>
272           <groupId>org.apache.maven.plugins</groupId>
273           <artifactId>maven-resources-plugin</artifactId>
274           <version>${maven-resources-version}</version>
275           <configuration>
276             <encoding>${resource-encoding}</encoding>
277           </configuration>
278         </plugin>
279         <plugin>
280           <groupId>org.apache.maven.plugins</groupId>
281           <artifactId>maven-antrun-plugin</artifactId>
282           <version>${maven-antrun-version}</version>
283         </plugin>
284         <plugin>
285           <groupId>org.codehaus.mojo</groupId>
286           <artifactId>findbugs-maven-plugin</artifactId>
287           <version>${findbugs-maven-version}</version>
288         </plugin>
289         <plugin>
290           <groupId>org.apache.maven.plugins</groupId>
291           <artifactId>maven-pmd-plugin</artifactId>
292           <version>${maven-pmd-version}</version>
293           <configuration>
294             <sourceEncoding>${java-source-encoding}</sourceEncoding>
295             <targetJdk>${target-java-version}</targetJdk>
296           </configuration>
297         </plugin>
298         <plugin>
299           <groupId>org.apache.maven.plugins</groupId>
300           <artifactId>maven-checkstyle-plugin</artifactId>
301           <version>${maven-checkstyle-version}</version>
302           <configuration>
303             <encoding>${java-source-encoding}</encoding>
304           </configuration>
305         </plugin>
306         <plugin>
307           <groupId>org.codehaus.mojo</groupId>
308           <artifactId>exec-maven-plugin</artifactId>
309           <version>${exec-maven-version}</version>
310         </plugin>
311         <plugin>
312           <groupId>org.apache.maven.plugins</groupId>
313           <artifactId>maven-compiler-plugin</artifactId>
314           <version>${maven-compiler-version}</version>
315         </plugin>
316         <plugin>
317           <groupId>org.jacoco</groupId>
318           <artifactId>jacoco-maven-plugin</artifactId>
319           <version>${jacoco-maven-version}</version>
320         </plugin>
321         <plugin>
322           <groupId>org.apache.maven.plugins</groupId>
323           <artifactId>maven-jar-plugin</artifactId>
324           <version>${maven-jar-version}</version>
325         </plugin>
326         <plugin>
327           <groupId>org.apache.maven.plugins</groupId>
328           <artifactId>maven-assembly-plugin</artifactId>
329           <version>${maven-assembly-version}</version>
330         </plugin>
331         <plugin>
332           <groupId>org.apache.maven.plugins</groupId>
333           <artifactId>maven-clean-plugin</artifactId>
334           <version>${maven-clean-version}</version>
335         </plugin>
336         <plugin>
337           <groupId>org.apache.maven.plugins</groupId>
338           <artifactId>maven-deploy-plugin</artifactId>
339           <version>${maven-deploy-version}</version>
340         </plugin>
341         <plugin>
342           <groupId>org.apache.maven.plugins</groupId>
343           <artifactId>maven-install-plugin</artifactId>
344           <version>${maven-install-version}</version>
345         </plugin>
346         <plugin>
347           <groupId>org.apache.maven.plugins</groupId>
348           <artifactId>maven-site-plugin</artifactId>
349           <version>${maven-site-version}</version>
350         </plugin>
351         <plugin>
352           <groupId>org.apache.maven.plugins</groupId>
353           <artifactId>maven-surefire-plugin</artifactId>
354           <version>${maven-surefire-version}</version>
355         </plugin>
356         <plugin>
357           <groupId>org.apache.maven.plugins</groupId>
358           <artifactId>maven-jxr-plugin</artifactId>
359           <version>${maven-jxr-version}</version>
360         </plugin>
361       </plugins>
362     </pluginManagement>
363   </build>
364   <profiles>
365     <!-- Target platforms are located in org.eclipse.emf.compare-parent/targetPlatforms. -->
366     <profile>
367       <id>2019-06</id>
368       <activation>
369         <activeByDefault>true</activeByDefault>
370       </activation>
371       <build>
372         <plugins>
373           <plugin>
374             <groupId>org.eclipse.tycho</groupId>
375             <artifactId>target-platform-configuration</artifactId>
376             <configuration>
377               <target>
378                 <artifact>
379                   <groupId>org.eclipse.emf.compare</groupId>
380                   <artifactId>emf.compare-parent</artifactId>
381                   <version>${parent-version}</version>
382                   <classifier>targetPlatforms/2019-06-sdk</classifier>
383                 </artifact>
384               </target>
385             </configuration>
386           </plugin>
387         </plugins>
388       </build>
389     </profile>
390     <profile>
391       <id>oxygen</id>
392       <build>
393         <plugins>
394           <plugin>
395             <groupId>org.eclipse.tycho</groupId>
396             <artifactId>target-platform-configuration</artifactId>
397             <configuration>
398               <target>
399                 <artifact>
400                   <groupId>org.eclipse.emf.compare</groupId>
401                   <artifactId>emf.compare-parent</artifactId>
402                   <version>${parent-version}</version>
403                   <classifier>targetPlatforms/oxygen-sdk</classifier>
404                 </artifact>
405               </target>
406             </configuration>
407           </plugin>
408         </plugins>
409       </build>
410     </profile>
411     <profile>
412       <id>neon</id>
413       <activation>
414         <activeByDefault>false</activeByDefault>
415       </activation>
416       <build>
417         <plugins>
418           <plugin>
419             <groupId>org.eclipse.tycho</groupId>
420             <artifactId>target-platform-configuration</artifactId>
421             <configuration>
422               <target>
423                 <artifact>
424                   <groupId>org.eclipse.emf.compare</groupId>
425                   <artifactId>emf.compare-parent</artifactId>
426                   <version>${parent-version}</version>
427                   <classifier>targetPlatforms/neon-sdk</classifier>
428                 </artifact>
429               </target>
430             </configuration>
431           </plugin>
432         </plugins>
433       </build>
434     </profile>
435     <profile>
436       <id>mars</id>
437       <activation>
438         <activeByDefault>false</activeByDefault>
439       </activation>
440       <build>
441         <plugins>
442           <plugin>
443             <groupId>org.eclipse.tycho</groupId>
444             <artifactId>target-platform-configuration</artifactId>
445             <configuration>
446               <target>
447                 <artifact>
448                   <groupId>org.eclipse.emf.compare</groupId>
449                   <artifactId>emf.compare-parent</artifactId>
450                   <version>${parent-version}</version>
451                   <classifier>targetPlatforms/mars-sdk</classifier>
452                 </artifact>
453               </target>
454             </configuration>
455           </plugin>
456         </plugins>
457       </build>
458     </profile>
459     <profile>
460       <id>luna</id>
461       <activation>
462         <activeByDefault>false</activeByDefault>
463       </activation>
464       <build>
465         <plugins>
466           <plugin>
467             <groupId>org.eclipse.tycho</groupId>
468             <artifactId>target-platform-configuration</artifactId>
469             <configuration>
470               <target>
471                 <artifact>
472                   <groupId>org.eclipse.emf.compare</groupId>
473                   <artifactId>emf.compare-parent</artifactId>
474                   <version>${parent-version}</version>
475                   <classifier>targetPlatforms/luna-sdk</classifier>
476                 </artifact>
477               </target>
478             </configuration>
479           </plugin>
480         </plugins>
481       </build>
482     </profile>
483     <!--
484         The "extras" profiles can be used to build the supports for external tools such as Sirius.
485         You will need to activate both the "extra-modules" profile and one of the "<platform_name>-extras" profiles.
486     -->
487     <profile>
488       <id>extra-modules</id>
489       <modules>
490         <module>../packaging/org.eclipse.emf.compare.update.extras</module>
491         
492         <module>../packaging/org.eclipse.emf.compare.diagram.sirius-feature</module>
493         <module>../plugins/org.eclipse.emf.compare.diagram.sirius</module>
494         <module>../plugins/org.eclipse.emf.compare.diagram.ide.ui.sirius</module>
495       </modules>
496     </profile>
497     <profile>
498       <id>2019-06-extras</id>
499       <build>
500         <plugins>
501           <plugin>
502             <groupId>org.eclipse.tycho</groupId>
503             <artifactId>target-platform-configuration</artifactId>
504             <configuration>
505               <target>
506                 <artifact>
507                   <groupId>org.eclipse.emf.compare</groupId>
508                   <artifactId>emf.compare-parent</artifactId>
509                   <version>${parent-version}</version>
510                   <classifier>targetPlatforms/extras/2019-06-extras-sdk</classifier>
511                 </artifact>
512               </target>
513             </configuration>
514           </plugin>
515         </plugins>
516       </build>
517     </profile>
518     <profile>
519       <id>oxygen-extras</id>
520       <build>
521         <plugins>
522           <plugin>
523             <groupId>org.eclipse.tycho</groupId>
524             <artifactId>target-platform-configuration</artifactId>
525             <configuration>
526               <target>
527                 <artifact>
528                   <groupId>org.eclipse.emf.compare</groupId>
529                   <artifactId>emf.compare-parent</artifactId>
530                   <version>${parent-version}</version>
531                   <classifier>targetPlatforms/extras/oxygen-extras-sdk</classifier>
532                 </artifact>
533               </target>
534             </configuration>
535           </plugin>
536         </plugins>
537       </build>
538     </profile>
539     
540     <profile>
541       <id>sign</id>
542       <activation>
543         <activeByDefault>false</activeByDefault>
544       </activation>
545       <build>
546         <plugins>
547           <plugin>
548             <groupId>org.eclipse.tycho.extras</groupId>
549             <artifactId>tycho-pack200a-plugin</artifactId>
550             <executions>
551               <execution>
552                 <id>pack200-normalize</id>
553                 <goals>
554                   <goal>normalize</goal>
555                 </goals>
556                 <phase>package</phase>
557               </execution>
558             </executions>
559           </plugin>
560           <plugin>
561             <groupId>org.eclipse.cbi.maven.plugins</groupId>
562             <artifactId>eclipse-jarsigner-plugin</artifactId>
563             <executions>
564               <execution>
565                 <id>sign</id>
566                 <phase>package</phase>
567                 <goals>
568                   <goal>sign</goal>
569                 </goals>
570               </execution>
571             </executions>
572           </plugin>
573           <plugin>
574             <groupId>org.eclipse.tycho.extras</groupId>
575             <artifactId>tycho-pack200b-plugin</artifactId>
576             <executions>
577               <execution>
578                 <id>pack200-pack</id>
579                 <goals>
580                   <goal>pack</goal>
581                 </goals>
582                 <phase>package</phase>
583               </execution>
584             </executions>
585           </plugin>
586           <plugin>
587             <groupId>org.eclipse.tycho</groupId>
588             <artifactId>tycho-p2-plugin</artifactId>
589             <executions>
590               <execution>
591                 <id>p2-metadata</id>
592                 <goals>
593                   <goal>p2-metadata</goal>
594                 </goals>
595                 <phase>verify</phase>
596               </execution>
597             </executions>
598             <configuration>
599               <defaultP2Metadata>false</defaultP2Metadata>
600             </configuration>
601           </plugin>
602         </plugins>
603       </build>
604       <pluginRepositories>
605         <pluginRepository>
606           <id>cbi</id>
607           <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
608           <releases>
609             <enabled>true</enabled>
610           </releases>
611           <snapshots>
612             <enabled>false</enabled>
613           </snapshots>
614         </pluginRepository>
615       </pluginRepositories>
616     </profile>
617     <!-- use this profile if you need to launch sonar or other quality-related plugins on the built artifacts. -->
618     <profile>
619       <id>quality</id>
620       <activation>
621         <activeByDefault>false</activeByDefault>
622       </activation>
623       <build>
624         <plugins>
625           <plugin>
626             <groupId>org.apache.maven.plugins</groupId>
627             <artifactId>maven-checkstyle-plugin</artifactId>
628             <executions>
629               <execution>
630                 <id>checkstyle</id>
631                 <phase>verify</phase>
632                 <goals>
633                   <goal>checkstyle</goal>
634                 </goals>
635                 <configuration>
636                   <configLocation>${project.basedir}/../../org.eclipse.emf.compare-parent/codeStyle/EMFCompareCheckstyle5Configuration.xml</configLocation>
637                 </configuration>
638               </execution>
639             </executions>
640           </plugin>
641           <plugin>
642             <groupId>org.codehaus.mojo</groupId>
643             <artifactId>findbugs-maven-plugin</artifactId>
644             <configuration>
645               <xmlOutput>true</xmlOutput>
646               <failOnError>false</failOnError>
647             </configuration>
648             <executions>
649               <execution>
650                 <id>findbugs</id>
651                 <phase>verify</phase>
652                 <goals>
653                   <goal>findbugs</goal>
654                 </goals>
655               </execution>
656             </executions>
657           </plugin>
658           <plugin>
659             <groupId>org.apache.maven.plugins</groupId>
660             <artifactId>maven-pmd-plugin</artifactId>
661             <executions>
662               <execution>
663                 <id>pmd-cpd</id>
664                 <phase>verify</phase>
665                 <goals>
666                   <goal>pmd</goal>
667                   <goal>cpd</goal>
668                 </goals>
669               </execution>
670             </executions>
671           </plugin>
672         </plugins>
673       </build>
674       <reporting>
675         <plugins>
676           <plugin>
677             <groupId>org.apache.maven.plugins</groupId>
678             <artifactId>maven-jxr-plugin</artifactId>
679           </plugin>
680         </plugins>
681       </reporting>
682     </profile>
683     <!-- use this profile to test performance of EMF Compare -->
684     <profile>
685       <id>performance</id>
686       <activation>
687         <activeByDefault>false</activeByDefault>
688       </activation>
689       <properties>
690         <performance-suite>Performance</performance-suite>
691       </properties>
692       <modules>
693         <module>../performance/org.eclipse.emf.compare.tests.performance</module>
694       </modules>
695       <build>
696         <plugins>
697           <plugin>
698             <groupId>org.eclipse.tycho</groupId>
699             <artifactId>target-platform-configuration</artifactId>
700             <configuration>
701               <target>
702                 <artifact>
703                   <groupId>org.eclipse.emf.compare</groupId>
704                   <artifactId>emf.compare-parent</artifactId>
705                   <version>${parent-version}</version>
706                   <classifier>targetPlatforms/mars-sdk</classifier>
707                 </artifact>
708               </target>
709             </configuration>
710           </plugin>
711         </plugins>
712       </build>
713     </profile>
714     <!-- use this profile to test performance of EMF Compare with large models -->
715     <profile>
716       <id>performance-large</id>
717       <activation>
718         <activeByDefault>false</activeByDefault>
719       </activation>
720       <properties>
721         <performance-suite>PerformanceLarge</performance-suite>
722       </properties>
723       <modules>
724         <module>../performance/org.eclipse.emf.compare.tests.performance</module>
725       </modules>
726       <build>
727         <plugins>
728           <plugin>
729             <groupId>org.eclipse.tycho</groupId>
730             <artifactId>target-platform-configuration</artifactId>
731             <configuration>
732               <target>
733                 <artifact>
734                   <groupId>org.eclipse.emf.compare</groupId>
735                   <artifactId>emf.compare-parent</artifactId>
736                   <version>${parent-version}</version>
737                   <classifier>targetPlatforms/mars-sdk</classifier>
738                 </artifact>
739               </target>
740             </configuration>
741           </plugin>
742         </plugins>
743       </build>
744     </profile>
745     <!-- use this profile to test performance of EMF Compare with models shared with git-->
746     <profile>
747       <id>performance-git</id>
748       <activation>
749         <activeByDefault>false</activeByDefault>
750       </activation>
751       <properties>
752         <performance-suite>PerformanceGit</performance-suite>
753       </properties>
754       <modules>
755         <module>../performance/org.eclipse.emf.compare.tests.performance</module>
756       </modules>
757       <build>
758         <plugins>
759           <plugin>
760             <groupId>org.eclipse.tycho</groupId>
761             <artifactId>target-platform-configuration</artifactId>
762             <configuration>
763               <target>
764                 <artifact>
765                   <groupId>org.eclipse.emf.compare</groupId>
766                   <artifactId>emf.compare-parent</artifactId>
767                   <version>${parent-version}</version>
768                   <classifier>targetPlatforms/mars-sdk</classifier>
769                 </artifact>
770               </target>
771             </configuration>
772           </plugin>
773         </plugins>
774       </build>
775     </profile>
776     <!-- use this profile to test performance of EMF Compare with large models shared with git-->
777     <profile>
778       <id>performance-large-git</id>
779       <activation>
780         <activeByDefault>false</activeByDefault>
781       </activation>
782       <properties>
783         <performance-suite>PerformanceLargeGit</performance-suite>
784       </properties>
785       <modules>
786         <module>../performance/org.eclipse.emf.compare.tests.performance</module>
787       </modules>
788       <build>
789         <plugins>
790           <plugin>
791             <groupId>org.eclipse.tycho</groupId>
792             <artifactId>target-platform-configuration</artifactId>
793             <configuration>
794               <target>
795                 <artifact>
796                   <groupId>org.eclipse.emf.compare</groupId>
797                   <artifactId>emf.compare-parent</artifactId>
798                   <version>${parent-version}</version>
799                   <classifier>targetPlatforms/mars-sdk</classifier>
800                 </artifact>
801               </target>
802             </configuration>
803           </plugin>
804         </plugins>
805       </build>
806     </profile>
807     <!-- this profile will activate by itself if the build is ran on a mac. Be carefull to also activate a profile -->
808     <profile>
809       <id>macosx-jvm-flags</id>
810       <activation>
811         <os>
812           <family>mac</family>
813         </os>
814       </activation>
815       <properties>
816         <os-jvm-flags>-XstartOnFirstThread</os-jvm-flags>
817       </properties>
818     </profile>
819     <!-- This profile is activated when the code.coverage property is not set.
820     Another profile is defined in test-parent where jacoco is triggerred and will set testArgLine to
821     its desired value. -->
822     <profile>
823       <id>no.code.coverage</id>
824       <activation>
825         <property>
826           <name>!code.coverage</name>
827         </property>
828       </activation>
829       <properties>
830         <tycho.testArgLine/>
831       </properties>
832     </profile>
833   </profiles>
834 </project>