|
@@ -42,7 +42,8 @@
|
|
|
<echo
|
|
|
message="Replacing @build@ token within about.mappings with build id." />
|
|
|
<replace file="about.mappings">
|
|
|
- <replacefilter token="@build@" value="${unqualifiedVersion}.${buildQualifier}" />
|
|
|
+ <replacefilter token="@build@"
|
|
|
+ value="${unqualifiedVersion}.${buildQualifier}" />
|
|
|
</replace>
|
|
|
</then>
|
|
|
</if>
|
|
@@ -52,7 +53,8 @@
|
|
|
<echo
|
|
|
message="Replacing @build@ token within javadocOptions.txt with build id." />
|
|
|
<replace file="javadocOptions.txt">
|
|
|
- <replacefilter token="@build@" value="${unqualifiedVersion}.${buildQualifier}" />
|
|
|
+ <replacefilter token="@build@"
|
|
|
+ value="${unqualifiedVersion}.${buildQualifier}" />
|
|
|
</replace>
|
|
|
</then>
|
|
|
</if>
|
|
@@ -75,7 +77,8 @@
|
|
|
<echo
|
|
|
message="Replacing back build id within about.mappings with @build@ token." />
|
|
|
<replace file="about.mappings">
|
|
|
- <replacefilter token="${unqualifiedVersion}.${buildQualifier}" value="@build@" />
|
|
|
+ <replacefilter token="${unqualifiedVersion}.${buildQualifier}"
|
|
|
+ value="@build@" />
|
|
|
</replace>
|
|
|
</then>
|
|
|
</if>
|
|
@@ -85,7 +88,8 @@
|
|
|
<echo
|
|
|
message="Replacing back build id within javadocOptions.txt with @build@ token." />
|
|
|
<replace file="javadocOptions.txt">
|
|
|
- <replacefilter token="${unqualifiedVersion}.${buildQualifier}" value="@build@" />
|
|
|
+ <replacefilter token="${unqualifiedVersion}.${buildQualifier}"
|
|
|
+ value="@build@" />
|
|
|
</replace>
|
|
|
</then>
|
|
|
</if>
|
|
@@ -109,14 +113,16 @@
|
|
|
|
|
|
<repositories>
|
|
|
<repository>
|
|
|
- <!-- Selected version of xtextUtils repository which is shipped with this repository -->
|
|
|
- <!-- Todo: works only with a custom java keystore because of self signed ssl-cert, local results previous build in local repo are used as fallback -->
|
|
|
+ <!-- Selected version of xtextUtils repository which is shipped with this
|
|
|
+ repository -->
|
|
|
+ <!-- Todo: works only with a custom java keystore because of self signed
|
|
|
+ ssl-cert, local results previous build in local repo are used as fallback -->
|
|
|
<id>xtextUtils</id>
|
|
|
<layout>p2</layout>
|
|
|
<url>${xtextUtilsRepository}artifact/update-site/</url>
|
|
|
</repository>
|
|
|
</repositories>
|
|
|
-
|
|
|
+
|
|
|
<profiles>
|
|
|
<profile>
|
|
|
<id>Indigo.target</id>
|
|
@@ -171,6 +177,41 @@
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</profile>
|
|
|
+ <profile>
|
|
|
+ <id>CI</id>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.tycho.extras</groupId>
|
|
|
+ <artifactId>tycho-p2-extras-plugin</artifactId>
|
|
|
+ <version>${tycho-version}</version>
|
|
|
+ <inherited>false</inherited>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>prepare-package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>mirror</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ <configuration>
|
|
|
+ <source>
|
|
|
+ <!-- source repositori(es) to mirror from -->
|
|
|
+ <repository>
|
|
|
+ <url>${xtextUtilsRepository}artifact/update-site/</url>
|
|
|
+ <layout>p2</layout>
|
|
|
+ <!-- sypported layouts are "p2-metadata", "p2-artifacts", and "p2"
|
|
|
+ (for joint repositories) -->
|
|
|
+ </repository>
|
|
|
+ </source>
|
|
|
+
|
|
|
+ <destination>${project.build.directory}/xtextUtilsRepository</destination>
|
|
|
+ <compress>true</compress>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ </profile>
|
|
|
</profiles>
|
|
|
|
|
|
<modules>
|