Skip to main content
summaryrefslogblamecommitdiffstats
blob: 5091ef08154f372c694eec5f0c780f8ca46acb1d (plain) (tree)
1
2
3
4
5
6
7
8






                                                                                                          
                                                     



                                           
                                         



                                  
                                                                      

                                                                  
                                                                
                                                                                     
                                                                                                                                                        
                                                                      

                                                                                                              
                                                          
                                                      
                                                                                                                        
                                                                                                          
                                                                          
                                                                                                                 






                                                                                                







                                                                              
                                                                                             
                                                                                



                         
                                                               
                                  
       

                                                           
                                                                  
                                                               


                                             




                          

                                                                     
                                                                   















                                                                            
                                                                 
                                                                 
                                                               
                                                                      

                                                                    



                                                                             








                                                                        
                                                                       

                                                                        








                                                                             



                                                                            










                                                                               
 
                                                             
                                                            

































                                                                                        

                                                                
 













                                                                                     



















                                                                                   

































                                                                                
                                                                     






                                                                                             
                                                                              
                                                                   

















                                                                                

                  


                                    

                                                                                              
                             
                  









                                                                         
                         









                                                              






                                                            
                                                                                                                   









                                                             
                                                                                              

                                     





                                                                                                



































































                                                                                                              
                         




                                                                                 
                                                                     






                                                                                 
                                                                     






                                                                                 
                                                                     


                                     
                                                      



                                                                                 






                                                                             
                                                                     


                                     







                                                                                                      
                                                                                                             




                                                                                              
                                                                                          












                                                                                                 
                                                                                         












                                                                                              
                                                                                          





























                                                                                                    
                   


                                

                                                                           
                                                      

                                 















                                                                                      




                                                                           


                                                                            

                                                                      




                                                                           

                                                                           
                                                       


                                                                                          

                                                                                                       


                                                                                

















                                                                                  
                                















                                                                                                             
                                                                                                         
                                                                                                                 
                                                                                                                
                                                                                                                


























                                                                                                                    

                                                                            
                                                        














                                                                                                       

                                             



















                                                                                                                                  

























                                                                                          



                                                                                       





                                                                                                                                  






                                                                                                   




                                                                                                          





                                                                                                     





















                                                                                                                           


                                                                                






                                                                                            

                                                            












                                                                                                

                                         

                                                                                       
                                                                






                                                                                    
                                                              



                                                                                      
                                                                
                                                       

                                                                                                                  












                                                                                   
                                                                 


                                                                                      
                                                                          










                                                                                        



















                                                                                                                                                            
                                                                                                                                               



                                                                           
                                                                                               








                                                                                


                                                                                                               


                                                    



                                                                              
                                                           



















                                                                                            



                                   
<?xml version="1.0" encoding="UTF-8"?>
<project
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<modelVersion>4.0.0</modelVersion>

	<prerequisites>
		<maven>${requiredven-version}</maven>
	</prerequisites>

	<groupId>org.eclipse.cdt</groupId>
	<artifactId>cdt-parent</artifactId>
	<version>9.8.0-SNAPSHOT</version>
	<packaging>pom</packaging>
	<name>CDT Parent</name>

	<properties>
		<required-maven-version>3.3.1</required-maven-version>
		<tycho-version>1.4.0</tycho-version>
		<tycho-extras-version>1.4.0</tycho-extras-version>
		<cbi-plugins.version>1.1.5</cbi-plugins.version>
		<sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
		<cdt-site>http://ci.eclipse.org/cdt/job/cdt-master/lastSuccessfulBuild/artifact/releng/org.eclipse.cdt.repo/target/repository</cdt-site>
		<repo-path>tools/cdt/builds/master/nightly</repo-path>
		<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
		<sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
		<sonar.java.source>1.8</sonar.java.source>
		<target-platform>cdt</target-platform>
		<help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.10/</help-docs-eclipserun-repo>
		<tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/cdt/org.eclipse.cdt.git</tycho.scmUrl>
		<base.test.vmargs>-Xms256m -Xmx512m -ea</base.test.vmargs>
		<comparator.repo>https://download.eclipse.org/tools/cdt/releases/9.7/cdt-9.7.2/</comparator.repo>
		<compare-version-with-baselines.skip>false</compare-version-with-baselines.skip>
		<!--
			Valid options: error, warning, and ignore
			jgit.dirtyWorkingTree checking was added as of Tycho 0.19.0
			see: https://bugs.eclipse.org/419030
		-->
		<jgit.dirtyWorkingTree-cdtDefault>error</jgit.dirtyWorkingTree-cdtDefault>
		<!-- By default cdt-other.skip.tests will be false as none of
		     the skip-tests profiles will be activated. When one is
		     activated, this allows us to skip all other cdt tests not
		     explicitly skipped further down the pom hierarchy.
		     Recall that the command line will take precedence, so
		     -DskipTests will override anything else as normal maven
		     users expect. -->
		<skipTests>${cdt-other.skip.tests}</skipTests>
		<dsf.gdb.tests.gdbPath>/shared/common/gdb/gdb-all/bin</dsf.gdb.tests.gdbPath>
		<cdt.tests.dsf.gdb.versions>gdb.8.3</cdt.tests.dsf.gdb.versions>
	</properties>

	<licenses>
		<license>
			<name>Eclipse Public License 2.0</name>
			<comments>
       

       This program and the accompanying materials are made
       available under the terms of the Eclipse Public License 2.0
       which accompanies this distribution, and is available at
       https://www.eclipse.org/legal/epl-2.0/
       
       SPDX-License-Identifier: EPL-2.0
      </comments>
		</license>
	</licenses>

	<modules>
		<!-- The test plug-ins need to be at the end -->
		<module>build/org.eclipse.cdt.build.gcc.core</module>
		<module>build/org.eclipse.cdt.build.gcc.ui</module>
		<module>build/org.eclipse.cdt.make.core</module>
		<module>build/org.eclipse.cdt.make.ui</module>
		<module>build/org.eclipse.cdt.managedbuilder.core</module>
		<module>build/org.eclipse.cdt.managedbuilder.ui</module>
		<module>build/org.eclipse.cdt.managedbuilder.gnu.ui</module>
		<module>build/org.eclipse.cdt.gnu.build-feature</module>

		<module>build/org.eclipse.cdt.autotools.core</module>
		<module>build/org.eclipse.cdt.autotools.docs</module>
		<module>build/org.eclipse.cdt.autotools.ui</module>
		<module>build/org.eclipse.cdt.autotools-feature</module>

		<module>build/org.eclipse.cdt.cmake.core</module>
		<module>build/org.eclipse.cdt.cmake.ui</module>
		<module>build/org.eclipse.cdt.cmake-feature</module>

		<module>build/org.eclipse.cdt.meson.core</module>
		<module>build/org.eclipse.cdt.meson.docs</module>
		<module>build/org.eclipse.cdt.meson.ui</module>
		<module>build/org.eclipse.cdt.meson.ui.editor</module>
		<module>build/org.eclipse.cdt.meson-feature</module>

		<module>build/org.eclipse.cdt.core.autotools.core</module>
		<module>build/org.eclipse.cdt.core.autotools.ui</module>
		<module>build/org.eclipse.cdt.core.autotools-feature</module>

		<module>codan/org.eclipse.cdt.codan.core</module>
		<module>codan/org.eclipse.cdt.codan.ui</module>
		<module>codan/org.eclipse.cdt.codan.core.cxx</module>
		<module>codan/org.eclipse.cdt.codan.ui.cxx</module>
		<module>codan/org.eclipse.cdt.codan.checkers</module>
		<module>codan/org.eclipse.cdt.codan.checkers.ui</module>

		<module>core/org.eclipse.cdt.core.native</module>
		<module>core/org.eclipse.cdt.core.linux</module>
		<module>core/org.eclipse.cdt.core.linux.x86_64</module>
		<module>core/org.eclipse.cdt.core.linux.ppc64le</module>
		<module>core/org.eclipse.cdt.core.win32</module>
		<module>core/org.eclipse.cdt.core.win32.x86_64</module>
		<module>core/org.eclipse.cdt.core.macosx</module>
		<module>core/org.eclipse.cdt.core</module>
		<module>core/org.eclipse.cdt.ui</module>
		
		<module>cross/org.eclipse.cdt.build.crossgcc</module>
		<module>cross/org.eclipse.cdt.build.crossgcc-feature</module>
		<module>cross/org.eclipse.cdt.launch.remote</module>
		<module>cross/org.eclipse.cdt.launch.remote-feature</module>
		<module>cross/org.eclipse.cdt.launch.serial.core</module>
		<module>cross/org.eclipse.cdt.launch.serial.ui</module>
		<module>cross/org.eclipse.cdt.launch.serial-feature</module>

		<module>debug/org.eclipse.cdt.debug.core</module>
		<module>debug/org.eclipse.cdt.debug.ui</module>

		<module>debug/org.eclipse.cdt.gdb</module>
		<module>debug/org.eclipse.cdt.gdb.ui</module>
		<module>debug/org.eclipse.cdt.gdb-feature</module>
		<module>debug/org.eclipse.cdt.gnu.debug-feature</module>

		<module>debug/org.eclipse.cdt.debug.application</module>
		<module>debug/org.eclipse.cdt.debug.application.doc</module>
		<module>debug/org.eclipse.cdt.debug.standalone-feature</module>

		<module>doc/org.eclipse.cdt.doc.user</module>
		<module>doc/org.eclipse.cdt.doc.isv</module>
		
		<module>dsf/org.eclipse.cdt.dsf</module>
		<module>dsf/org.eclipse.cdt.dsf.ui</module>
		<module>dsf/org.eclipse.cdt.examples.dsf</module>
		<module>dsf/org.eclipse.cdt.examples.dsf.pda</module>
		<module>dsf/org.eclipse.cdt.examples.dsf.pda.ui</module>
		<module>dsf/org.eclipse.cdt.examples.dsf-feature</module>

		<module>dsf-gdb/org.eclipse.cdt.dsf.gdb</module>
		<module>dsf-gdb/org.eclipse.cdt.dsf.gdb.ui</module>
		<module>dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui</module>
		<module>dsf-gdb/org.eclipse.cdt.gnu.dsf-feature</module>
		<module>dsf-gdb/org.eclipse.cdt.gnu.multicorevisualizer-feature</module>
		<module>dsf-gdb/org.eclipse.cdt.examples.dsf.gdb</module>

		<module>jtag/org.eclipse.cdt.debug.gdbjtag</module>
		<module>jtag/org.eclipse.cdt.debug.gdbjtag.core</module>
		<module>jtag/org.eclipse.cdt.debug.gdbjtag.ui</module>
		<module>jtag/org.eclipse.cdt.debug.gdbjtag-feature</module>

		<module>launch/org.eclipse.cdt.launch</module>
		<module>launch/org.eclipse.cdt.docker.launcher</module>
		<module>launch/org.eclipse.cdt.docker.launcher-feature</module>

		<module>llvm/org.eclipse.cdt.managedbuilder.llvm.ui</module>
		<module>llvm/org.eclipse.cdt.managedbuilder.llvm-feature</module>
		<module>llvm/org.eclipse.cdt.llvm.dsf.lldb.core</module>
		<module>llvm/org.eclipse.cdt.llvm.dsf.lldb.ui</module>
		<module>llvm/org.eclipse.cdt.llvm.dsf.lldb-feature</module>

		<module>lrparser/org.eclipse.cdt.core.lrparser</module>
		<module>lrparser/org.eclipse.cdt.core.lrparser.feature</module>
		<module>lrparser/org.eclipse.cdt.core.lrparser.sdk.feature</module>

		<module>lsp/org.eclipse.cdt.lsp.core</module>
		<module>lsp/org.eclipse.cdt.lsp-feature</module>

		<module>memory/org.eclipse.cdt.debug.ui.memory.memorybrowser</module>
		<module>memory/org.eclipse.cdt.debug.ui.memory.floatingpoint</module>
		<module>memory/org.eclipse.cdt.debug.ui.memory.search</module>
		<module>memory/org.eclipse.cdt.debug.ui.memory.traditional</module>
		<module>memory/org.eclipse.cdt.debug.ui.memory.transport</module>
		<module>memory/org.eclipse.cdt.debug.ui.memory-feature</module>

		<module>native/org.eclipse.cdt.native.serial</module>

		<module>qt/org.eclipse.cdt.qt.core</module>
		<module>qt/org.eclipse.cdt.qt.ui</module>
		<module>qt/org.eclipse.cdt.qt-feature</module>

		<module>remote/org.eclipse.cdt.remote.core</module>

		<module>testsrunner/org.eclipse.cdt.testsrunner</module>
		<module>testsrunner/org.eclipse.cdt.testsrunner.boost</module>
		<module>testsrunner/org.eclipse.cdt.testsrunner.gtest</module>
		<module>testsrunner/org.eclipse.cdt.testsrunner.qttest</module>
		<module>testsrunner/org.eclipse.cdt.testsrunner.tap</module>
		<module>testsrunner/org.eclipse.cdt.testsrunner.feature</module>

		<module>toolchains/arduino/org.eclipse.cdt.arduino.core</module>
		<module>toolchains/arduino/org.eclipse.cdt.arduino.ui</module>
		<module>toolchains/arduino/org.eclipse.cdt.arduino-feature</module>

		<module>upc/org.eclipse.cdt.core.parser.upc</module>
		<module>upc/org.eclipse.cdt.core.parser.upc.feature</module>
		<module>upc/org.eclipse.cdt.core.parser.upc.sdk.feature</module>

		<module>upc/org.eclipse.cdt.managedbuilder.bupc.ui</module>
		<module>upc/org.eclipse.cdt.bupc-feature</module>

		<module>util/org.eclipse.cdt.util</module>

		<module>visualizer/org.eclipse.cdt.visualizer.core</module>
		<module>visualizer/org.eclipse.cdt.visualizer.examples</module>
		<module>visualizer/org.eclipse.cdt.visualizer.ui</module>
		<module>visualizer/org.eclipse.cdt.visualizer-feature</module>

		<module>windows/org.eclipse.cdt.msw.build</module>
		<module>windows/org.eclipse.cdt.msw-feature</module>

		<module>xlc/org.eclipse.cdt.core.lrparser.xlc</module>
		<module>xlc/org.eclipse.cdt.errorparsers.xlc</module>
		<module>xlc/org.eclipse.cdt.make.xlc.core</module>
		<module>xlc/org.eclipse.cdt.managedbuilder.xlc.core</module>
		<module>xlc/org.eclipse.cdt.managedbuilder.xlc.ui</module>
		<module>xlc/org.eclipse.cdt.managedbuilder.xlupc.ui</module>
		<module>xlc/org.eclipse.cdt.xlc.feature</module>
		<module>xlc/org.eclipse.cdt.xlc.sdk-feature</module>

		<module>releng/org.eclipse.cdt.native-feature</module>
		<module>releng/org.eclipse.cdt</module>
		<module>releng/org.eclipse.cdt.platform-feature</module>
		<module>releng/org.eclipse.cdt-feature</module>
		<module>releng/org.eclipse.cdt.sdk</module>
		<module>releng/org.eclipse.cdt.sdk-feature</module>
		<module>releng/org.eclipse.cdt.target</module>
		<module>releng/org.eclipse.cdt.repo</module>

		<module>build/org.eclipse.cdt.managedbuilder.core.tests</module>
		<module>build/org.eclipse.cdt.managedbuilder.ui.tests</module>
		<module>build/org.eclipse.cdt.make.core.tests</module>
		<module>build/org.eclipse.cdt.make.ui.tests</module>
		<module>build/org.eclipse.cdt.autotools.tests</module>
		<module>build/org.eclipse.cdt.autotools.ui.tests</module>
		<module>build/org.eclipse.cdt.cmake.ui.tests</module>
		<module>build/org.eclipse.cdt.meson.ui.tests</module>
		<module>codan/org.eclipse.cdt.codan.core.tests</module>
		<module>codan/org.eclipse.cdt.codan.checkers.ui.tests</module>
		<module>core/org.eclipse.cdt.core.tests</module>
		<module>core/org.eclipse.cdt.ui.tests</module>
		<module>dsf-gdb/org.eclipse.cdt.dsf.gdb.tests</module>
		<module>dsf-gdb/org.eclipse.cdt.tests.dsf.gdb</module>
		<module>dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui.tests</module>
		<module>jtag/org.eclipse.cdt.debug.gdbjtag.core.tests</module>
		<module>lsp/org.eclipse.cdt.lsp.core.tests</module>
		<module>qt/org.eclipse.cdt.qt.ui.tests</module>
		<module>testsrunner/org.eclipse.cdt.testsrunner.tests</module>
		<module>xlc/org.eclipse.cdt.errorparsers.xlc.tests</module>

		<module>releng/org.eclipse.cdt.testing</module>
		<module>releng/org.eclipse.cdt.testing-feature</module>
		<module>releng/org.eclipse.cdt.testing.repo</module>

		<!-- TODO:  Investigate/Fix hanging before re-enable re-enabling
		<module>debug/org.eclipse.cdt.debug.application.tests</module>
		-->
		
		<!--
		<module>lrparser/org.eclipse.cdt.core.lrparser.tests</module>
		<module>qt/org.eclipse.cdt.qt.core.tests</module>
		<module>upc/org.eclipse.cdt.core.parser.upc.tests</module>
		<module>org.eclipse.cdt.core.lrparser.xlc.tests</module>
		-->
	</modules>

	<pluginRepositories>
   		<pluginRepository>
			<id>cbi</id>
			<url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
		</pluginRepository>
  	</pluginRepositories>
	<profiles>
		<!-- Turn off doclint because javadocs are incomplete -->
		<profile>
			<id>disable-java8-doclint</id>
			<activation>
				<jdk>[1.8,)</jdk>
			</activation>
			<properties>
				<doclint>none</doclint>
			</properties>
		</profile>
		<profile>
			<id>cdtRepo</id>
			<repositories>
				<repository>
					<id>cdt.repo</id>
					<url>${cdt-site}</url>
					<layout>p2</layout>
				</repository>
			</repositories>
		</profile>
		<profile>
			<id>macosx</id>
			<activation>
				<os>
					<family>mac</family>
				</os>
			</activation>
			<properties>
				<base.ui.test.vmargs>${base.test.vmargs} -XstartOnFirstThread</base.ui.test.vmargs>
			</properties>
		</profile>
		<profile>
			<id>other-os</id>
			<activation>
				<os>
					<family>!mac</family>
				</os>
			</activation>
			<properties>
				<base.ui.test.vmargs>${base.test.vmargs}</base.ui.test.vmargs>
			</properties>
		</profile>
		<profile>
			<id>build-standalone-debugger-rcp</id>
			<modules>
				<module>debug/org.eclipse.cdt.debug.application.product</module>
			</modules>
		</profile>
		<!-- Automatic profile for features that shouldn't generate sources -->
		<profile>
			<id>feature-no-source</id>
			<activation>
				<file>
				<exists>feature-no-source.properties</exists>
				</file>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.eclipse.tycho.extras</groupId>
						<artifactId>tycho-source-feature-plugin</artifactId>
						<version>${tycho-extras-version}</version>
						<executions>
							<execution>
								<id>source-feature</id>
								<phase>none</phase>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
		<!-- Automatic profile to define the settings for UI test plugins -->
		<profile>
			<id>ui-test-plugin</id>
			<activation>
				<file>
				<exists>ui-test-plugin.properties</exists>
				</file>
			</activation>
			<build>
				<plugins>
				<plugin>
					<groupId>org.eclipse.tycho</groupId>
					<artifactId>tycho-surefire-plugin</artifactId>
					<configuration>
						<useUIHarness>true</useUIHarness>
						<useUIThread>true</useUIThread>
						<argLine>${tycho.testArgLine} ${base.ui.test.vmargs}</argLine>
					</configuration>
				</plugin>
				</plugins>
			</build>
		</profile>
		<!-- Automatic profile to define the settings for SWTBot test plugins -->
		<profile>
			<id>swtbot-test-plugin</id>
			<activation>
				<file>
				<exists>swtbot-test-plugin.properties</exists>
				</file>
			</activation>
			<build>
				<plugins>
				<plugin>
					<groupId>org.eclipse.tycho</groupId>
					<artifactId>tycho-surefire-plugin</artifactId>
					<configuration>
						<useUIHarness>true</useUIHarness>
						<useUIThread>false</useUIThread>
						<argLine>${tycho.testArgLine} ${base.ui.test.vmargs}</argLine>
					</configuration>
				</plugin>
				</plugins>
			</build>
		</profile>
		<profile>
			<id>skip-all-tests</id>
			<properties>
				<cdt-ui.skip.tests>true</cdt-ui.skip.tests>
				<dsf-gdb.skip.tests>true</dsf-gdb.skip.tests>
				<cdt-other.skip.tests>true</cdt-other.skip.tests>
				<lsp.skip.tests>true</lsp.skip.tests>
			</properties>
		</profile>
		<profile>
			<id>skip-tests-except-cdt-ui</id>
			<properties>
				<dsf-gdb.skip.tests>true</dsf-gdb.skip.tests>
				<cdt-other.skip.tests>true</cdt-other.skip.tests>
				<lsp.skip.tests>true</lsp.skip.tests>
			</properties>
		</profile>
		<profile>
			<id>skip-tests-except-dsf-gdb</id>
			<properties>
				<cdt-ui.skip.tests>true</cdt-ui.skip.tests>
				<cdt-other.skip.tests>true</cdt-other.skip.tests>
				<lsp.skip.tests>true</lsp.skip.tests>
			</properties>
		</profile>
		<profile>
			<id>skip-tests-except-lsp</id>
			<properties>
				<cdt-ui.skip.tests>true</cdt-ui.skip.tests>
				<cdt-other.skip.tests>true</cdt-other.skip.tests>
				<dsf-gdb.skip.tests>true</dsf-gdb.skip.tests>
			</properties>
		</profile>
		<profile>
			<id>skip-tests-except-cdt-other</id>
			<properties>
				<cdt-ui.skip.tests>true</cdt-ui.skip.tests>
				<dsf-gdb.skip.tests>true</dsf-gdb.skip.tests>
				<lsp.skip.tests>true</lsp.skip.tests>
			</properties>
		</profile>
		<profile>
			<id>production</id>
			<build>
				<plugins>
					<plugin>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>target-platform-configuration</artifactId>
						<version>${tycho-version}</version>
						<configuration>
							<includePackedArtifacts>true</includePackedArtifacts>
						</configuration>
					</plugin>
					<plugin>
						<groupId>org.eclipse.tycho.extras</groupId>
						<artifactId>tycho-pack200a-plugin</artifactId>
						<version>${tycho-extras-version}</version>
						<executions>
							<execution>
								<id>pack200-normalize</id>
								<goals>
									<goal>normalize</goal>
								</goals>
								<phase>verify</phase>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.eclipse.cbi.maven.plugins</groupId>
						<artifactId>eclipse-jarsigner-plugin</artifactId>
						<version>${cbi-plugins.version}</version>
						<executions>
							<execution>
								<id>sign</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.eclipse.tycho.extras</groupId>
						<artifactId>tycho-pack200b-plugin</artifactId>
						<version>${tycho-extras-version}</version>
						<executions>
							<execution>
								<id>pack200-pack</id>
								<goals>
									<goal>pack</goal>
								</goals>
								<phase>verify</phase>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>tycho-p2-plugin</artifactId>
						<version>${tycho-version}</version>
						<executions>
							<execution>
								<id>p2-metadata</id>
								<goals>
									<goal>p2-metadata</goal>
								</goals>
								<phase>verify</phase>
							</execution>
						</executions>
						<configuration>
							<defaultP2Metadata>false</defaultP2Metadata>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
	<build>
		<plugins>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>sonar-maven-plugin</artifactId>
				<version>2.4</version>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-maven-plugin</artifactId>
				<version>${tycho-version}</version>
				<extensions>true</extensions>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>target-platform-configuration</artifactId>
				<version>${tycho-version}</version>
				<configuration>
					<resolver>p2</resolver>
					<pomDependencies>consider</pomDependencies>
					<environments>
						<environment>
							<os>linux</os>
							<ws>gtk</ws>
							<arch>x86_64</arch>
						</environment>
						<environment>
							<os>linux</os>
							<ws>gtk</ws>
							<arch>ppc64le</arch>
						</environment>
						<environment>
							<os>win32</os>
							<ws>win32</ws>
							<arch>x86_64</arch>
						</environment>
						<environment>
							<os>macosx</os>
							<ws>cocoa</ws>
							<arch>x86_64</arch>
						</environment>
					</environments>
					<target>
						<artifact>
							<groupId>org.eclipse.cdt</groupId>
							<artifactId>org.eclipse.cdt.target</artifactId>
							<classifier>${target-platform}</classifier>
							<version>1.0.0</version>
						</artifact>
					</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-source-plugin</artifactId>
				<version>${tycho-version}</version>
				<configuration>
					<encoding>UTF-8</encoding>
				</configuration>
				<executions>
					<execution>
						<id>attach-source</id>
						<goals>
							<goal>plugin-source</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho.extras</groupId>
				<artifactId>tycho-source-feature-plugin</artifactId>
				<version>${tycho-extras-version}</version>
				<configuration>
					<includeBinaryFeature>false</includeBinaryFeature>
				</configuration>
				<executions>
					<execution>
						<id>source-feature</id>
						<phase>package</phase>
						<goals>
							<goal>source-feature</goal>
						</goals>
						<configuration>
							<excludes>
								<plugin id="org.eclipse.cdt.autotools.docs"/>
								<plugin id="org.eclipse.cdt.meson.docs"/>
								<plugin id="org.eclipse.cdt.core.linux.ppc64le"/>
								<plugin id="org.eclipse.cdt.core.linux.x86_64"/>
								<plugin id="org.eclipse.cdt.core.win32.x86_64"/>
								<plugin id="org.eclipse.cdt.debug.application.doc"/>
								<plugin id="org.eclipse.cdt.doc.user"/>
								<plugin id="org.eclipse.cdt.debug.gdbjtag"/>
								<plugin id="org.eclipse.cdt"/>
								<plugin id="net.sourceforge.lpg.lpgjavaruntime"/>
								<plugin id="org.eclipse.ant.optional.junit"/>
								<plugin id="org.eclipse.cdt.testing"/>
							</excludes>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-p2-plugin</artifactId>
				<version>${tycho-version}</version>
				<executions>
					<execution>
						<id>attached-p2-metadata</id>
						<phase>package</phase>
						<goals>
							<goal>p2-metadata</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.jacoco</groupId>
				<artifactId>jacoco-maven-plugin</artifactId>
				<version>0.8.4</version>
				<executions>
					<execution>
						<id>pre-test</id>
						<goals>
							<goal>prepare-agent</goal>
						</goals>
						<configuration>
						<!-- Where to put jacoco coverage report -->
							<destFile>${sonar.jacoco.reportPath}</destFile>
							<includes>
								<include>org.eclipse.cdt.*</include>
							</includes>
							<append>true</append>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho.extras</groupId>
				<artifactId>tycho-p2-extras-plugin</artifactId>
				<version>${tycho-version}</version>
				<executions>
					<execution> <!-- Checks versions are properly bumped from one stream to the other -->
						<id>compare-attached-artifacts-with-release</id>
						<goals>
							<goal>compare-version-with-baselines</goal>
						</goals>
						<configuration>
							<skip>${compare-version-with-baselines.skip}</skip>
							<baselines>
								<baseline>${comparator.repo}</baseline> <!-- Previous release) -->
							</baselines>
							<comparator>zip</comparator>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.eclipse.tycho</groupId>
					<artifactId>tycho-compiler-plugin</artifactId>
					<version>${tycho-version}</version>
					<configuration>
						<encoding>UTF-8</encoding>
					</configuration>
				</plugin>
				<!-- enable source bundle generation -->
				<plugin>
					<groupId>org.eclipse.tycho</groupId>
					<artifactId>tycho-source-plugin</artifactId>
					<version>${tycho-version}</version>
					<executions>
						<execution>
							<id>plugin-source</id>
							<goals>
								<goal>plugin-source</goal>
							</goals>
						</execution>
					</executions>
				</plugin>
				<plugin>
					<groupId>org.eclipse.tycho</groupId>
					<artifactId>tycho-packaging-plugin</artifactId>
					<version>${tycho-version}</version>
					<configuration>
						<format>${qualifier.format}</format>
						<timestampProvider>jgit</timestampProvider>
						<jgit.ignore>
							pom.xml
						</jgit.ignore>
						<jgit.dirtyWorkingTree>${jgit.dirtyWorkingTree-cdtDefault}</jgit.dirtyWorkingTree>
						<sourceReferences>
							<generate>true</generate>
						</sourceReferences>
					</configuration>
					<dependencies>
						<dependency>
							<groupId>org.eclipse.tycho.extras</groupId>
							<artifactId>tycho-buildtimestamp-jgit</artifactId>
							<version>${tycho-extras-version}</version>
						</dependency>
						<dependency>
							<groupId>org.eclipse.tycho.extras</groupId>
							<artifactId>tycho-sourceref-jgit</artifactId>
							<version>${tycho-extras-version}</version>
						</dependency>
					</dependencies>
				</plugin>
				<plugin>
					<groupId>org.eclipse.tycho</groupId>
					<artifactId>tycho-surefire-plugin</artifactId>
					<version>${tycho-version}</version>
					<configuration>
						<!-- Default configuration, UI tests may have to override these -->
						<useUIHarness>false</useUIHarness>
						<useUIThread>false</useUIThread>
						<includes>
							<include>**/AutomatedIntegrationSuite.*</include>
						</includes>
						<testFailureIgnore>true</testFailureIgnore>
						<dependencies>
							<dependency>
								<type>p2-installable-unit</type>
								<artifactId>org.eclipse.platform.feature.group</artifactId>
							</dependency>
						</dependencies>
						<product>org.eclipse.platform.ide</product>
						<argLine>${tycho.testArgLine} ${base.test.vmargs}</argLine>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.eclipse.tycho</groupId>
					<artifactId>tycho-p2-plugin</artifactId>
					<version>${tycho-version}</version>
					<executions>
						<execution>
							<id>baselinereplace-p2-metadata</id>
							<goals>
								<goal>p2-metadata</goal>
							</goals>
							<phase>verify</phase>
						</execution>
					</executions>
					<configuration>
						<baselineMode>fail</baselineMode>
						<baselineReplace>all</baselineReplace>
						<baselineRepositories>
							<repository>
								<url>${comparator.repo}</url>
							</repository>
						</baselineRepositories>
						<ignoredPatterns>
							<pattern>META-INF/ECLIPSE_.RSA</pattern>
							<pattern>META-INF/ECLIPSE_.SF</pattern>
						</ignoredPatterns>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-resources-plugin</artifactId>
					<version>3.1.0</version>
					<configuration>
						<encoding>ISO-8859-1</encoding>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-antrun-plugin</artifactId>
					<version>1.8</version>
				</plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>findbugs-maven-plugin</artifactId>
					<version>3.0.5</version>
					<configuration>
						<xmlOutput>true</xmlOutput>
						<excludeFilterFile>releng/findbugs-exclude.xml</excludeFilterFile>
						<failOnError>false</failOnError>
					</configuration>
					<executions>
						<execution>
							<goals>
								<goal>check</goal>
							</goals>
						</execution>
					</executions>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-pmd-plugin</artifactId>
					<version>3.11.0</version>
					<configuration>
						<sourceEncoding>utf-8</sourceEncoding>
						<minimumTokens>100</minimumTokens>
						<targetJdk>1.8</targetJdk>
						<format>xml</format>
						<failOnViolation>false</failOnViolation>
					</configuration>
					<executions>
						<execution>
							<goals>
								<goal>cpd-check</goal>
							</goals>
						</execution>
					</executions>
				</plugin>
				<plugin>
				<groupId>org.eclipse.tycho.extras</groupId>
				<artifactId>tycho-eclipserun-plugin</artifactId>
				<version>${tycho-extras-version}</version>
				<configuration>
					<appArgLine>-application org.eclipse.ant.core.antRunner -buildfile customBuildCallbacks.xml build.index</appArgLine>
					<dependencies>
						<dependency>
							<artifactId>org.apache.ant</artifactId>
							<type>eclipse-plugin</type>
						</dependency>
						<dependency>
							<artifactId>org.eclipse.help.base</artifactId>
							<type>eclipse-plugin</type>
						</dependency>
						<dependency>
							<artifactId>org.eclipse.ant.core</artifactId>
							<type>eclipse-plugin</type>
						</dependency>
					</dependencies>
					<!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
					<repositories>
						<repository>
							<id>platform</id>
							<layout>p2</layout>
							<url>${help-docs-eclipserun-repo}</url>
						</repository>
					</repositories>
				</configuration>
				<executions>
					<execution>
						<goals>
							<goal>eclipse-run</goal>
						</goals>
						<phase>compile</phase>
						<configuration>
							<executionEnvironment>JavaSE-1.8</executionEnvironment>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<inherited>true</inherited>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-enforcer-plugin</artifactId>
				<version>3.0.0-M2</version>
				<executions>
				<execution>
					<id>enforce-maven-version</id>
					<goals>
					<goal>enforce</goal>
					</goals>
					<configuration>
					<rules>
						<requireMavenVersion>
						<version>${required-maven-version}</version>
						</requireMavenVersion>
						<requireJavaVersion>
						<version>1.8</version>
						</requireJavaVersion>
					</rules>
					<fail>true</fail>
					</configuration>
				</execution>
				</executions>
			</plugin>
			</plugins>
		</pluginManagement>
	</build>
</project>

Back to the top