Jelajahi Sumber

* Change to Tycho 0.18
* Moved target handling to target definition, which has to be taken from base.target
* cleaned up parent poms
* added pack200-Artifacts
* Had to remove empty strings from feature.xml's

benjamin.schwertfeger@googlemail.com 12 tahun lalu
induk
melakukan
5d7e62f9c4

+ 0 - 12
de.itemis.gmf.utils/features/de.itemis.gmf.runtime.commons-feature/pom.xml

@@ -13,16 +13,4 @@
 	<packaging>eclipse-feature</packaging>
 	<groupId>de.itemis.utils.features</groupId>
 	
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.eclipse.tycho.extras</groupId>
-				<artifactId>tycho-source-feature-plugin</artifactId>
-			</plugin>
-			<plugin>
-				<groupId>org.eclipse.tycho</groupId>
-				<artifactId>tycho-p2-plugin</artifactId>
-			</plugin>
-		</plugins>
-	</build>
 </project>

+ 0 - 17
de.itemis.gmf.utils/plugins/de.itemis.gmf.runtime.commons/pom.xml

@@ -12,21 +12,4 @@
 	<artifactId>de.itemis.gmf.runtime.commons</artifactId>
 	<groupId>de.itemis.utils.plugins</groupId>
 	<packaging>eclipse-plugin</packaging>
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.eclipse.tycho</groupId>
-				<artifactId>tycho-source-plugin</artifactId>
-				<version>${tycho-version}</version>
-				<executions>
-					<execution>
-						<id>plugin-source</id>
-						<goals>
-							<goal>plugin-source</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
-		</plugins>
-	</build>
 </project>

+ 0 - 12
de.itemis.xtext.utils/features/de.itemis.xtext.utils.gmf-feature/pom.xml

@@ -13,16 +13,4 @@
 	<packaging>eclipse-feature</packaging>
 	<groupId>de.itemis.utils.features</groupId>
 	
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.eclipse.tycho.extras</groupId>
-				<artifactId>tycho-source-feature-plugin</artifactId>
-			</plugin>
-			<plugin>
-				<groupId>org.eclipse.tycho</groupId>
-				<artifactId>tycho-p2-plugin</artifactId>
-			</plugin>
-		</plugins>
-	</build>
 </project>

+ 0 - 12
de.itemis.xtext.utils/features/de.itemis.xtext.utils.jface-feature/pom.xml

@@ -13,16 +13,4 @@
 	<packaging>eclipse-feature</packaging>
 	<groupId>de.itemis.utils.features</groupId>
 	
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.eclipse.tycho.extras</groupId>
-				<artifactId>tycho-source-feature-plugin</artifactId>
-			</plugin>
-			<plugin>
-				<groupId>org.eclipse.tycho</groupId>
-				<artifactId>tycho-p2-plugin</artifactId>
-			</plugin>
-		</plugins>
-	</build>
 </project>

+ 0 - 17
de.itemis.xtext.utils/plugins/de.itemis.xtext.utils.gmf/pom.xml

@@ -12,21 +12,4 @@
 	<artifactId>de.itemis.xtext.utils.gmf</artifactId>
 	<groupId>de.itemis.utils.plugins</groupId>
 	<packaging>eclipse-plugin</packaging>
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.eclipse.tycho</groupId>
-				<artifactId>tycho-source-plugin</artifactId>
-				<version>${tycho-version}</version>
-				<executions>
-					<execution>
-						<id>plugin-source</id>
-						<goals>
-							<goal>plugin-source</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
-		</plugins>
-	</build>
 </project>

+ 0 - 17
de.itemis.xtext.utils/plugins/de.itemis.xtext.utils.jface/pom.xml

