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