1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-21 21:52:10 +02:00

Bug 577097: Integrate o.e.remote releng into CDT

Change-Id: I55fbfcfae1c414ae21807473f4ab290db40b5238
This commit is contained in:
Jonah Graham 2021-12-14 14:33:36 -05:00
parent 8062a11eac
commit 3f2649a14d
16 changed files with 203 additions and 769 deletions

45
pom.xml
View file

@ -256,6 +256,38 @@
<module>tools.templates/org.eclipse.tools.templates.freemarker</module>
<module>tools.templates/org.eclipse.tools.templates.ui</module>
<!-- Remote bundles -->
<module>remote/org.eclipse.remote.core</module>
<module>remote/org.eclipse.remote.jsch.core</module>
<module>remote/org.eclipse.remote.jsch.ui</module>
<module>remote/org.eclipse.remote.ui</module>
<!-- Proxy bundles -->
<module>remote/org.eclipse.remote.proxy.core</module>
<module>remote/org.eclipse.remote.proxy.ui</module>
<module>remote/org.eclipse.remote.proxy.protocol.core</module>
<module>remote/org.eclipse.remote.proxy.server.core</module>
<module>remote/org.eclipse.remote.proxy.server.product</module>
<module>remote/org.eclipse.remote.proxy.server.linux.x86_64</module>
<module>remote/org.eclipse.remote.proxy.server.linux.ppc64le</module>
<module>remote/org.eclipse.remote.proxy.server.macosx.x86_64</module>
<!-- Main feature -->
<module>remote/org.eclipse.remote-feature</module>
<!-- Proxy feature -->
<module>remote/org.eclipse.remote.proxy-feature</module>
<!-- Console Terminal feature -->
<module>remote/org.eclipse.remote.console</module>
<module>remote/org.eclipse.remote.console-feature</module>
<!-- Serial Port feature -->
<module>remote/org.eclipse.remote.serial.core</module>
<module>remote/org.eclipse.remote.serial.ui</module>
<module>remote/org.eclipse.remote.serial-feature</module>
<!-- Telnet feature -->
<module>remote/org.eclipse.remote.telnet.core</module>
<module>remote/org.eclipse.remote.telnet.ui</module>
<module>remote/org.eclipse.remote.telnet-feature</module>
<!-- Documentation -->
<module>remote/org.eclipse.remote.doc.isv</module>
<module>terminal</module>
<module>jsoncdb</module>
@ -679,6 +711,15 @@
<arch>aarch64</arch>
</environment>
</environments>
<dependency-resolution>
<extraRequirements>
<requirement>
<type>eclipse-plugin</type>
<id>org.eclipse.ui.ide</id>
<versionRange>0.0.0</versionRange>
</requirement>
</extraRequirements>
</dependency-resolution>
</configuration>
</plugin>
<plugin>
@ -725,6 +766,10 @@
<plugin id="net.sourceforge.lpg.lpgjavaruntime"/>
<plugin id="org.eclipse.ant.optional.junit"/>
<plugin id="org.eclipse.cdt.testing"/>
<plugin id="org.eclipse.remote.proxy.server.linux.x86_64"/>
<plugin id="org.eclipse.remote.proxy.server.linux.ppc64le"/>
<plugin id="org.eclipse.remote.proxy.server.macosx.x86_64"/>
<plugin id="org.eclipse.remote.doc.isv"/>
</excludes>
</configuration>
</execution>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.remote.build</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>

View file

@ -1,2 +0,0 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View file