@@ -12,21 +12,4 @@
 	<artifactId>de.itemis.xtext.utils.jface</artifactId>
 	<groupId>de.itemis.utils.plugins</groupId>
 	<packaging>eclipse-plugin</packaging>
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.eclipse.tycho</groupId>
-				<artifactId>tycho-source-plugin</artifactId>
-				<version>${tycho-version}</version>
-				<executions>
-					<execution>
-						<id>plugin-source</id>
-						<goals>
-							<goal>plugin-source</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
-		</plugins>
-	</build>
 </project>

+ 57 - 53
features/org.yakindu.base-feature/feature.xml

@@ -1,53 +1,57 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
-      id="org.yakindu.base"
-      label="%featureName"
-      version="2.1.0.qualifier"
-      provider-name="yakindu.org">
-
-   <description url="">
-      %description
-   </description>
-
-   <copyright url="http://www.example.com/copyright">
-      %copyright
-   </copyright>
-
-   <license url="%licenseURL">
-      %license
-   </license>
-
-   <includes
-         id="de.itemis.gmf.runtime.commons"
-         version="0.0.0"/>
-
-   <includes
-         id="de.itemis.xtext.utils.gmf"
-         version="0.0.0"/>
-
-   <includes
-         id="de.itemis.xtext.utils.jface"
-         version="0.0.0"/>
-
-   <plugin
-         id="org.yakindu.base.types"
-         download-size="0"
-         install-size="0"
-         version="0.0.0"
-         unpack="false"/>
-
-   <plugin
-         id="org.yakindu.base.types.edit"
-         download-size="0"
-         install-size="0"
-         version="0.0.0"
-         unpack="false"/>
-
-   <plugin
-         id="org.yakindu.base.types.scope"
-         download-size="0"
-         install-size="0"
-         version="0.0.0"
-         unpack="false"/>
-
-</feature>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+      id="org.yakindu.base"
+      label="%featureName"
+      version="2.1.0.qualifier"
+      provider-name="yakindu.org">
+
+   <description url="http://www.statecharts.org">
+      %description
+   </description>
+
+   <copyright url="%licenseURL">
+      %copyright
+   </copyright>
+
+   <license url="%licenseURL">
+      %license
+   </license>
+
+   <url>
+      <discovery label="Yakindu SCT Repository" url="http://updates.yakindu.com/juno/releases"/>
+   </url>
+
+   <includes
+         id="de.itemis.gmf.runtime.commons"
+         version="0.0.0"/>
+
+   <includes
+         id="de.itemis.xtext.utils.gmf"
+         version="0.0.0"/>
+
+   <includes
+         id="de.itemis.xtext.utils.jface"
+         version="0.0.0"/>
+
+   <plugin
+         id="org.yakindu.base.types"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.yakindu.base.types.edit"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.yakindu.base.types.scope"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+</feature>

+ 0 - 12
features/org.yakindu.base-feature/pom.xml

@@ -14,16 +14,4 @@
 	<groupId>org.yakindu.base.features</groupId>
 	<name>Base :: Feature</name>
 
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.eclipse.tycho.extras</groupId>
-				<artifactId>tycho-source-feature-plugin</artifactId>
-			</plugin>
-			<plugin>
-				<groupId>org.eclipse.tycho</groupId>
-				<artifactId>tycho-p2-plugin</artifactId>
-			</plugin>
-		</plugins>
-	</build>
 </project>

+ 1 - 17
plugins/org.yakindu.base.types.edit/pom.xml

@@ -12,21 +12,5 @@
 	<artifactId>org.yakindu.base.types.edit</artifactId>
 	<groupId>org.yakindu.base.plugins</groupId>
 	<packaging>eclipse-plugin</packaging>
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.eclipse.tycho</groupId>
-				<artifactId>tycho-source-plugin</artifactId>
-				<version>${tycho-version}</version>
-				<executions>
-					<execution>
-						<id>plugin-source</id>
-						<goals>
-							<goal>plugin-source</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
-		</plugins>
-	</build>
+
 </project>

+ 1 - 17
plugins/org.yakindu.base.types.scope/pom.xml

