diff options
author | Laurent Wouters | 2014-04-16 11:23:19 +0000 |
---|---|---|
committer | Laurent Wouters | 2014-04-18 06:34:21 +0000 |
commit | 3384e86ad4a32ae926317f5f5f0cb05d2091252e (patch) | |
tree | 32473e75dc7d68c270e92666466e5241351ba5c7 /releng | |
parent | fd750cb5edea936a68a21a5f898a1a220fe17031 (diff) | |
download | org.eclipse.papyrus-3384e86ad4a32ae926317f5f5f0cb05d2091252e.tar.gz org.eclipse.papyrus-3384e86ad4a32ae926317f5f5f0cb05d2091252e.tar.xz org.eclipse.papyrus-3384e86ad4a32ae926317f5f5f0cb05d2091252e.zip |
[releng] Added JAutodoc, Checkstyle, Findbugs to the RCP
Change-Id: If46d707a1f2e464fc8856c4291165b4e4bd4859e
Signed-off-by: Laurent Wouters <laurent.wouters@cea.fr>
Diffstat (limited to 'releng')
-rwxr-xr-x | releng/rcp/org.eclipse.papyrus.rcp.feature/feature.xml | 3 | ||||
-rw-r--r-- | releng/toolkit/aggregator/README.txt | 2 | ||||
-rw-r--r-- | releng/toolkit/aggregator/pom.xml | 79 | ||||
-rwxr-xr-x | releng/top-pom-rcp.xml | 5 |
4 files changed, 89 insertions, 0 deletions
diff --git a/releng/rcp/org.eclipse.papyrus.rcp.feature/feature.xml b/releng/rcp/org.eclipse.papyrus.rcp.feature/feature.xml index 36e344c56db..51df7000d41 100755 --- a/releng/rcp/org.eclipse.papyrus.rcp.feature/feature.xml +++ b/releng/rcp/org.eclipse.papyrus.rcp.feature/feature.xml @@ -78,6 +78,9 @@ http://www.eclipse.org/legal/epl-v10.html <import feature="org.eclipse.team.svn.mylyn"/>
<import feature="org.eclipse.gmf.sdk"/>
<import feature="org.eclipse.gmf.tooling.codegen.xtend2"/>
+ <import feature="net.sf.jautodoc.feature"/>
+ <import feature="net.sf.eclipsecs"/>
+ <import feature="edu.umd.cs.findbugs.plugin.eclipse"/>
</requires>
<plugin
diff --git a/releng/toolkit/aggregator/README.txt b/releng/toolkit/aggregator/README.txt new file mode 100644 index 00000000000..dfe02ea233a --- /dev/null +++ b/releng/toolkit/aggregator/README.txt @@ -0,0 +1,2 @@ +This folder contains the build toolkit for the aggregation of external resources that are not readily Tycho-compliant, for example non-P2 update sites.
+The results of this built is an aggregated update sites of external resources that can then be used by the RCP build.
\ No newline at end of file diff --git a/releng/toolkit/aggregator/pom.xml b/releng/toolkit/aggregator/pom.xml new file mode 100644 index 00000000000..676c4b01722 --- /dev/null +++ b/releng/toolkit/aggregator/pom.xml @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>org.eclipse.papyrus</groupId> + <artifactId>org.eclipse.papyrus.legacy</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + <properties> + <tycho-version>0.20.0</tycho-version> + <tychoExtrasVersion>0.20.0</tychoExtrasVersion> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho.extras</groupId> + <artifactId>tycho-p2-extras-plugin</artifactId> + <version>${tycho-version}</version> + <executions> + <execution> + <!-- step 1: mirror old-style update site --> + <id>mirror-update-sites</id> + <phase>process-resources</phase> + <goals> + <goal>mirror</goal> + </goals> + <configuration> + <source> + <repository> + <url>http://jautodoc.sourceforge.net/update/</url> + </repository> + <repository> + <url>http://sourceforge.net/projects/eclipse-cs/files/updatesite/5.7.0/</url> + </repository> + <repository> + <url>http://findbugs.cs.umd.edu/eclipse/</url> + </repository> + <!-- more update sites... --> + </source> + <destination>${project.build.directory}/repository</destination> + </configuration> + </execution> + <execution> + <!-- step 3: generate the full p2 metadata for the mirrored artifacts --> + <id>generate-full-metadata</id> + <phase>compile</phase> + <goals> + <goal>publish-features-and-bundles</goal> + </goals> + <configuration> + <sourceLocation>${project.build.directory}/repository</sourceLocation> + <compress>false</compress> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <!-- step 2: strip the p2 metadata that contains the "partial IUs" that which be used for dependency resolution in Tycho --> + <id>remove-incomplete-metadata</id> + <phase>process-resources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <delete file="${project.build.directory}/repository/content.jar" /> + <delete file="${project.build.directory}/repository/artifacts.jar" /> + </target> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> diff --git a/releng/top-pom-rcp.xml b/releng/top-pom-rcp.xml index 1492d1aaa08..ea7821fadf6 100755 --- a/releng/top-pom-rcp.xml +++ b/releng/top-pom-rcp.xml @@ -51,6 +51,11 @@ <!-- Additional components --> <repository> + <id>aggregated-legacies</id> + <layout>p2</layout> + <url>${papyrus.repo.legacy}</url> + </repository> + <repository> <id>subversive</id> <layout>p2</layout> <url>http://download.eclipse.org/technology/subversive/2.0/update-site/</url> |