blob: 548d12a1f0843ddadf3acf6749d4bebeed333950 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012 BSI Business Systems Integration AG.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Stephan Leicht Vogt - initial implementation
-->
<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>
<groupId>org.eclipse.scout</groupId>
<artifactId>eclipse.scout-aggregator</artifactId>
<version>4.2.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/scout/org.eclipse.scout-aggregator.git</tycho.scmUrl>
<scout.base.version>4.2.0</scout.base.version>
<tycho.version>0.20.0</tycho.version>
</properties>
<distributionManagement>
<repository>
<id>repo.eclipse.org</id>
<name>Scout Repository - Releases</name>
<url>https://repo.eclipse.org/content/repositories/scout-releases/</url>
</repository>
<snapshotRepository>
<id>repo.eclipse.org</id>
<name>Scout Repository - Snapshots</name>
<url>https://repo.eclipse.org/content/repositories/scout-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>org.eclipse.scout.parent</module>
<module>org.eclipse.scout.rt</module>
<module>org.eclipse.scout.rt.incubator</module>
<module>org.eclipse.scout.sdk</module>
</modules>
</profile>
<profile>
<id>repository</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>org.eclipse.scout-feature</module>
<module>org.eclipse.scout.repository</module>
<module>org.eclipse.scout.rt.rap.target</module>
<module>org.eclipse.scout.rt.rap.target-feature</module>
<module>org.eclipse.scout.rap.repository</module>
</modules>
</profile>
<profile>
<id>onlyRepoBuild</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<target>
<artifact>
<groupId>org.eclipse.scout</groupId>
<artifactId>org.eclipse.scout.target</artifactId>
<version>${scout.version}</version>
<classifier>${target-platform}</classifier>
</artifact>
<artifact>
<groupId>org.eclipse.scout</groupId>
<artifactId>org.eclipse.scout.repo.all.target</artifactId>
<version>${project.version}</version>
</artifact>
<artifact>
<groupId>org.eclipse.scout</groupId>
<artifactId>org.eclipse.scout.rap.basic.target</artifactId>
<version>${project.version}</version>
</artifact>
</target>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>generateTargets</id>
<modules>
<module>org.eclipse.scout.rap.basic.target</module>
<module>org.eclipse.scout.repo.all.target</module>
</modules>
</profile>
<profile>
<id>prepare-release</id>
<properties>
<milestone.version>I</milestone.version>
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
<newVersion>${scout.base.version}.${maven.build.timestamp}-${milestone.version}</newVersion>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<defaultGoal>org.eclipse.tycho:tycho-versions-plugin:set-version</defaultGoal>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-versions-plugin</artifactId>
<executions>
<execution>
<id>set-version</id>
<goals>
<goal>set-version</goal>
</goals>
<configuration>
<newVersion>${newVersion}</newVersion>
</configuration>
<phase>validate</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>parent-only</id>
<modules>
<module>org.eclipse.scout.parent</module>
</modules>
</profile>
</profiles>
<build>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.jboss.tools.tycho-plugins</groupId>
<artifactId>target-platform-utils</artifactId>
<versionRange>[0.16.0.CR2,)</versionRange>
<goals>
<goal>mirror-target-to-repo</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<versionRange>[1.5.2,)</versionRange>
<goals>
<goal>replace</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>