Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 3e25d7ba80013df561413fc4d37a371260432bf6 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                                          
                                         




                                                            
                                         





















                                                                                      
                                     



                                                                                                                


                                                                                       


                                                



                                                                                              


                                                                                                 



                                                                                              



                                                                                        




                                          










                                                                                              













































                                                                                                                      

                   
<?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>

	<parent>
        <groupId>org.eclipse.tcf</groupId>
        <artifactId>org.eclipse.tcf.maven-config</artifactId>
        <version>1.2.0-SNAPSHOT</version>
        <relativePath>pom-config.xml</relativePath>
	</parent>

	<groupId>org.eclipse.tcf</groupId>
	<artifactId>org.eclipse.tcf.maven-build</artifactId>
	<version>1.2.0-SNAPSHOT</version>
	<packaging>pom</packaging>
	<name>TCF and Target Explorer, Maven Build Master</name>

	<build>
		<plugins>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-maven-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>target-platform-configuration</artifactId>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-source-plugin</artifactId>
			</plugin>
		</plugins>
	</build>

	<profiles>
		<profile>
			<id>sign</id>
			<!-- Uses the new jarsigner from the CBI platform     -->
			<!-- Not deployed to nexus yet. Must be build locally -->
			<!-- before running this profile.                     -->
			<!-- See http://wiki.eclipse.org/Platform-releng/Platform_Build#Building for details -->
			<!-- -->
			<!-- Works only if the build runs at a Eclipse build server -->
			
			<build>
				<plugins>
					<plugin>
						<groupId>org.eclipse.tycho.extras</groupId>
						<artifactId>tycho-pack200a-plugin</artifactId>
					</plugin>
					<plugin>
						<groupId>org.eclipse.cbi.maven.plugins</groupId>
						<artifactId>eclipse-jarsigner-plugin</artifactId>
					</plugin>
					<plugin>
						<groupId>org.eclipse.tycho.extras</groupId>
						<artifactId>tycho-pack200b-plugin</artifactId>
					</plugin>
					<plugin>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>tycho-p2-plugin</artifactId>
					</plugin>
				</plugins>
			</build>
		</profile>
		
		<profile>
			<id>findbugs</id>
 
			<build>
				<plugins>
					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>findbugs-maven-plugin</artifactId>
					</plugin>
				</plugins>
			</build>
		</profile>
		
		<profile>
			<id>validate</id>
			<!-- The validate profile is does work only inside the WR network. -->
			<!-- The profile requires a custom plug-in to generate the validation report -->
			
			<pluginRepositories>
				<pluginRepository>
					<id>wr</id>
					<url>http://szg-bld-wb.wrs.com/wb-sd/maven/</url>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
					<releases>
						<enabled>true</enabled>
					</releases>
				</pluginRepository>
			</pluginRepositories>
			
			<build>
				<plugins>
					<plugin>
						<groupId>com.windriver.tycho-ext</groupId>
						<artifactId>manifest-validation-plugin</artifactId>
						<version>1.0.2</version>
						<executions>
							<execution>
								<id>clean</id>
								<phase>clean</phase>
								<goals>
									<goal>clean</goal>
								</goals>
							</execution>
							<execution>
								<id>validate</id>
								<phase>validate</phase>
								<goals>
									<goal>validate-required-bundle-versions</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
			
		</profile>
	</profiles>
</project>

Back to the top