Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Watson2013-09-19 20:37:17 +0000
committerGreg Watson2013-09-19 20:37:17 +0000
commit6ca1746f6fe1c68fc6289a95e6164aa7b5a7ffb8 (patch)
tree533be659090020e3625ac0aa7fcf41ad20edea33
parenta3b657517fd448af21dbcfa9bf05e0e2cb36fbbb (diff)
downloadorg.eclipse.photran-6ca1746f6fe1c68fc6289a95e6164aa7b5a7ffb8.tar.gz
org.eclipse.photran-6ca1746f6fe1c68fc6289a95e6164aa7b5a7ffb8.tar.xz
org.eclipse.photran-6ca1746f6fe1c68fc6289a95e6164aa7b5a7ffb8.zip
Move signing from master repo.
Signed-off-by: Greg Watson <g.watson@computer.org>
-rw-r--r--org.eclipse.photran.repo/pom.xml7
-rw-r--r--pom.xml89
2 files changed, 91 insertions, 5 deletions
diff --git a/org.eclipse.photran.repo/pom.xml b/org.eclipse.photran.repo/pom.xml
index 351b3292..365f3153 100644
--- a/org.eclipse.photran.repo/pom.xml
+++ b/org.eclipse.photran.repo/pom.xml
@@ -31,7 +31,7 @@
<profile>
<id>production</id>
<properties>
- <ptp-install>/home/data/httpd/download.eclipse.org/tools/ptp/builds/hudson/ptp-photran-release</ptp-install>
+ <ptp-install>/home/data/httpd/download.eclipse.org/tools/ptp/builds/hudson/ptp-maint-photran</ptp-install>
</properties>
<build>
<plugins>
@@ -46,6 +46,11 @@
</goals>
<configuration>
<tasks>
+ <delete dir="/home/data/httpd/download.eclipse.org/tools/ptp/builds/hudson/ptp-4.1"/>
+ <delete dir="/home/data/httpd/download.eclipse.org/tools/ptp/builds/hudson/ptp-4.x"/>
+ <delete dir="/home/data/httpd/download.eclipse.org/tools/ptp/builds/hudson/ptp-photran-4.1"/>
+ <delete dir="/home/data/httpd/download.eclipse.org/tools/ptp/builds/hudson/ptp-photran-4.x"/>
+ <delete dir="/home/data/httpd/download.eclipse.org/tools/ptp/builds/hudson/ptp-photran-release"/>
<mkdir dir="${ptp-install}" />
<delete includeemptydirs="true">
<fileset dir="${ptp-install}">
diff --git a/pom.xml b/pom.xml
index 3af9e3ed..121b64cb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -85,10 +85,6 @@
<enabled>true</enabled>
</releases>
</pluginRepository>
- <pluginRepository>
- <id>maven.eclipse.org</id>
- <url>http://maven.eclipse.org/nexus/content/repositories/milestone-indigo</url>
- </pluginRepository>
</pluginRepositories>
<build>
@@ -224,4 +220,89 @@
</plugins>
</pluginManagement>
</build>
+
+ <profiles>
+ <profile>
+ <id>eclipse-sign</id>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>m2e-cbi</id>
+ <url>http://download.eclipse.org/technology/m2e/maven/</url>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <includePackedArtifacts>true</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>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>1.0.1</version>
+ <executions>
+ <execution>
+ <id>sign</id>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </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>
+ </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>package</phase>
+ </execution>
+ </executions>
+ <configuration>
+ <defaultP2Metadata>false</defaultP2Metadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>

Back to the top