@ -1,410 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>3.0</maven>
</prerequisites>
<groupId>org.eclipse.remote</groupId>
<artifactId>remote-parent</artifactId>
<version>3.0.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Remote Parent</name>
<properties>
<remote-release>nightly</remote-release>
<!-- Maven 3.6.1 and 3.6.2 do not work with Tycho, see Bug 551674
CDT enforces a minimum of 3.6.3 because that is what CDT's CI
runs with. It may work with older versions, but this is not
tested or supported. -->
<required-maven-version>3.6.3</required-maven-version>
<tycho-version>2.3.0</tycho-version>
<tycho-extras-version>${tycho-version}</tycho-extras-version>
<tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/ptp/org.eclipse.remote.git</tycho.scmUrl>
<license-site>http://download.eclipse.org/cbi/updates/license/</license-site>
<cbi-plugins.version>1.3.1</cbi-plugins.version>
<remote-install-dir>/home/data/httpd/download.eclipse.org/tools/ptp/builds/remote/${remote-release}</remote-install-dir>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<licenses>
<license>
<name>Eclipse Public License v1.0</name>
<comments>
All rights reserved.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.htm
</comments>
</license>
</licenses>
<modules>
<module>../../releng/org.eclipse.remote.target</module>
<!-- Remote bundles -->
<module>../../bundles/org.eclipse.remote.core</module>
<module>../../bundles/org.eclipse.remote.jsch.core</module>
<module>../../bundles/org.eclipse.remote.jsch.ui</module>
<module>../../bundles/org.eclipse.remote.ui</module>
<!-- Proxy bundles -->
<module>../../bundles/org.eclipse.remote.proxy.core</module>
<module>../../bundles/org.eclipse.remote.proxy.ui</module>
<module>../../bundles/org.eclipse.remote.proxy.protocol.core</module>
<module>../../bundles/org.eclipse.remote.proxy.server.core</module>
<module>../../releng/org.eclipse.remote.proxy.server.product</module>
<module>../../releng/org.eclipse.remote.proxy.server.linux.x86_64</module>
<module>../../releng/org.eclipse.remote.proxy.server.linux.ppc64le</module>
<module>../../releng/org.eclipse.remote.proxy.server.macosx.x86_64</module>
<!-- Main feature -->
<module>../../features/org.eclipse.remote-feature</module>
<!-- Proxy feature -->
<module>../../features/org.eclipse.remote.proxy-feature</module>
<!-- Console Terminal feature -->
<module>../../bundles/org.eclipse.remote.console</module>
<module>../../features/org.eclipse.remote.console-feature</module>
<!-- Serial Port feature -->
<module>../../bundles/org.eclipse.remote.serial.core</module>
<module>../../bundles/org.eclipse.remote.serial.ui</module>
<module>../../features/org.eclipse.remote.serial-feature</module>
<!-- Telnet feature -->
<module>../../bundles/org.eclipse.remote.telnet.core</module>
<module>../../bundles/org.eclipse.remote.telnet.ui</module>
<module>../../features/org.eclipse.remote.telnet-feature</module>
<!-- Documentation -->
<module>../../bundles/org.eclipse.remote.doc.isv</module>
<!-- Repository -->
<module>../../releng/org.eclipse.remote.repo</module>
<module>../../releng/org.eclipse.remote.deploy</module>
</modules>
<repositories>
<repository>
<id>license</id>
<url>${license-site}</url>
<layout>p2</layout>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>repo.eclipse.org</id>
<name>Project Repository - Releases</name>
<url>https://repo.eclipse.org/content/repositories/ptp-releases</url>
</repository>
<snapshotRepository>
<id>repo.eclipse.org</id>
<name>Project Repository - Snapshots</name>
<url>https://repo.eclipse.org/content/repositories/ptp-snapshots</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
<executions>
<execution>
<id>enforce-maven-version</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>${required-maven-version}</version>
</requireMavenVersion>
<requireJavaVersion>
<version>11</version>
</requireJavaVersion>
</rules>
<fail>true</fail>
<failFast>true</failFast>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
<pomDependencies>consider</pomDependencies>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>ppc64le</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
<dependency-resolution>
<extraRequirements>
<requirement>
<type>eclipse-plugin</type>
<id>org.eclipse.ui.ide</id>
<versionRange>0.0.0</versionRange>
</requirement>
</extraRequirements>
</dependency-resolution>
<target>
<artifact>
<groupId>org.eclipse.remote</groupId>
<artifactId>org.eclipse.remote.target</artifactId>
<version>3.0.2-SNAPSHOT</version>
<classifier>remote</classifier>
</artifact>
</target>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>plugin-source</id>
<goals>
<goal>plugin-source</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-source-feature-plugin</artifactId>
<version>${tycho-extras-version}</version>
<executions>
<execution>
<id>source-feature</id>
<phase>package</phase>
<goals>
<goal>source-feature</goal>
</goals>
</execution>
</executions>
<configuration>
<excludes>
<plugin id="org.eclipse.remote.proxy.server.linux.x86_64"/>
<plugin id="org.eclipse.remote.proxy.server.linux.ppc64le"/>
<plugin id="org.eclipse.remote.proxy.server.macosx.x86_64"/>
<plugin id="org.eclipse.remote.doc.isv"/>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>attached-p2-metadata</id>
<goals>
<goal>p2-metadata</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-versions-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>versions</id>
<phase>validate</phase>
<goals>
<goal>update-pom</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
<deployAtEnd>true</deployAtEnd>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<configuration>
<encoding>ISO-8859-1</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<findbugsXmlOutput>true</findbugsXmlOutput>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<sourceEncoding>utf-8</sourceEncoding>
<minimumTokens>100</minimumTokens>
<targetJdk>1.5</targetJdk>
<format>xml</format>
<failOnViolation>false</failOnViolation>
</configuration>
<executions>
<execution>
<goals>
<goal>cpd-check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<sourceReferences>
<generate>true</generate>
</sourceReferences>
</configuration>
<dependencies>
<dependency>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-sourceref-jgit</artifactId>
<version>${tycho-extras-version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>eclipse-sign</id>
<pluginRepositories>
<pluginRepository>
<id>cbi</id>
<url>https://repo.eclipse.org/content/repositories/cbi-releases/</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.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<version>${cbi-plugins.version}</version>
<executions>
<execution>
<id>sign</id>
<phase>verify</phase>
<goals>
<goal>sign</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>verify</phase>
</execution>
</executions>
<configuration>
<defaultP2Metadata>false</defaultP2Metadata>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View file

@ -1,75 +0,0 @@
#!/bin/sh
#
# script to update versions
#
# Usage: user_id version [branch]
#
# user_id - user id to use to clone repo
# version - new version string (e.g. "5.0.1")
# branch - alternate branch to use when updating versions
#
# Note: a "qualifier" suffix will automatically be added to the version where appropriate
#
# If version numbers are updated on a branch other than master, it is recommended to run
# the command from the master branch:
#
# git merge -s ours origin/branch
#
# to mark the changes as merged.
#
BRANCH=master
if [ $# -lt 3 ]; then
echo "usage: update_versions user_id version [branch]"
exit 1
fi
user_id=$1
version=$2
if [ $# -gt 2 ]; then
BRANCH=$3
fi
if [ -d fix_versions ]; then
echo "please remove fix_versions first"
exit 1
fi
mkdir fix_versions
cd fix_versions
git clone ssh://${user_id}@git.eclipse.org:29418/ptp/org.eclipse.remote.git
(cd org.eclipse.remote && git checkout $BRANCH)
update_feature() {
sed -e "s/^\([ \t]*\)version=\"[0-9]\.[0-9]\.[0-9]\.qualifier\"/\1version=\"$2\.qualifier\"/" < $1/feature.xml > $1/feature.xml.tmp
mv $1/feature.xml.tmp $1/feature.xml
}
update_manifest() {
sed -e "s/^Bundle-Version: *[0-9]\.[0-9]\.[0-9]\.qualifier/Bundle-Version: $2.qualifier/" < $1/META-INF/MANIFEST.MF > $1/META-INF/MANIFEST.MF.tmp
mv $1/META-INF/MANIFEST.MF.tmp $1/META-INF/MANIFEST.MF
}
for feature in org.eclipse.remote/features/*-feature; do
echo "Updating $feature..."
update_feature $feature $version
done
(cd org.eclipse.remote/releng/org.eclipse.remote.build && \
mvn versions:set -DnewVersion="${version}-SNAPSHOT" && \
mvn org.eclipse.tycho:tycho-versions-plugin:0.14.0:update-pom)
find . -name pom.xml.versionsBackup -exec rm -f {} \;
#(cd org.eclipse.remote && git commit -m "Update versions" && git push)
#
# Cleanup
#
#cd ..
#rm -rf fix_versions
exit 0

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.remote.deploy</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>

View file

@ -1,2 +0,0 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View file

@ -1,18 +0,0 @@
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>assemble</id>
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${project.build.directory}/dependency/</directory>
<outputDirectory>/</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
</fileSet>
</fileSets>
</assembly>

View file

@ -1,81 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.remote</groupId>
<artifactId>remote-parent</artifactId>
<version>3.0.2-SNAPSHOT</version>
<relativePath>../org.eclipse.remote.build/pom.xml</relativePath>
</parent>
<groupId>org.eclipse.remote</groupId>
<artifactId>remote-core</artifactId>
<version>3.0.2-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<maven.deploy.skip>false</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>org.eclipse.remote.core</artifactId>
<version>4.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>org.eclipse.remote.jsch.core</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Generate the dependencies and copy to the dependency directory in the plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<id>dependencies</id>
<phase>package</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/dependency</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
<!-- Create the assembly -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View file

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Eclipse Remote Development documentation plug-in
Bundle-SymbolicName: org.eclipse.remote.doc.isv;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 1.1.0.qualifier
Bundle-Vendor: Eclipse PTP
Require-Bundle: org.eclipse.remote.console,
org.eclipse.remote.core,

View file

@ -3,40 +3,124 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.remote</groupId>
<artifactId>remote-parent</artifactId>
<version>3.0.2-SNAPSHOT</version>
<relativePath>../../releng/org.eclipse.remote.build/pom.xml</relativePath>
</parent>
<parent>
<groupId>org.eclipse.cdt</groupId>
<artifactId>cdt-parent</artifactId>
<version>10.5.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<version>1.1.0-SNAPSHOT</version>
<artifactId>org.eclipse.remote.doc.isv</artifactId>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-document-bundle-plugin</artifactId>
<version>${tycho-extras-version}</version>
<configuration>
<outputDirectory>${basedir}/html/reference/api</outputDirectory>
<javadocOptions>
<encoding>UTF-8</encoding>
<excludes>
<exclude>org.eclipse.remote.internal.*</exclude>
</excludes>
</javadocOptions>
</configuration>
<executions>
<execution>
<id>javadoc</id>
<goals>
<goal>javadoc</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>plugin-source</id>
<phase>none</phase>
</execution>
<execution>
<id>attach-source</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>build-doc</id>
<activation>
<property>
<name>!skipDoc</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-document-bundle-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>eclipse-javadoc</id>
<phase>generate-resources</phase>
<goals>
<goal>javadoc</goal>
</goals>
<configuration>
<outputDirectory>${project.basedir}/html/reference/api
</outputDirectory>
<javadocOptions>
<includes>
<include>org.eclipse.cdt.remote.*</include>
<include>org.eclipse.remote.*</include>
</includes>
<excludes>
<exclude>org.eclipse.remote.internal.*</exclude>
<exclude>org.eclipse.remote.*.internal.*</exclude>
<exclude>org.eclipse.cdt.remote.internal.*</exclude>
<exclude>org.eclipse.cdt.remote.*.internal.*</exclude>
</excludes>
<additionalArguments>
<additionalArgument>-windowtitle "Eclipse CDT org.eclipse.remote API Specification"</additionalArgument>
<additionalArgument>-doctitle "Eclipse CDT org.eclipse.remote API Specification"
</additionalArgument>
<additionalArgument>-link "https://docs.oracle.com/en/java/javase/11/docs/api/"</additionalArgument>
<additionalArgument>-linkoffline ../../org.eclipse.platform.doc.isv/reference/api
</additionalArgument>
<additionalArgument>-public</additionalArgument>
<additionalArgument>-header "Eclipse CDT's org.eclipse.remote 10.5.0"
</additionalArgument>
<additionalArgument>-bottom "Copyright (c) IBM Corp. and others 2004, 2021. All Rights Reserved."</additionalArgument>
<additionalArgument>-tag 'noimplement:a:Restriction:'</additionalArgument>
<additionalArgument>-tag 'noextend:a:Restriction:'</additionalArgument>
<additionalArgument>-tag 'noreference:a:Restriction:'</additionalArgument>
<additionalArgument>-tag 'noinstantiate:a:Restriction:'</additionalArgument>
<additionalArgument>-tag 'nooverride:a:Restriction:'</additionalArgument>
</additionalArguments>
</javadocOptions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>fake-doc</id>
<activation>
<property>
<name>skipDoc</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<configuration>
<target>
<touch file="index/indexed_docs" mkdirs="true" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View file

@ -3,12 +3,12 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.remote</groupId>
<artifactId>remote-parent</artifactId>
<version>3.0.2-SNAPSHOT</version>
<relativePath>../../releng/org.eclipse.remote.build/pom.xml</relativePath>
</parent>
<parent>
<groupId>org.eclipse.cdt</groupId>
<artifactId>cdt-parent</artifactId>
<version>10.5.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>org.eclipse.remote.proxy.server.product</artifactId>
<version>1.0.0</version>
@ -73,50 +73,50 @@
<goal>run</goal>
</goals>
<configuration>
<tasks>
<target name="copy prebuilt servers to the individual plugins">
<copy file="${project.build.directory}/products/proxy.server-linux.gtk.x86_64.tar.gz"
tofile="${basedir}/../org.eclipse.remote.proxy.server.linux.x86_64/proxy.server.tar.gz"/>
<copy file="${project.build.directory}/products/proxy.server-linux.gtk.ppc64le.tar.gz"
tofile="${basedir}/../org.eclipse.remote.proxy.server.linux.ppc64le/proxy.server.tar.gz"/>
<copy file="${project.build.directory}/products/proxy.server-macosx.cocoa.x86_64.tar.gz"
tofile="${basedir}/../org.eclipse.remote.proxy.server.macosx.x86_64/proxy.server.tar.gz"/>
</tasks>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>eclipse-sign</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-macsigner-plugin</artifactId>
<version>${cbi-plugins.version}</version>
<executions>
<execution>
<id>sign</id>
<phase>package</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<baseSearchDir>${project.build.directory}/products/proxy.server/macosx</baseSearchDir>
<fileNames>
<fileName>Proxy.app</fileName>
</fileNames>
<timeoutMillis>300000</timeoutMillis> <!-- 5 min -->
<entitlements>${project.basedir}/product.entitlements</entitlements>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<profile>
<id>production</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-macsigner-plugin</artifactId>
<version>${cbi-plugins.version}</version>
<executions>
<execution>
<id>sign</id>
<phase>package</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<baseSearchDir>${project.build.directory}/products/proxy.server/macosx</baseSearchDir>
<fileNames>
<fileName>Proxy.app</fileName>
</fileNames>
<timeoutMillis>300000</timeoutMillis>
<entitlements>${project.basedir}/product.entitlements</entitlements>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.remote.target</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>

View file

@ -1,2 +0,0 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View file

@ -1,44 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.remote</groupId>
<artifactId>remote-parent</artifactId>
<version>3.0.2-SNAPSHOT</version>
<relativePath>../org.eclipse.remote.build/pom.xml</relativePath>
</parent>
<artifactId>org.eclipse.remote.target</artifactId>
<packaging>pom</packaging>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9.1</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>remote.target</file>
<type>target</type>
<classifier>remote-photon</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View file

@ -1,28 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?>
<target name="remote" sequenceNumber="1">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.license.feature.group" version="0.0.0"/>
<repository location="http://download.eclipse.org/cbi/updates/license/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.hamcrest" version="0.0.0"/>
<unit id="org.mockito" version="0.0.0"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20210223232630/repository/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/>
<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
<repository location="http://download.eclipse.org/eclipse/updates/4.19/R-4.19-202103031800/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.cdt.core" version="0.0.0"/>
<unit id="org.eclipse.cdt.native.feature.group" version="0.0.0"/>
<unit id="org.eclipse.cdt.native.serial" version="0.0.0"/>
<unit id="org.eclipse.tm.terminal.control.feature.feature.group" version="0.0.0"/>
<unit id="org.eclipse.tm.terminal.feature.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/tools/cdt/releases/10.3/cdt-10.3.0/"/>
</location>
</locations>
</target>