pmd-eclipse: Prepare release and publish of the eclipse update site.

This commit is contained in:
Andreas Dangel committed 2013-04-21 16:31:08 +02:00
1 parent 75503ffa40
commit 4c9e714380
3 files changed
+45 -3

No files matched your search

@@ -1,8 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/net.sourceforge.pmd.eclipse_4.0.0.qualifier.jar" id="net.sourceforge.pmd.eclipse" version="4.0.0.qualifier">
<category name="pmd"/>
<description url="http://pmd.sourceforge.net/eclipse">
PMD for Eclipse Update Site
</description>
<feature url="features/net.sourceforge.pmd.eclipse_4.0.0.qualifier.jar"
id="net.sourceforge.pmd.eclipse"
version="4.0.0.qualifier">
<category name="pmdForEclipse4"/>
</feature>
<category-def name="pmd" label="PMD"/>
<category-def name="pmdForEclipse4" label="PMD for Eclipse 4"/>
</site>
@@ -12,4 +12,35 @@
<artifactId>net.sourceforge.pmd.eclipse.p2updatesite</artifactId>
<packaging>eclipse-repository</packaging>
<profiles>
<profile>
<id>publish-to-update-site</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<executions>
<execution>
<id>publish</id>
<phase>install</phase>
<goals>
<goal>mirror</goal>
</goals>
<configuration>
<source>
<repository>
<url>${project.build.directory}/repository</url>
</repository>
</source>
<append>true</append>
<destination>${eclipse.updatesite.path}</destination>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
+5
View File
@@ -169,6 +169,11 @@
</baselineRepositories>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<version>${tycho-extras.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>