mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 23:55:26 +02:00
[releng] created a p2 repository container project.
This commit is contained in:
parent
6f638b111c
commit
89736ac50b
3 changed files with 205 additions and 0 deletions
11
releng/org.eclipse.tm.repo/.project
Normal file
11
releng/org.eclipse.tm.repo/.project
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>org.eclipse.tm.repo</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
41
releng/org.eclipse.tm.repo/category.xml
Normal file
41
releng/org.eclipse.tm.repo/category.xml
Normal file
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site>
|
||||
<feature url="features/org.eclipse.rse_3.4.0.qualifier.jar" id="org.eclipse.rse" version="3.4.0.qualifier">
|
||||
<category name="tm_34_main"/>
|
||||
</feature>
|
||||
<feature url="features/org.eclipse.rse.sdk_3.4.0.qualifier.jar" id="org.eclipse.rse.sdk" version="3.4.0.qualifier">
|
||||
<category name="tm_34_main"/>
|
||||
</feature>
|
||||
<feature url="features/org.eclipse.rse.useractions_1.1.400.qualifier.jar" id="org.eclipse.rse.useractions" version="1.1.400.qualifier">
|
||||
<category name="tm_34_main"/>
|
||||
</feature>
|
||||
<feature url="features/org.eclipse.rse.examples_3.1.300.qualifier.jar" id="org.eclipse.rse.examples" version="3.1.300.qualifier">
|
||||
<category name="tm_34_optional"/>
|
||||
</feature>
|
||||
<feature url="features/org.eclipse.rse.scp_0.2.0.qualifier.jar" id="org.eclipse.rse.scp" version="0.2.0.qualifier">
|
||||
<category name="tm_34_optional"/>
|
||||
</feature>
|
||||
<feature url="features/org.eclipse.rse.tests_3.4.0.qualifier.jar" id="org.eclipse.rse.tests" version="3.4.0.qualifier">
|
||||
<category name="tm_34_optional"/>
|
||||
</feature>
|
||||
<!-- <feature url="features/org.eclipse.rse.wince_0.3.100.qualifier.jar" id="org.eclipse.rse.wince" version="0.3.100.qualifier">
|
||||
<category name="tm_34_optional"/>
|
||||
</feature>
|
||||
-->
|
||||
<feature url="features/org.eclipse.tm.terminal.local.sdk_0.3.0.qualifier.jar" id="org.eclipse.tm.terminal.local.sdk" version="0.3.0.qualifier">
|
||||
<category name="tm_34_optional"/>
|
||||
</feature>
|
||||
<feature url="features/org.eclipse.tm.terminal.sdk_3.3.0.qualifier.jar" id="org.eclipse.tm.terminal.sdk" version="3.3.0.qualifier">
|
||||
<category name="tm_34_main"/>
|
||||
</feature>
|
||||
<category-def name="tm_34_main" label="TM and RSE 3.4 Main Features">
|
||||
<description>
|
||||
TM and RSE Main Features
|
||||
</description>
|
||||
</category-def>
|
||||
<category-def name="tm_34_optional" label="TM and RSE 3.4 Optional Add-Ons">
|
||||
<description>
|
||||
Examples, Tests and Incubation Plug-ins.
|
||||
</description>
|
||||
</category-def>
|
||||
</site>
|
153
releng/org.eclipse.tm.repo/pom.xml
Normal file
153
releng/org.eclipse.tm.repo/pom.xml
Normal file
|
@ -0,0 +1,153 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<artifactId>tm-parent</artifactId>
|
||||
<groupId>org.eclipse.tm</groupId>
|
||||
<version>3.8.0-SNAPSHOT</version>
|
||||
<relativePath>../../../</relativePath>
|
||||
</parent>
|
||||
<groupId>org.eclipse.tm</groupId>
|
||||
<version>3.4.0-SNAPSHOT</version>
|
||||
<artifactId>org.eclipse.tm.repo</artifactId>
|
||||
<packaging>eclipse-repository</packaging>
|
||||
<properties>
|
||||
<tm-stream>juno</tm-stream>
|
||||
<tm-zipfile>org.eclipse.tm.repo.zip</tm-zipfile>
|
||||
<tm-install>/home/data/httpd/download.eclipse.org/tools/tm/builds/${tm-stream}/nightly</tm-install>
|
||||
</properties>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>maven.eclipse.org</id>
|
||||
<url>http://maven.eclipse.org/nexus/content/repositories/public</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>build-server</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.eclipse.dash.maven</groupId>
|
||||
<artifactId>eclipse-signing-maven-plugin</artifactId>
|
||||
<version>1.0.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>pack</id>
|
||||
<configuration>
|
||||
<inputFile>${project.build.directory}/${tm-zipfile}</inputFile>
|
||||
</configuration>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>pack</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>sign</id>
|
||||
<configuration>
|
||||
<inputFile>${project.build.directory}/${tm-zipfile}</inputFile>
|
||||
<signerInputDirectory>/home/data/httpd/download-staging.priv/tools/tm/hudson</signerInputDirectory>
|
||||
</configuration>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>repack</id>
|
||||
<configuration>
|
||||
<inputFile>${project.build.directory}/signed/site_assembly.zip</inputFile>
|
||||
</configuration>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>pack</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>fixCheckSums</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>fixCheckSums</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>deploy</id>
|
||||
<phase>install</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<delete includeemptydirs="false">
|
||||
<fileset dir="${tm-install}">
|
||||
<include name="**"/>
|
||||
</fileset>
|
||||
</delete>
|
||||
<zip destfile="${tm-install}/org.eclipse.tm.repo.zip">
|
||||
<fileset dir="target/checksumFix">
|
||||
<include name="**"/>
|
||||
</fileset>
|
||||
</zip>
|
||||
<copy includeemptydirs="false" todir="${tm-install}">
|
||||
<fileset dir="target/checksumFix">
|
||||
<include name="**"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<chmod perm="g+w">
|
||||
<fileset dir="${tm-install}">
|
||||
<include name="**"/>
|
||||
</fileset>
|
||||
</chmod>
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>local-build</id>
|
||||
<properties>
|
||||
<tm-install>${project.build.directory}/../../../../</tm-install>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>deploy</id>
|
||||
<phase>install</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<target>
|
||||
<!-- <delete includeemptydirs="false">
|
||||
<fileset dir="${tm-install}">
|
||||
<include name="**"/>
|
||||
</fileset>
|
||||
</delete> -->
|
||||
<copy file="target/org.eclipse.tm.repo.zip" todir="${tm-install}">
|
||||
</copy>
|
||||
<chmod perm="g+w">
|
||||
<fileset dir="${tm-install}">
|
||||
<include name="**"/>
|
||||
</fileset>
|
||||
</chmod>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
Loading…
Add table
Reference in a new issue