@@ -12,21 +12,5 @@
 	<artifactId>org.yakindu.base.types.scope</artifactId>
 	<groupId>org.yakindu.base.plugins</groupId>
 	<packaging>eclipse-plugin</packaging>
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.eclipse.tycho</groupId>
-				<artifactId>tycho-source-plugin</artifactId>
-				<version>${tycho-version}</version>
-				<executions>
-					<execution>
-						<id>plugin-source</id>
-						<goals>
-							<goal>plugin-source</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
-		</plugins>
-	</build>
+
 </project>

+ 0 - 13
plugins/org.yakindu.base.types/pom.xml

@@ -14,19 +14,6 @@
 	<packaging>eclipse-plugin</packaging>
 	<build>
 		<plugins>
-			<plugin>
-				<groupId>org.eclipse.tycho</groupId>
-				<artifactId>tycho-source-plugin</artifactId>
-				<version>${tycho-version}</version>
-				<executions>
-					<execution>
-						<id>plugin-source</id>
-						<goals>
-							<goal>plugin-source</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
 			<plugin>
 				<artifactId>maven-clean-plugin</artifactId>
 				<configuration>

+ 155 - 57
releng/org.yakindu.base.releng/pom.xml

@@ -10,18 +10,10 @@
 
 	<!-- this is the parent POM from which all modules inherit common settings -->
 	<properties>
-		<tycho-version>0.16.0</tycho-version>
+		<tycho-version>0.18.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>
+		<tycho-extras-version>0.18.0</tycho-extras-version>
 	</properties>
-	<repositories>
-		<repository>
-			<id>target</id>
-			<layout>p2</layout>
-			<url>${p2.target.repository}</url>
-		</repository>
-	</repositories>
 	<build>
 		<plugins>
 			<plugin>
@@ -31,6 +23,7 @@
 				<version>${tycho-version}</version>
 				<extensions>true</extensions>
 			</plugin>
+			<!-- Convert mappings in about.mappings -->
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-antrun-plugin</artifactId>
@@ -73,7 +66,7 @@
 					</execution>
 					<execution>
 						<id>replace-back-build-token</id>
-						<phase>install</phase>
+						<phase>verify</phase>
 						<configuration>
 							<target>
 								<taskdef resource="net/sf/antcontrib/antcontrib.properties"
@@ -115,13 +108,90 @@
 					</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>
 		</plugins>
 		<pluginManagement>
 			<plugins>
 				<!-- Avoid the generation of maven archive information in the META-INF 
 					folder -->
 				<plugin>
-					<groupId>${tycho-groupid}</groupId>
+					<groupId>org.eclipse.tycho</groupId>
 					<artifactId>tycho-packaging-plugin</artifactId>
 					<version>${tycho-version}</version>
 					<configuration>
@@ -144,16 +214,11 @@
 						<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>
+					<groupId>org.eclipse.tycho</groupId>
+					<artifactId>tycho-p2-repository-plugin</artifactId>
 					<configuration>
-						<archive>
-							<addMavenDescriptor>false</addMavenDescriptor>
-						</archive>
+						<includeAllDependencies>true</includeAllDependencies>
 					</configuration>
 				</plugin>
 				<plugin>
@@ -170,19 +235,42 @@
 						</execution>
 					</executions>
 				</plugin>
+				<!-- Base configuration of target environments -->
 				<plugin>
 					<groupId>org.eclipse.tycho</groupId>
-					<artifactId>tycho-p2-plugin</artifactId>
+					<artifactId>target-platform-configuration</artifactId>
 					<version>${tycho-version}</version>
-					<executions>
-						<execution>
-							<id>attached-p2-metadata</id>
-							<phase>package</phase>
-							<goals>
-								<goal>p2-metadata</goal>
-							</goals>
-						</execution>
-					</executions>
+					<configuration>
+						<!-- Necessary for pack200 files -->
+						<includePackedArtifacts>true</includePackedArtifacts>
+						<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>
@@ -202,6 +290,31 @@
 	<profiles>
 		<profile>
 			<id>Indigo.target</id>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.eclipse.tycho</groupId>
