mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +02:00
Bug 545624 - Disable nightly upload in "production"
Will be replaced by upload step in pipeline Change-Id: I17ca9b105994e389366815023170456b5be7fda8
This commit is contained in:
parent
2243afbb74
commit
f2a076b0b9
2 changed files with 0 additions and 104 deletions
|
@ -153,49 +153,6 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
-->
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>deploy</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<target>
|
||||
<!-- Cleanup the "rcp" destination, and copy over the new archives -->
|
||||
<delete includeemptydirs="false" failonerror="false">
|
||||
<fileset dir="${rcpDestination}">
|
||||
<include name="*.tar.gz" />
|
||||
<include name="*.zip" />
|
||||
</fileset>
|
||||
</delete>
|
||||
<mkdir dir="${rcpDestination}" />
|
||||
<copy includeemptydirs="false" todir="${rcpDestination}">
|
||||
<fileset dir="target/products">
|
||||
<include name="cdt-stand-alone-debugger-*" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- Cleanup the "rcp-repository" update site, and copy over the
|
||||
new one -->
|
||||
<delete includeemptydirs="false" failonerror="false">
|
||||
<fileset dir="${rcpSiteDestination}">
|
||||
<include name="**" />
|
||||
</fileset>
|
||||
</delete>
|
||||
<mkdir dir="${rcpSiteDestination}" />
|
||||
<copy includeemptydirs="false" todir="${rcpSiteDestination}">
|
||||
<fileset dir="target/repository">
|
||||
<include name="**" />
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue