[461986] Intermediate Proxies Resolution
[EMFCompare2.git] / org.eclipse.emf.compare-parent / pom.xml
blob1c1739b66f4454e0332c474ac56ac127071b9fcf
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.1.0-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.1.0-SNAPSHOT</parent-version>
35     <source-java-version>1.5</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>0.21.0</tycho-version>
44     <tycho-extras-version>0.21.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.0.5</eclipse-jarsigner-version>
61     <maven-jxr-version>2.3</maven-jxr-version>
63     <!-- Sonar properties -->
64     <sonar.language>java</sonar.language>
65     <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
66     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
67     <sonar.jacoco.reportPath>${project.basedir}/../../org.eclipse.emf.compare-parent/target/jacoco.exec</sonar.jacoco.reportPath>
68     <!--sonar.junit.reportsPath>../${project.artifactId}.tests/target/surefire-reports/</sonar.junit.reportsPath>
69     <sonar.skippedModules>plugin.tests</sonar.skippedModules-->
71     <!-- Performance plugin properties -->
72     <performance-suite>Performance</performance-suite>
73   </properties>
74   <!--
75     Platform-specific modules will be activated from the related profiles.
76     Here, we only define those modules that should build against every target platform.
77   -->
78   <modules>
79     <!-- This one must remain the first module in the list -->
80     <module>../packaging/org.eclipse.emf.compare.gendoc</module>
81     <module>../packaging/org.eclipse.emf.compare-feature</module>
82     <module>../plugins/org.eclipse.emf.compare</module>
83     <module>../plugins/org.eclipse.emf.compare.tests</module>
84     <module>../plugins/org.eclipse.emf.compare.doc</module>
85     <module>../packaging/org.eclipse.emf.compare.ide.ui-feature</module>
86     <module>../plugins/org.eclipse.emf.compare.edit</module>
87     <module>../plugins/org.eclipse.emf.compare.ide</module>
88     <module>../plugins/org.eclipse.emf.compare.ide.ui</module>
89     <module>../plugins/org.eclipse.emf.compare.ide.ui.tests</module>
90     <!-- There are no longer any "ide" tests
91     <module>../plugins/org.eclipse.emf.compare.ide.tests</module>
92     -->
93     <module>../packaging/org.eclipse.emf.compare.rcp.ui-feature</module>
94     <module>../plugins/org.eclipse.emf.compare.rcp</module>
95     <module>../plugins/org.eclipse.emf.compare.rcp.ui</module>
96     <module>../plugins/org.eclipse.emf.compare.rcp.ui.tests</module>
97   </modules>
98   <build>
99    <!-- This is for checkstyle and PMD -->
100    <sourceDirectory>src</sourceDirectory>
102     <plugins>
103       <plugin>
104         <groupId>org.eclipse.tycho</groupId>
105         <artifactId>tycho-maven-plugin</artifactId>
106         <extensions>true</extensions>
107       </plugin>
108       <plugin>
109         <groupId>org.eclipse.tycho</groupId>
110         <artifactId>target-platform-configuration</artifactId>
111         <configuration>
112           <includePackedArtifacts>true</includePackedArtifacts>
113           <resolver>p2</resolver>
114           <environments>
115             <environment>
116               <os>win32</os>
117               <ws>win32</ws>
118               <arch>x86</arch>
119             </environment>
120             <environment>
121               <os>win32</os>
122               <ws>win32</ws>
123               <arch>x86_64</arch>
124             </environment>
125             <environment>
126               <os>linux</os>
127               <ws>gtk</ws>
128               <arch>x86</arch>
129             </environment>
130             <environment>
131               <os>linux</os>
132               <ws>gtk</ws>
133               <arch>x86_64</arch>
134             </environment>
135             <environment>
136               <os>macosx</os>
137               <ws>cocoa</ws>
138               <arch>x86_64</arch>
139             </environment>
140           </environments>
141         </configuration>
142       </plugin>
143     </plugins>
144     <pluginManagement>
145       <plugins>
146         <plugin>
147           <groupId>org.eclipse.tycho</groupId>
148           <artifactId>tycho-maven-plugin</artifactId>
149           <version>${tycho-version}</version>
150         </plugin>
151         <plugin>
152           <groupId>org.eclipse.tycho</groupId>
153           <artifactId>tycho-packaging-plugin</artifactId>
154           <version>${tycho-version}</version>
155           <configuration>
156             <archive>
157               <addMavenDescriptor>false</addMavenDescriptor>
158             </archive>
159           </configuration>
160         </plugin>
161         <plugin>
162           <groupId>org.eclipse.tycho.extras</groupId>
163           <artifactId>tycho-source-feature-plugin</artifactId>
164           <version>${tycho-extras-version}</version>
165           <configuration>
166             <archive>
167               <addMavenDescriptor>false</addMavenDescriptor>
168             </archive>
169           </configuration>
170           <executions>
171             <execution>
172               <id>source-feature</id>
173               <phase>package</phase>
174               <goals>
175                 <goal>source-feature</goal>
176               </goals>
177             </execution>
178           </executions>
179         </plugin>
180         <plugin>
181           <groupId>org.eclipse.tycho</groupId>
182           <artifactId>tycho-source-plugin</artifactId>
183           <version>${tycho-version}</version>
184           <configuration>
185             <archive>
186               <addMavenDescriptor>false</addMavenDescriptor>
187             </archive>
188           </configuration>
189           <executions>
190             <execution>
191               <id>plugin-source</id>
192               <goals>
193                 <goal>plugin-source</goal>
194               </goals>
195             </execution>
196           </executions>
197         </plugin>
198         <plugin>
199           <groupId>org.eclipse.tycho</groupId>
200           <artifactId>target-platform-configuration</artifactId>
201           <version>${tycho-version}</version>
202         </plugin>
203         <plugin>
204           <groupId>org.eclipse.tycho</groupId>
205           <artifactId>tycho-compiler-plugin</artifactId>
206           <version>${tycho-version}</version>
207           <configuration>
208             <encoding>${java-source-encoding}</encoding>
209             <source>${source-java-version}</source>
210             <target>${target-java-version}</target>
211             <showWarnings>true</showWarnings>
212           </configuration>
213         </plugin>
214         <plugin>
215           <groupId>org.eclipse.tycho</groupId>
216           <artifactId>tycho-p2-plugin</artifactId>
217           <version>${tycho-version}</version>
218         </plugin>
219         <plugin>
220           <groupId>org.eclipse.tycho</groupId>
221           <artifactId>tycho-surefire-plugin</artifactId>
222           <version>${tycho-version}</version>
223           <configuration>
224             <argLine>${tycho.testArgLine} -Xms40m -Xmx1G ${os-jvm-flags}</argLine>
225           </configuration>
226         </plugin>
227         <plugin>
228           <groupId>org.eclipse.tycho</groupId>
229           <artifactId>tycho-p2-publisher-plugin</artifactId>
230           <version>${tycho-version}</version>
231         </plugin>
232         <plugin>
233           <groupId>org.eclipse.tycho</groupId>
234           <artifactId>tycho-p2-repository-plugin</artifactId>
235           <version>${tycho-version}</version>
236         </plugin>
237         <plugin>
238             <groupId>org.eclipse.tycho.extras</groupId>
239             <artifactId>tycho-pack200a-plugin</artifactId>
240             <version>${tycho-extras-version}</version>
241         </plugin>
242         <plugin>
243             <groupId>org.eclipse.tycho.extras</groupId>
244             <artifactId>tycho-pack200b-plugin</artifactId>
245             <version>${tycho-extras-version}</version>
246         </plugin>
247         <plugin>
248             <groupId>org.eclipse.cbi.maven.plugins</groupId>
249             <artifactId>eclipse-jarsigner-plugin</artifactId>
250             <version>${eclipse-jarsigner-version}</version>
251         </plugin>
252         <plugin>
253           <groupId>org.apache.maven.plugins</groupId>
254           <artifactId>maven-resources-plugin</artifactId>
255           <version>${maven-resources-version}</version>
256           <configuration>
257             <encoding>${resource-encoding}</encoding>
258           </configuration>
259         </plugin>
260         <plugin>
261           <groupId>org.apache.maven.plugins</groupId>
262           <artifactId>maven-antrun-plugin</artifactId>
263           <version>${maven-antrun-version}</version>
264         </plugin>
265         <plugin>
266           <groupId>org.codehaus.mojo</groupId>
267           <artifactId>findbugs-maven-plugin</artifactId>
268           <version>${findbugs-maven-version}</version>
269         </plugin>
270         <plugin>
271           <groupId>org.apache.maven.plugins</groupId>
272           <artifactId>maven-pmd-plugin</artifactId>
273           <version>${maven-pmd-version}</version>
274           <configuration>
275             <sourceEncoding>${java-source-encoding}</sourceEncoding>
276             <targetJdk>${target-java-version}</targetJdk>
277           </configuration>
278         </plugin>
279         <plugin>
280           <groupId>org.apache.maven.plugins</groupId>
281           <artifactId>maven-checkstyle-plugin</artifactId>
282           <version>${maven-checkstyle-version}</version>
283           <configuration>
284             <encoding>${java-source-encoding}</encoding>
285           </configuration>
286         </plugin>
287         <plugin>
288           <groupId>org.codehaus.mojo</groupId>
289           <artifactId>exec-maven-plugin</artifactId>
290           <version>${exec-maven-version}</version>
291         </plugin>
292         <plugin>
293           <groupId>org.apache.maven.plugins</groupId>
294           <artifactId>maven-compiler-plugin</artifactId>
295           <version>${maven-compiler-version}</version>
296         </plugin>
297         <plugin>
298           <groupId>org.jacoco</groupId>
299           <artifactId>jacoco-maven-plugin</artifactId>
300           <version>${jacoco-maven-version}</version>
301         </plugin>
302         <plugin>
303           <groupId>org.apache.maven.plugins</groupId>
304           <artifactId>maven-jar-plugin</artifactId>
305           <version>${maven-jar-version}</version>
306         </plugin>
307         <plugin>
308           <groupId>org.apache.maven.plugins</groupId>
309           <artifactId>maven-assembly-plugin</artifactId>
310           <version>${maven-assembly-version}</version>
311         </plugin>
312         <plugin>
313           <groupId>org.apache.maven.plugins</groupId>
314           <artifactId>maven-clean-plugin</artifactId>
315           <version>${maven-clean-version}</version>
316         </plugin>
317         <plugin>
318           <groupId>org.apache.maven.plugins</groupId>
319           <artifactId>maven-deploy-plugin</artifactId>
320           <version>${maven-deploy-version}</version>
321         </plugin>
322         <plugin>
323           <groupId>org.apache.maven.plugins</groupId>
324           <artifactId>maven-install-plugin</artifactId>
325           <version>${maven-install-version}</version>
326         </plugin>
327         <plugin>
328           <groupId>org.apache.maven.plugins</groupId>
329           <artifactId>maven-site-plugin</artifactId>
330           <version>${maven-site-version}</version>
331         </plugin>
332         <plugin>
333           <groupId>org.apache.maven.plugins</groupId>
334           <artifactId>maven-surefire-plugin</artifactId>
335           <version>${maven-surefire-version}</version>
336         </plugin>
337         <plugin>
338           <groupId>org.apache.maven.plugins</groupId>
339           <artifactId>maven-jxr-plugin</artifactId>
340           <version>${maven-jxr-version}</version>
341         </plugin>
342       </plugins>
343     </pluginManagement>
344   </build>
345   <profiles>
346     <!--
347       EMF Compare can be built against Mars, Luna, Kepler, Juno, Indigo, Helios and Galileo.
348       However, some parts of EMF Compare are dependent on recent platforms.
349       Namely, the UML and diagram comparison supports are only available for platforms Juno and higher.
350       Please set the "platform" variable to either one of the supported platform to activate the proper set of profiles.
351     -->
352     <!-- Target platforms are located in org.eclipse.emf.compare-parent/targetPlatforms. -->
353     <profile>
354       <id>mars</id>
355       <activation>
356         <activeByDefault>true</activeByDefault>
357       </activation>
358       <build>
359         <plugins>
360           <plugin>
361             <groupId>org.eclipse.tycho</groupId>
362             <artifactId>target-platform-configuration</artifactId>
363             <configuration>
364               <target>
365                 <artifact>
366                   <groupId>org.eclipse.emf.compare</groupId>
367                   <artifactId>emf.compare-parent</artifactId>
368                   <version>${parent-version}</version>
369                   <classifier>targetPlatforms/mars-sdk</classifier>
370                 </artifact>
371               </target>
372             </configuration>
373           </plugin>
374         </plugins>
375       </build>
376       <modules>
377         <module>../packaging/org.eclipse.emf.compare.update</module>
378         <module>../plugins/org.eclipse.emf.compare.ide.ui.tests.git</module>
379         <module>../packaging/org.eclipse.emf.compare.uml2-feature</module>
380         <module>../plugins/org.eclipse.emf.compare.uml2</module>
381         <module>../plugins/org.eclipse.emf.compare.uml2.edit</module>
382         <module>../plugins/org.eclipse.emf.compare.uml2.rcp</module>
383         <module>../plugins/org.eclipse.emf.compare.uml2.rcp.ui</module>
384         <module>../plugins/org.eclipse.emf.compare.uml2.tests</module>
385         <module>../plugins/org.eclipse.emf.compare.uml2.rcp.ui.tests</module>
386         <module>../packaging/org.eclipse.emf.compare.diagram.gmf-feature</module>
387         <module>../plugins/org.eclipse.emf.compare.diagram</module>
388         <module>../plugins/org.eclipse.emf.compare.diagram.edit</module>
389         <module>../plugins/org.eclipse.emf.compare.diagram.ide.ui</module>
390         <module>../packaging/org.eclipse.emf.compare.diagram.papyrus-feature</module>
391         <module>../plugins/org.eclipse.emf.compare.diagram.ide.ui.papyrus</module>
392         <module>../plugins/org.eclipse.emf.compare.uml2.edit.papyrus</module>
393         <module>../plugins/org.eclipse.emf.compare.diagram.papyrus.tests</module>
394         <module>../plugins/org.eclipse.emf.compare.uml2.ide</module>
395         <module>../plugins/org.eclipse.emf.compare.uml2.ide.tests</module>
396         <module>../plugins/org.eclipse.emf.compare.uml2.ide.ui.tests</module>
397         
398         <module>../plugins/org.eclipse.emf.compare.subversive</module>
399         <module>../packaging/org.eclipse.emf.compare.subversive-feature</module>
400       </modules>
401     </profile>
402     <profile>
403       <id>luna</id>
404       <activation>
405         <activeByDefault>false</activeByDefault>
406       </activation>
407       <build>
408         <plugins>
409           <plugin>
410             <groupId>org.eclipse.tycho</groupId>
411             <artifactId>target-platform-configuration</artifactId>
412             <configuration>
413               <target>
414                 <artifact>
415                   <groupId>org.eclipse.emf.compare</groupId>
416                   <artifactId>emf.compare-parent</artifactId>
417                   <version>${parent-version}</version>
418                   <classifier>targetPlatforms/luna-sdk</classifier>
419                 </artifact>
420               </target>
421             </configuration>
422           </plugin>
423         </plugins>
424       </build>
425       <modules>
426         <module>../plugins/org.eclipse.emf.compare.ide.ui.tests.git</module>
427         <module>../packaging/org.eclipse.emf.compare.uml2-feature</module>
428         <module>../plugins/org.eclipse.emf.compare.uml2</module>
429         <module>../plugins/org.eclipse.emf.compare.uml2.edit</module>
430         <module>../plugins/org.eclipse.emf.compare.uml2.rcp</module>
431         <module>../plugins/org.eclipse.emf.compare.uml2.rcp.ui</module>
432         <module>../plugins/org.eclipse.emf.compare.uml2.tests</module>
433         <module>../plugins/org.eclipse.emf.compare.uml2.rcp.ui.tests</module>
434         <module>../packaging/org.eclipse.emf.compare.diagram.gmf-feature</module>
435         <module>../plugins/org.eclipse.emf.compare.diagram</module>
436         <module>../plugins/org.eclipse.emf.compare.diagram.edit</module>
437         <module>../plugins/org.eclipse.emf.compare.diagram.ide.ui</module>
438         <module>../packaging/org.eclipse.emf.compare.diagram.papyrus-feature</module>
439         <module>../plugins/org.eclipse.emf.compare.uml2.edit.papyrus</module>
440         <module>../plugins/org.eclipse.emf.compare.diagram.ide.ui.papyrus</module>
441         <module>../plugins/org.eclipse.emf.compare.diagram.papyrus.tests</module>
442         <module>../plugins/org.eclipse.emf.compare.uml2.ide</module>
443         <module>../plugins/org.eclipse.emf.compare.uml2.ide.tests</module>
444         <module>../plugins/org.eclipse.emf.compare.uml2.ide.ui.tests</module>
445         
446         <module>../plugins/org.eclipse.emf.compare.subversive</module>
447         <module>../packaging/org.eclipse.emf.compare.subversive-feature</module>
448       </modules>
449     </profile>
450     <profile>
451       <id>kepler</id>
452       <activation>
453         <activeByDefault>false</activeByDefault>
454       </activation>
455       <build>
456         <plugins>
457           <plugin>
458             <groupId>org.eclipse.tycho</groupId>
459             <artifactId>target-platform-configuration</artifactId>
460             <configuration>
461               <target>
462                 <artifact>
463                   <groupId>org.eclipse.emf.compare</groupId>
464                   <artifactId>emf.compare-parent</artifactId>
465                   <version>${parent-version}</version>
466                   <classifier>targetPlatforms/kepler-sdk</classifier>
467                 </artifact>
468               </target>
469             </configuration>
470           </plugin>
471         </plugins>
472       </build>
473       <modules>
474         <module>../plugins/org.eclipse.emf.compare.ide.ui.tests.git</module>
475         <module>../packaging/org.eclipse.emf.compare.diagram.gmf-feature</module>
476         <module>../plugins/org.eclipse.emf.compare.diagram</module>
477         <module>../plugins/org.eclipse.emf.compare.diagram.edit</module>
478         <module>../plugins/org.eclipse.emf.compare.diagram.ide.ui</module>
479         <module>../packaging/org.eclipse.emf.compare.diagram.ecoretools-feature</module>
480         <module>../plugins/org.eclipse.emf.compare.diagram.ide.ui.ecoretools</module>
481         <module>../plugins/org.eclipse.emf.compare.diagram.ecoretools.tests</module>
482         <module>../plugins/org.eclipse.emf.compare.diagram.ide.ecoretools.tests</module>
483       </modules>
484     </profile>
485     <profile>
486       <id>juno</id>
487       <activation>
488         <activeByDefault>false</activeByDefault>
489       </activation>
490       <build>
491         <plugins>
492           <plugin>
493             <groupId>org.eclipse.tycho</groupId>
494             <artifactId>target-platform-configuration</artifactId>
495             <configuration>
496               <target>
497                 <artifact>
498                   <groupId>org.eclipse.emf.compare</groupId>
499                   <artifactId>emf.compare-parent</artifactId>
500                   <version>${parent-version}</version>
501                   <classifier>targetPlatforms/juno-4.2-sdk</classifier>
502                 </artifact>
503               </target>
504             </configuration>
505           </plugin>
506         </plugins>
507       </build>
508       <modules>
509         <module>../plugins/org.eclipse.emf.compare.ide.ui.tests.git</module>
510         <module>../packaging/org.eclipse.emf.compare.diagram.gmf-feature</module>
511         <module>../plugins/org.eclipse.emf.compare.diagram</module>
512         <module>../plugins/org.eclipse.emf.compare.diagram.edit</module>
513         <module>../plugins/org.eclipse.emf.compare.diagram.ide.ui</module>
514         <module>../packaging/org.eclipse.emf.compare.diagram.ecoretools-feature</module>
515         <module>../plugins/org.eclipse.emf.compare.diagram.ide.ui.ecoretools</module>
516         <module>../plugins/org.eclipse.emf.compare.diagram.ecoretools.tests</module>
517         <module>../plugins/org.eclipse.emf.compare.diagram.ide.ecoretools.tests</module>
518       </modules>
519     </profile>
520     <profile>
521       <id>indigo</id>
522       <activation>
523         <activeByDefault>false</activeByDefault>
524       </activation>
525       <build>
526         <plugins>
527           <plugin>
528             <groupId>org.eclipse.tycho</groupId>
529             <artifactId>target-platform-configuration</artifactId>
530             <configuration>
531               <target>
532                 <artifact>
533                   <groupId>org.eclipse.emf.compare</groupId>
534                   <artifactId>emf.compare-parent</artifactId>
535                   <version>${parent-version}</version>
536                   <classifier>targetPlatforms/indigo-sdk</classifier>
537                 </artifact>
538               </target>
539             </configuration>
540           </plugin>
541         </plugins>
542       </build>
543     </profile>
544     <profile>
545       <id>helios</id>
546       <activation>
547         <activeByDefault>false</activeByDefault>
548       </activation>
549       <build>
550         <plugins>
551           <plugin>
552             <groupId>org.eclipse.tycho</groupId>
553             <artifactId>target-platform-configuration</artifactId>
554             <configuration>
555               <target>
556                 <artifact>
557                   <groupId>org.eclipse.emf.compare</groupId>
558                   <artifactId>emf.compare-parent</artifactId>
559                   <version>${parent-version}</version>
560                   <classifier>targetPlatforms/helios-sdk</classifier>
561                 </artifact>
562               </target>
563             </configuration>
564           </plugin>
565         </plugins>
566       </build>
567     </profile>
568     <profile>
569       <id>galileo</id>
570       <activation>
571         <activeByDefault>false</activeByDefault>
572       </activation>
573       <build>
574         <plugins>
575           <plugin>
576             <groupId>org.eclipse.tycho</groupId>
577             <artifactId>target-platform-configuration</artifactId>
578             <configuration>
579               <target>
580                 <artifact>
581                   <groupId>org.eclipse.emf.compare</groupId>
582                   <artifactId>emf.compare-parent</artifactId>
583                   <version>${parent-version}</version>
584                   <classifier>targetPlatforms/galileo-sdk</classifier>
585                 </artifact>
586               </target>
587             </configuration>
588           </plugin>
589         </plugins>
590       </build>
591     </profile>
592     <profile>
593       <id>sign</id>
594       <activation>
595         <activeByDefault>false</activeByDefault>
596       </activation>
597       <build>
598         <plugins>
599           <plugin>
600             <groupId>org.eclipse.tycho.extras</groupId>
601             <artifactId>tycho-pack200a-plugin</artifactId>
602             <executions>
603               <execution>
604                 <id>pack200-normalize</id>
605                 <goals>
606                   <goal>normalize</goal>
607                 </goals>
608                 <phase>package</phase>
609               </execution>
610             </executions>
611           </plugin>
612           <plugin>
613             <groupId>org.eclipse.cbi.maven.plugins</groupId>
614             <artifactId>eclipse-jarsigner-plugin</artifactId>
615             <executions>
616               <execution>
617                 <id>sign</id>
618                 <phase>package</phase>
619                 <goals>
620                   <goal>sign</goal>
621                 </goals>
622               </execution>
623             </executions>
624           </plugin>
625           <plugin>
626             <groupId>org.eclipse.tycho.extras</groupId>
627             <artifactId>tycho-pack200b-plugin</artifactId>
628             <executions>
629               <execution>
630                 <id>pack200-pack</id>
631                 <goals>
632                   <goal>pack</goal>
633                 </goals>
634                 <phase>package</phase>
635               </execution>
636             </executions>
637           </plugin>
638           <plugin>
639             <groupId>org.eclipse.tycho</groupId>
640             <artifactId>tycho-p2-plugin</artifactId>
641             <executions>
642               <execution>
643                 <id>alter-p2-metadata-for-signing</id>
644                 <goals>
645                   <goal>p2-metadata</goal>
646                 </goals>
647                 <phase>package</phase>
648               </execution>
649             </executions>
650             <configuration>
651               <defaultP2Metadata>false</defaultP2Metadata>
652             </configuration>
653           </plugin>
654         </plugins>
655       </build>
656       <pluginRepositories>
657         <pluginRepository>
658           <id>cbi</id>
659           <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
660           <releases>
661             <enabled>true</enabled>
662           </releases>
663           <snapshots>
664             <enabled>false</enabled>
665           </snapshots>
666         </pluginRepository>
667       </pluginRepositories>
668     </profile>
669     <!-- use this profile if you need to launch sonar or other quality-related plugins on the built artifacts. -->
670     <profile>
671       <id>quality</id>
672       <activation>
673         <activeByDefault>false</activeByDefault>
674       </activation>
675       <build>
676         <plugins>
677           <plugin>
678             <groupId>org.apache.maven.plugins</groupId>
679             <artifactId>maven-checkstyle-plugin</artifactId>
680             <executions>
681               <execution>
682                 <id>checkstyle</id>
683                 <phase>verify</phase>
684                 <goals>
685                   <goal>checkstyle</goal>
686                 </goals>
687                 <configuration>
688                   <configLocation>${project.basedir}/../../org.eclipse.emf.compare-parent/codeStyle/EMFCompareCheckstyle5Configuration.xml</configLocation>
689                 </configuration>
690               </execution>
691             </executions>
692           </plugin>
693           <plugin>
694             <groupId>org.codehaus.mojo</groupId>
695             <artifactId>findbugs-maven-plugin</artifactId>
696             <configuration>
697               <xmlOutput>true</xmlOutput>
698               <failOnError>false</failOnError>
699             </configuration>
700             <executions>
701               <execution>
702                 <id>findbugs</id>
703                 <phase>verify</phase>
704                 <goals>
705                   <goal>findbugs</goal>
706                 </goals>
707               </execution>
708             </executions>
709           </plugin>
710           <plugin>
711             <groupId>org.apache.maven.plugins</groupId>
712             <artifactId>maven-pmd-plugin</artifactId>
713             <executions>
714               <execution>
715                 <id>pmd-cpd</id>
716                 <phase>verify</phase>
717                 <goals>
718                   <goal>pmd</goal>
719                   <goal>cpd</goal>
720                 </goals>
721               </execution>
722             </executions>
723           </plugin>
724         </plugins>
725       </build>
726       <reporting>
727         <plugins>
728           <plugin>
729             <groupId>org.apache.maven.plugins</groupId>
730             <artifactId>maven-jxr-plugin</artifactId>
731           </plugin>
732         </plugins>
733       </reporting>
734     </profile>
735     <!-- use this profile to test performance of EMF Compare -->
736     <profile>
737       <id>performance</id>
738       <activation>
739         <activeByDefault>false</activeByDefault>
740       </activation>
741       <properties>
742         <performance-suite>Performance</performance-suite>
743       </properties>
744       <modules>
745         <module>../performance/org.eclipse.emf.compare.tests.performance</module>
746         <module>../plugins/org.eclipse.emf.compare.uml2</module>
747         <module>../plugins/org.eclipse.emf.compare.diagram</module>
748       </modules>
749       <build>
750         <plugins>
751           <plugin>
752             <groupId>org.eclipse.tycho</groupId>
753             <artifactId>target-platform-configuration</artifactId>
754             <configuration>
755               <target>
756                 <artifact>
757                   <groupId>org.eclipse.emf.compare</groupId>
758                   <artifactId>emf.compare-parent</artifactId>
759                   <version>${parent-version}</version>
760                   <classifier>targetPlatforms/mars-sdk</classifier>
761                 </artifact>
762               </target>
763             </configuration>
764           </plugin>
765         </plugins>
766       </build>
767     </profile>
768     <!-- use this profile to test performance of EMF Compare with large models -->
769     <profile>
770       <id>performance-large</id>
771       <activation>
772         <activeByDefault>false</activeByDefault>
773       </activation>
774       <properties>
775         <performance-suite>PerformanceLarge</performance-suite>
776       </properties>
777       <modules>
778         <module>../performance/org.eclipse.emf.compare.tests.performance</module>
779         <module>../plugins/org.eclipse.emf.compare.uml2</module>
780         <module>../plugins/org.eclipse.emf.compare.diagram</module>
781       </modules>
782       <build>
783         <plugins>
784           <plugin>
785             <groupId>org.eclipse.tycho</groupId>
786             <artifactId>target-platform-configuration</artifactId>
787             <configuration>
788               <target>
789                 <artifact>
790                   <groupId>org.eclipse.emf.compare</groupId>
791                   <artifactId>emf.compare-parent</artifactId>
792                   <version>${parent-version}</version>
793                   <classifier>targetPlatforms/mars-sdk</classifier>
794                 </artifact>
795               </target>
796             </configuration>
797           </plugin>
798         </plugins>
799       </build>
800     </profile>
801     <!-- use this profile to test performance of EMF Compare with models shared with git-->
802     <profile>
803       <id>performance-git</id>
804       <activation>
805         <activeByDefault>false</activeByDefault>
806       </activation>
807       <properties>
808         <performance-suite>PerformanceGit</performance-suite>
809       </properties>
810       <modules>
811         <module>../performance/org.eclipse.emf.compare.tests.performance</module>
812         <module>../plugins/org.eclipse.emf.compare.uml2</module>
813         <module>../plugins/org.eclipse.emf.compare.diagram</module>
814       </modules>
815       <build>
816         <plugins>
817           <plugin>
818             <groupId>org.eclipse.tycho</groupId>
819             <artifactId>target-platform-configuration</artifactId>
820             <configuration>
821               <target>
822                 <artifact>
823                   <groupId>org.eclipse.emf.compare</groupId>
824                   <artifactId>emf.compare-parent</artifactId>
825                   <version>${parent-version}</version>
826                   <classifier>targetPlatforms/mars-sdk</classifier>
827                 </artifact>
828               </target>
829             </configuration>
830           </plugin>
831         </plugins>
832       </build>
833     </profile>
834     <!-- use this profile to test performance of EMF Compare with large models shared with git-->
835     <profile>
836       <id>performance-large-git</id>
837       <activation>
838         <activeByDefault>false</activeByDefault>
839       </activation>
840       <properties>
841         <performance-suite>PerformanceLargeGit</performance-suite>
842       </properties>
843       <modules>
844         <module>../performance/org.eclipse.emf.compare.tests.performance</module>
845         <module>../plugins/org.eclipse.emf.compare.uml2</module>
846         <module>../plugins/org.eclipse.emf.compare.diagram</module>
847       </modules>
848       <build>
849         <plugins>
850           <plugin>
851             <groupId>org.eclipse.tycho</groupId>
852             <artifactId>target-platform-configuration</artifactId>
853             <configuration>
854               <target>
855                 <artifact>
856                   <groupId>org.eclipse.emf.compare</groupId>
857                   <artifactId>emf.compare-parent</artifactId>
858                   <version>${parent-version}</version>
859                   <classifier>targetPlatforms/mars-sdk</classifier>
860                 </artifact>
861               </target>
862             </configuration>
863           </plugin>
864         </plugins>
865       </build>
866     </profile>
867     <!-- this profile will activate by itself if the build is ran on a mac. Be carefull to also activate a profile -->
868     <profile>
869       <id>macosx-jvm-flags</id>
870       <activation>
871         <os>
872           <family>mac</family>
873         </os>
874       </activation>
875       <properties>
876         <os-jvm-flags>-XstartOnFirstThread</os-jvm-flags>
877       </properties>
878     </profile>
879     <!-- This profile is activated when the code.coverage property is not set. 
880     Another profile is defined in test-parent where jacoco is triggerred and will set testArgLine to 
881     its desired value. -->
882     <profile>
883       <id>no.code.coverage</id>
884       <activation>
885         <property>
886           <name>!code.coverage</name>
887         </property>
888       </activation>
889       <properties>
890         <tycho.testArgLine/>
891       </properties>
892     </profile>
893   </profiles>
894 </project>