+						<artifactId>target-platform-configuration</artifactId>
+						<version>${tycho-version}</version>
+						<configuration>
+							<!-- Necessary for pack200 files -->
+							<includePackedArtifacts>true</includePackedArtifacts>
+							<!-- add target file content to target platform -->
+							<target>
+								<artifact>
+									<groupId>org.yakindu.base</groupId>
+									<artifactId>org.yakindu.base.target</artifactId>
+									<version>2.1.0-SNAPSHOT</version>
+									<classifier>Juno</classifier>
+								</artifact>
+							</target>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+		<profile>
+			<id>Kepler.target</id>
 			<activation>
 				<activeByDefault>true</activeByDefault>
 			</activation>
@@ -212,34 +325,17 @@
 						<artifactId>target-platform-configuration</artifactId>
 						<version>${tycho-version}</version>
 						<configuration>
+							<!-- Necessary for pack200 files -->
+							<includePackedArtifacts>true</includePackedArtifacts>
 							<!-- 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>
+							<target>
+								<artifact>
+									<groupId>org.yakindu.base</groupId>
+									<artifactId>org.yakindu.base.target</artifactId>
+									<version>2.1.0-SNAPSHOT</version>
+									<classifier>Juno</classifier>
+								</artifact>
+							</target>
 						</configuration>
 					</plugin>
 				</plugins>
@@ -248,6 +344,8 @@
 	</profiles>
 
 	<modules>
+		<module>../org.yakindu.base.target</module>
+
 		<module>../org.yakindu.base.types</module>
 		<module>../org.yakindu.base.types.edit</module>
 		<module>../org.yakindu.base.types.scope</module>

+ 0 - 13
releng/org.yakindu.base.target/category.xml

@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<site>
-<feature url="features/org.eclipse.platform_4.2.1.v20130118-173121-9MF7GHYdG0B5kx4E_SkfZV-1mNjVATf67ZAb7.jar" id="org.eclipse.platform" version="4.2.1.v20130118-173121-9MF7GHYdG0B5kx4E_SkfZV-1mNjVATf67ZAb7"> <category name="3rdParty"/> </feature>
-<feature url="features/org.eclipse.equinox.executable_3.6.0.v20120305-1541-7P7OFvNFLWUl7Dqyq6OBBmS.jar" id="org.eclipse.equinox.executable" version=""> <category name="3rdParty"/> </feature>
-<feature url="features/org.eclipse.platform.source_4.2.0.v20120221-1643-9JF7AH9EFwCXKafDVIaXhomQr7ML0EZWz-1ITJmGqfM7b.jar" id="org.eclipse.platform.source" version=""> <category name="3rdParty"/> </feature>
-<feature url="features/org.eclipse.emf.sdk_2.8.3.v20130125-0826.jar" id="org.eclipse.emf.sdk" version="2.8.3.v20130125-0826"> <category name="3rdParty"/> </feature>
-<feature url="features/org.eclipse.gmf.runtime.notation.sdk_1.6.0.v20120327-2213-47F08xGD6FxMBN7CJFV3CIKK9t84.jar" id="org.eclipse.gmf.runtime.notation.sdk" version="1.6.0.v20120327-2213-47F08xGD6FxMBN7CJFV3CIKK9t84"> <category name="3rdParty"/> </feature>
-<feature url="features/org.eclipse.gmf_1.6.2.201302122140.jar" id="org.eclipse.gmf" version="1.6.2.201302122140"> <category name="3rdParty"/> </feature>
-<feature url="features/org.eclipse.xtend.sdk_2.3.0.v201203201034.jar" id="org.eclipse.xtend.sdk" version=""> <category name="3rdParty"/> </feature>
-<feature url="features/org.eclipse.xtext.sdk_2.3.1.v201208210947.jar" id="org.eclipse.xtext.sdk" version="2.3.1.v201208210947"> <category name="3rdParty"/> </feature>
-
-   <category-def name="3rdParty" label="3rdParty Yakindu Base target"/>
-</site>

