Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Riley2019-03-21 06:18:30 -0400
committerWilliam Riley2019-03-21 07:26:36 -0400
commit1d7ed13b6b8909a1341ec55398a5e77eb923a547 (patch)
treeb3b5fecd2259a6da8c9edb3a2c0c80262375f733
parentd87b844e1218c55cd304cdcf0eebb81b64eefbe6 (diff)
downloadorg.eclipse.cdt-1d7ed13b6b8909a1341ec55398a5e77eb923a547.tar.gz
org.eclipse.cdt-1d7ed13b6b8909a1341ec55398a5e77eb923a547.tar.xz
org.eclipse.cdt-1d7ed13b6b8909a1341ec55398a5e77eb923a547.zip
Bug 545624 - Disable nightly upload in "production"
Will be replaced by upload step in pipeline Change-Id: I17ca9b105994e389366815023170456b5be7fda8
-rw-r--r--releng/org.eclipse.cdt.repo/pom.xml61
1 files changed, 0 insertions, 61 deletions
diff --git a/releng/org.eclipse.cdt.repo/pom.xml b/releng/org.eclipse.cdt.repo/pom.xml
index 46722765a1..5f6eecfaef 100644
--- a/releng/org.eclipse.cdt.repo/pom.xml
+++ b/releng/org.eclipse.cdt.repo/pom.xml
@@ -18,65 +18,4 @@
<build>
<finalName>${project.artifactId}</finalName>
</build>
-
- <profiles>
- <profile>
- <id>production</id>
- <properties>
- <cdt-download-dir>/home/data/httpd/download.eclipse.org/${repo-path}</cdt-download-dir>
- </properties>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
- <executions>
- <execution>
- <phase>verify</phase>
- <configuration>
- <target>
- <!-- first modify the artifacts.jar file -->
- <!-- note that our zip file is already generated and won't have nor needs this change -->
- <copy file="p2.xsl" todir="${project.build.directory}"/>
- <copy file="antArtifactsUpdater.xml" todir="${project.build.directory}"/>
- <ant antfile="${project.build.directory}/antArtifactsUpdater.xml"/>
-
- <!-- now promote the update build to our download area -->
- <delete>
- <fileset dir="${cdt-download-dir}">
- <exclude name="rcp*/**"/>
- </fileset>
- </delete>
- <copy includeemptydirs="false" todir="${cdt-download-dir}">
- <fileset dir="target/repository">
- <include name="**" />
- </fileset>
- </copy>
-
- <!-- remove the packed files from the zip file to make it smaller -->
- <unzip src="target/org.eclipse.cdt.repo.zip" dest="target/tmp"/>
- <delete file="target/org.eclipse.cdt.repo.zip"/>
- <delete>
- <fileset dir="target/tmp">
- <include name="plugins/*.pack.gz"/>
- </fileset>
- </delete>
- <zip destfile="target/org.eclipse.cdt.repo.zip">
- <fileset dir="target/tmp">
- <include name="**"/>
- </fileset>
- </zip>
- <delete dir="target/tmp"/>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
</project>

Back to the top