123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- <?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>
- <groupId>org.yakindu.base</groupId>
- <artifactId>org.yakindu.base.releng</artifactId>
- <version>2.1.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <!-- this is the parent POM from which all modules inherit common settings -->
- <properties>
- <tycho-version>0.16.0</tycho-version>
- <antrun-version>1.6</antrun-version>
- <p2.target.repository>file:../org.yakindu.base.target/target/repository</p2.target.repository>
- <tycho-extras-version>0.16.0</tycho-extras-version>
- </properties>
- <repositories>
- <repository>
- <id>target</id>
- <layout>p2</layout>
- <url>${p2.target.repository}</url>
- </repository>
- </repositories>
- <build>
- <plugins>
- <plugin>
- <!-- enable tycho build extension -->
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-maven-plugin</artifactId>
- <version>${tycho-version}</version>
- <extensions>true</extensions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>${antrun-version}</version>
- <executions>
- <execution>
- <id>replace-build-token</id>
- <phase>generate-sources</phase>
- <configuration>
- <target>
- <taskdef resource="net/sf/antcontrib/antcontrib.properties"
- classpathref="maven.plugin.classpath" />
- <if>
- <available file="about.mappings" />
- <then>
- <echo
- message="Replacing @build@ token within about.mappings with build id." />
- <replace file="about.mappings">
- <replacefilter token="@build@"
- value="${unqualifiedVersion}.${buildQualifier}" />
- </replace>
- </then>
- </if>
- <if>
- <available file="javadocOptions.txt" />
- <then>
- <echo
- message="Replacing @build@ token within javadocOptions.txt with build id." />
- <replace file="javadocOptions.txt">
- <replacefilter token="@build@"
- value="${unqualifiedVersion}.${buildQualifier}" />
- </replace>
- </then>
- </if>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- <execution>
- <id>replace-back-build-token</id>
- <phase>install</phase>
- <configuration>
- <target>
- <taskdef resource="net/sf/antcontrib/antcontrib.properties"
- classpathref="maven.plugin.classpath" />
- <if>
- <available file="about.mappings" />
- <then>
- <echo
- message="Replacing back build id within about.mappings with @build@ token." />
- <replace file="about.mappings">
- <replacefilter token="${unqualifiedVersion}.${buildQualifier}"
- value="@build@" />
- </replace>
- </then>
- </if>
- <if>
- <available file="javadocOptions.txt" />
- <then>
- <echo
- message="Replacing back build id within javadocOptions.txt with @build@ token." />
- <replace file="javadocOptions.txt">
- <replacefilter token="${unqualifiedVersion}.${buildQualifier}"
- value="@build@" />
- </replace>
- </then>
- </if>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>ant-contrib</groupId>
- <artifactId>ant-contrib</artifactId>
- <version>20020829</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>2.4.1</version>
- </plugin>
- <plugin>
- <groupId>org.eclipse.xtend</groupId>
- <artifactId>xtend-maven-plugin</artifactId>
- <version>2.3.0</version>
- <configuration>
- <!-- need to prefix by basedir to generate to currently built module -->
- <outputDirectory>${basedir}/xtend-gen</outputDirectory>
- </configuration>
- </plugin>
- <!-- Avoid the generation of maven archive information in the META-INF
- folder -->
- <plugin>
- <groupId>${tycho-groupid}</groupId>
- <artifactId>tycho-packaging-plugin</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <archive>
- <addMavenDescriptor>false</addMavenDescriptor>
- </archive>
- </configuration>
- </plugin>
- <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>package</phase>
- <goals>
- <goal>source-feature</goal>
- </goals>
- </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>
- </plugins>
- </pluginManagement>
- </build>
- <pluginRepositories>
- <pluginRepository>
- <id>eclipse-xtend</id>
- <url>http://build.eclipse.org/common/xtend/maven</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
- <profiles>
- <profile>
- <id>Indigo.target</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>target-platform-configuration</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <!-- add target file content to target platform -->
- <environments>
- <environment>
- <os>linux</os>
- <ws>gtk</ws>
- <arch>x86</arch>
- </environment>
- <environment>
- <os>linux</os>
- <ws>gtk</ws>
- <arch>x86_64</arch>
- </environment>
- <environment>
- <os>win32</os>
- <ws>win32</ws>
- <arch>x86</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>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- <modules>
- <module>../org.yakindu.base.types</module>
- <module>../org.yakindu.base.types.edit</module>
- <module>../org.yakindu.base.types.scope</module>
- <module>../de.itemis.gmf.runtime.commons</module>
- <module>../de.itemis.gmf.runtime.commons-feature</module>
- <module>../de.itemis.xtext.utils.gmf</module>
- <module>../de.itemis.xtext.utils.gmf-feature</module>
- <!-- <module>../de.itemis.xtext.utils.gmf.source-feature</module> -->
- <module>../de.itemis.xtext.utils.jface</module>
- <module>../de.itemis.xtext.utils.jface-feature</module>
- <!-- <module>../de.itemis.xtext.utils.jface.source-feature</module> -->
- <module>../org.yakindu.base-feature</module>
- <module>../org.yakindu.base.repository</module>
- </modules>
- </project>
|