The transition of our sources from our github-repository to the Eclipse.org server has been finished almost since a long time and we’ve been working on our codebase since then already.
The last missing bit was to migrate our maven-tycho build to Eclipse.org’s hudson instance. For the main build the transition was really easy but as it turned out we’ve been running into problems when trying to sign our artifacts using the eclipse-maven-signing-plugin which corrupted some of the jar-Files.
To our rescue came another – not yet very well known – signing possibility when running a maven-tycho build which is part of CBI and in my opinion is the better strategy to make the signing happen because it does it as part of the build of each and every module instead of doing it in a post processing step. All you need to do is to add the following lines to your root pom.xml
<!-- ... --> <properties> <!-- ... --> <tycho-version>0.18.0</tycho-version> <tycho-extras.version>0.18.0</tycho-extras.version> <cbi-plugins.version>1.0.3</cbi-plugins.version> <eclipse-repo.url>https://repo.eclipse.org/content/repositories/releases/</eclipse-repo.url> </properties> <!-- ... --> <pluginRepositories> <!-- ... --> <pluginRepository> <id>eclipse</id> <url>${eclipse-repo.url}</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> <!-- ... --> <profiles> <profile> <id>build-server</id> <build> <plugins> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>target-platform-configuration</artifactId> <version>${tycho-version}</version> <configuration> <includePackedArtifacts>false</includePackedArtifacts> </configuration> </plugin> <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> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <groupId>org.eclipse.cbi.maven.plugins</groupId> <artifactId>eclipse-jarsigner-plugin</artifactId> <version>${cbi-plugins.version}</version> <executions> <execution> <id>sign</id> <goals> <goal>sign</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <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> <phase>verify</phase> </execution> </executions> </plugin> <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>verify</phase> </execution> </executions> <configuration> <defaultP2Metadata>false</defaultP2Metadata> </configuration> </plugin> </plugins> </build> </profile> </profiles>
You can now access our nightly builds:
- IDE: http://download.eclipse.org/efxclipse/updates-nightly/site
- Runtime-Target-Platform: http://download.eclipse.org/efxclipse/runtime-nightly/site
Will it work with Eclipse Juno and Java 7?
Yes.