+ 30 - 99
releng/org.yakindu.base.target/pom.xml

@@ -6,21 +6,13 @@
 	<groupId>org.yakindu.base</groupId>
 	<artifactId>org.yakindu.base.target</artifactId>
 	<version>2.1.0-SNAPSHOT</version>
-	<packaging>eclipse-repository</packaging>
+	<packaging>pom</packaging>
 
 	<properties>
-		<tycho-version>0.16.0</tycho-version>
+		<tycho-version>0.18.0</tycho-version>
 		<build-helper-version>1.3</build-helper-version>
 	</properties>
 
-	<repositories>
-		<repository>
-			<id>juno</id>
-			<layout>p2</layout>
-			<url>http://download.eclipse.org/releases/juno</url>
-		</repository>
-	</repositories>
-
 	<build>
 		<plugins>
 			<plugin>
@@ -30,98 +22,37 @@
 				<version>${tycho-version}</version>
 				<extensions>true</extensions>
 			</plugin>
-		</plugins>
-		<pluginManagement>
-			<plugins>
-				<plugin>
-					<groupId>org.eclipse.tycho</groupId>
-					<artifactId>tycho-p2-repository-plugin</artifactId>
-					<configuration>
-						<includeAllDependencies>true</includeAllDependencies>
-					</configuration>
-				</plugin>
-			</plugins>
-		</pluginManagement>
-	</build>
-
-	<profiles>
-		<profile>
-			<id>Indigo.target</id>
-			<activation>
-				<activeByDefault>true</activeByDefault>
-			</activation>
-			<build>
-				<plugins>
-					<plugin>
-						<groupId>org.codehaus.mojo</groupId>
-						<artifactId>build-helper-maven-plugin</artifactId>
-						<version>${build-helper-version}</version>
-						<executions>
-							<!-- make target file available for incremental builds -->
-							<execution>
-								<id>attach-artifacts</id>
-								<phase>package</phase>
-								<goals>
-									<goal>attach-artifact</goal>
-								</goals>
-								<configuration>
-									<artifacts>
-										<artifact>
-											<!-- note: the file name must be ${classifier}.target -->
-											<file>Juno.target</file>
-											<type>target</type>
-											<classifier>Juno</classifier>
-										</artifact>
-									</artifacts>
-								</configuration>
-							</execution>
-						</executions>
-					</plugin>
-					<plugin>
-						<groupId>org.eclipse.tycho</groupId>
-						<artifactId>target-platform-configuration</artifactId>
-						<version>${tycho-version}</version>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<version>${build-helper-version}</version>
+				<executions>
+					<!-- make target file available for incremental builds -->
+					<execution>
+						<id>attach-artifacts</id>
+						<phase>package</phase>
+						<goals>
+							<goal>attach-artifact</goal>
+						</goals>
 						<configuration>
-							<!-- add target file content to target platform -->
-							<target>
+							<artifacts>
 								<artifact>
-									<groupId>org.yakindu.base</groupId>
-									<artifactId>org.yakindu.base.target</artifactId>
-									<version>2.1.0-SNAPSHOT</version>
+									<!-- note: the file name must be ${classifier}.target -->
+									<file>Juno.target</file>
+									<type>target</type>
 									<classifier>Juno</classifier>
 								</artifact>
-							</target>
-							<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>
+								<artifact>
+									<!-- note: the file name must be ${classifier}.target -->
+									<file>Kepler.target</file>
+									<type>target</type>
+									<classifier>Kepler</classifier>
+								</artifact>
+							</artifacts>
 						</configuration>
-					</plugin>
-				</plugins>
-			</build>
-		</profile>
-	</profiles>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
 </project>