Skip to content

Commit

Permalink
Release build support:
Browse files Browse the repository at this point in the history
  - Customize build qualifier to distinguish RELEASE from SNAPSHOT.
  - Enable 'archiveSite' in packaging of update site into a zip.
  • Loading branch information
kdvolder committed Jun 1, 2015
1 parent d74fe8b commit 7a0a2ca
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,27 @@
<id>indigo</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/indigo</url>
</repository>
</repository>
<repository>
<id>orbit</id>
<layout>p2</layout>
<url>http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/</url>
</repository>
</repository>
</repositories>

<properties>
<tycho-version>0.22.0</tycho-version>
<p2.qualifier>SNAPSHOT</p2.qualifier>
</properties>

<profiles>
<profile>
<id>release</id>
<properties>
<p2.qualifier>RELEASE</p2.qualifier>
</properties>
</profile>
</profiles>

<build>
<plugins>
Expand All @@ -38,6 +48,15 @@
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<format>yyyyMMddHHmm-'${p2.qualifier}'</format>
<archiveSite>true</archiveSite>
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 7a0a2ca

Please sign in to comment.