123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553 |
- <?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.sct</groupId>
- <artifactId>org.yakindu.sct.releng</artifactId>
- <version>2.1.2-SNAPSHOT</version>
- <packaging>pom</packaging>
- <!-- this is the parent POM from which all modules inherit common settings -->
- <properties>
- <tycho-version>0.18.0</tycho-version>
- <tycho-extras-version>0.18.0</tycho-extras-version>
- <antrun-version>1.6</antrun-version>
- <p2.base.repository>file:../org.yakindu.base.repository/target/repository</p2.base.repository>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <build>
- <!--resources> <resource> <directory> [your folder here] </directory> </resource>
- </resources -->
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <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>verify</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>
- <!-- Configure sources (Source feature has to be added to category manually) -->
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-source-plugin</artifactId>
- <version>${tycho-version}</version>
- <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>
- <executions>
- <execution>
- <id>source-feature</id>
- <phase>package</phase>
- <goals>
- <goal>source-feature</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- pack plugins with pack200, which are smaller class files (Part I) -->
- <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>
- </execution>
- </executions>
- </plugin>
- <!-- TODO sign here -->
- <!-- pack plugins with pack200, which are smaller class files (Part II)
- and add them to p2-metadata -->
- <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>
- </execution>
- </executions>
- </plugin>
- <!-- Then, alter p2-metadata to make the .pack.gz and the source bundles
- visible from other modules -->
- <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>package</phase>
- </execution>
- </executions>
- <configuration>
- <defaultP2Metadata>false</defaultP2Metadata>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>target-platform-configuration</artifactId>
- <version>${tycho-version}</version>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <!-- Avoid the generation of maven archive information in the META-INF
- folder -->
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-packaging-plugin</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <archive>
- <addMavenDescriptor>false</addMavenDescriptor>
- </archive>
- </configuration>
- </plugin>
- <!-- TYCHO -->
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-compiler-plugin</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <encoding>UTF-8</encoding>
- <source>6.0</source>
- <target>6.0</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.3</version>
- <executions>
- <execution>
- <id>add-source</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>${project.build.directory}/xtend-gen</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>2.4.1</version>
- </plugin>
- <plugin>
- <groupId>org.fornax.toolsupport</groupId>
- <artifactId>fornax-oaw-m2-plugin</artifactId>
- <version>3.3.0</version>
- </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.xtend</groupId>
- <artifactId>xtend-maven-plugin</artifactId>
- <version>2.4.2</version>
- <configuration>
- <!-- need to prefix by basedir to generate to currently built module -->
- <outputDirectory>${basedir}/xtend-gen</outputDirectory>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-p2-repository-plugin</artifactId>
- <version>${tycho-version}</version>
- </plugin>
- <!-- APACHE MAVEN PLUGINS -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.3</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-4</version>
- </plugin>
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <preparationGoals>clean -DnewVersion=${releaseVersion}
- -Dprudent=true
- org.eclipse.tycho:tycho-versions-plugin:set-version
- verify
- scm:checkin</preparationGoals>
- <arguments>-Prelease</arguments>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.eclipse.dash.maven</groupId>
- <artifactId>eclipse-signing-maven-plugin</artifactId>
- <version>1.0.2</version>
- </plugin>
- <plugin>
- <!-- Base configuration of target environments -->
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>target-platform-configuration</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <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>
- </pluginManagement>
- </build>
- <pluginRepositories>
- <!-- Fornax Workflow Runner plugin -->
- <pluginRepository>
- <id>fornax</id>
- <url>http://www.fornax-platform.org/m2/repository</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>eclipse-xtend</id>
- <url>http://build.eclipse.org/common/xtend/maven</url>
- </pluginRepository>
- </pluginRepositories>
- <repositories>
- <repository>
- <id>yakindu-base</id>
- <layout>p2</layout>
- <url>${p2.base.repository}</url>
- </repository>
- </repositories>
- <profiles>
- <profile>
- <id>builds-target</id>
- <activation>
- <!-- ActiveByDefault does not work because of macosx-profile with is
- triggered by property -->
- <!-- <activeByDefault>true</activeByDefault> -->
- <property>
- <name>!noBuildsTarget</name>
- </property>
- </activation>
- <properties>
- <p2.base.repository>https://projects.itemis.de/data/yakindu/base/kepler/snapshot/</p2.base.repository>
- </properties>
- </profile>
- <profile>
- <id>Indigo.target</id>
- <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 -->
- <target>
- <artifact>
- <groupId>org.yakindu.base</groupId>
- <artifactId>org.yakindu.base.target</artifactId>
- <version>2.1.2-SNAPSHOT</version>
- <classifier>Juno</classifier>
- </artifact>
- </target>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>Kepler.target</id>
- <activation>
- <!-- ActiveByDefault does not work because of macosx-profile with is
- triggered by property -->
- <!-- <activeByDefault>true</activeByDefault> -->
- <property>
- <name>!noKeplerTarget</name>
- </property>
- </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 -->
- <target>
- <artifact>
- <groupId>org.yakindu.base</groupId>
- <artifactId>org.yakindu.base.target</artifactId>
- <version>2.1.2-SNAPSHOT</version>
- <classifier>Kepler</classifier>
- </artifact>
- </target>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>CI</id>
- <!-- Test failures are collected by jenkins and evaluated for instable
- builds -->
- <properties>
- <testFailureIgnore>true</testFailureIgnore>
- </properties>
- </profile>
- <profile>
- <id>macosx</id>
- <activation>
- <os>
- <family>mac</family>
- </os>
- </activation>
- <properties>
- <ui.test.vmargs>-Xmx512m -XX:MaxPermSize=256m -XstartOnFirstThread</ui.test.vmargs>
- </properties>
- </profile>
- <profile>
- <id>other-os</id>
- <activation>
- <os>
- <family>!mac</family>
- </os>
- </activation>
- <properties>
- <ui.test.vmargs>-Xmx512m -XX:MaxPermSize=256m</ui.test.vmargs>
- </properties>
- </profile>
- </profiles>
- <modules>
- <!-- Only for access without m2-repo -->
- <module>../org.yakindu.base.target</module>
- <module>../org.yakindu.sct.commons</module>
- <module>../org.yakindu.sct.doc.user</module>
- <module>../org.yakindu.sct.examples.trafficlight</module>
- <module>../org.yakindu.sct.generator.core</module>
- <module>../org.yakindu.sct.generator.genmodel</module>
- <module>../org.yakindu.sct.generator.genmodel.test</module>
- <module>../org.yakindu.sct.generator.genmodel.ui</module>
- <module>../org.yakindu.sct.model.sexec</module>
- <module>../org.yakindu.sct.model.sexec.edit</module>
- <module>../org.yakindu.sct.model.sexec.test</module>
- <module>../org.yakindu.sct.model.sgen</module>
- <module>../org.yakindu.sct.model.sgen.edit</module>
- <module>../org.yakindu.sct.model.sgraph</module>
- <module>../org.yakindu.sct.model.sgraph.edit</module>
- <module>../org.yakindu.sct.model.sgraph.test</module>
- <module>../org.yakindu.sct.model.sgraph.ui</module>
- <module>../org.yakindu.sct.model.stext</module>
- <module>../org.yakindu.sct.model.stext.edit</module>
- <module>../org.yakindu.sct.model.stext.resource</module>
- <module>../org.yakindu.sct.model.stext.resource.test</module>
- <module>../org.yakindu.sct.model.stext.test</module>
- <module>../org.yakindu.sct.model.stext.ui</module>
- <module>../org.yakindu.sct.simulation.core</module>
- <module>../org.yakindu.sct.simulation.ui</module>
- <module>../org.yakindu.sct.simulation.core.sexec</module>
- <module>../org.yakindu.sct.simulation.ui.sexec</module>
- <module>../org.yakindu.sct.simulation.core.sexec.test</module>
- <module>../org.yakindu.sct.ui</module>
- <module>../org.yakindu.sct.ui.editor</module>
- <module>../org.yakindu.sct.ui.examples</module>
- <module>../org.yakindu.sct.ui.integration.stext</module>
- <module>../org.yakindu.sct.ui.navigator</module>
- <module>../org.yakindu.sct-feature</module>
- <module>../org.yakindu.sct.test.models</module>
- <module>../org.yakindu.sct.generator.c</module>
- <module>../org.yakindu.sct.generator.c.test</module>
- <module>../org.yakindu.sct.generator.c-feature</module>
- <module>../org.yakindu.sct.generator.cpp</module>
- <module>../org.yakindu.sct.generator.cpp.test</module>
- <module>../org.yakindu.sct.generator.java</module>
- <module>../org.yakindu.sct.generator.java.test</module>
- <module>../org.yakindu.sct.generator.java-feature</module>
- <module>../org.yakindu.sct.refactoring</module>
- <module>../org.yakindu.sct.refactoring.tests</module>
- <module>../org.yakindu.sct.generator-feature</module>
- <module>../org.yakindu.sct.sdk-feature</module>
- <module>../org.yakindu.sct.test-feature</module>
- <module>../org.yakindu.sct.repository</module>
- <module>../org.yakindu.sct.repository.full</module>
-
- <module>../org.yakindu.sct.compare</module>
- </modules>
- </project>
|