Compare commits

..

49 commits

Author SHA1 Message Date
Mat Booth
42b2267973 This project was merged upstream with the main tycho repo. The tycho-extras RPM was subsumed by the tycho RPM 2020-03-20 13:07:40 +00:00
Fedora Release Engineering
2093793742 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 02:21:42 +00:00
Mat Booth
99586fc700 Fix broken symlink for takari-polyglot 2019-12-20 17:12:01 +00:00
Mat Booth
823ca2f961 Merge branch 'tycho' 2019-12-18 11:34:27 +00:00
Mat Booth
9aedcefb30 Update to latest upstream release 2019-12-18 11:31:20 +00:00
Fedora Release Engineering
c0e7087959 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 02:14:24 +00:00
Mat Booth
0b3ba152ef Update to latest upstream release 2019-05-30 16:43:57 +01:00
Mat Booth
716082d1ec Don't build plug-ins we can't use during RPM builds 2019-05-23 21:32:51 +01:00
Mat Booth
73c6aea229 Restrict to same architectures as Eclipse itself 2019-03-19 21:07:10 +00:00
Mat Booth
0dda1b51f7 Make installation more portable 2019-03-12 13:48:51 +00:00
Mat Booth
11a292d42b Update to latest upstream release 2019-02-19 18:14:40 +00:00
Fedora Release Engineering
76895b0c33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 10:35:39 +00:00
Mat Booth
d5c09dd366 License correction 2018-08-17 15:02:14 +01:00
Fedora Release Engineering
145f86fc11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:05:33 +00:00
Mat Booth
e23a4939b7 Update to latest release 2018-06-05 16:48:09 +01:00
Mat Booth
bdaa70d280 Update to latest upstream release 2018-05-02 22:45:41 +01:00
Fedora Release Engineering
056812a752 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 19:48:10 +00:00
Fedora Release Engineering
329f68dbec - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 20:49:50 +00:00
Mat Booth
320a50a5f2 Update to 1.0.0 2017-04-26 21:14:08 +01:00
Fedora Release Engineering
d79c6c2cd5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 16:34:06 +00:00
Mat Booth
f5f4e0d12d Update to latest upstream release 2016-11-03 09:20:03 +00:00
Alexander Kurtakov
05d9d570ee Bump release. 2016-07-04 11:18:47 +03:00
Alexander Kurtakov
3f19d2b8dd Add patch to fix NPE in xmvn builddep. 2016-07-04 11:18:09 +03:00
Mikolaj Izdebski
8c01628a0b Add missing build-requires 2016-06-15 15:52:44 +02:00
Mikolaj Izdebski
84fe03afb7 Obsolete tycho-pomless 2016-04-28 09:40:52 +02:00
Mat Booth
5448986a02 Update to latest upstream release 2016-04-21 16:58:40 +01:00
Mat Booth
916d9164be Fix build against new maven-archiver, which removed some deprecated methods
that tycho was using
2016-04-14 18:01:11 +01:00
Fedora Release Engineering
4c185b00bc - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:12:02 +00:00
Dennis Gilmore
b5a0e4da55 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 03:38:07 +00:00
Alexander Kurtakov
5151ce3bab Update to upstream 0.23. 2015-06-09 19:26:43 +03:00
Mikolaj Izdebski
7b47c86fb3 Port to latest fedoraproject-p2 2014-12-05 09:26:45 +01:00
Mat Booth
865f3fdd68 Update to tagged release
- Fix directory ownership problem
2014-12-01 18:49:32 +00:00
Roland Grunberg
a6c33e875b Update to 0.22.0 pre-release. 2014-11-29 11:39:49 -05:00
Roland Grunberg
6188d8cb61 Use fedoraproject-p2 to do OSGi bundle discovery. 2014-09-04 10:17:33 -04:00
Roland Grunberg
de2b6bd7c8 Integrate fedoraproject-p2 functionality. 2014-08-21 14:39:40 -04:00
Roland Grunberg
8ea91cfc6a Update to 0.21.0 Release. 2014-07-28 15:49:40 -04:00
Dennis Gilmore
81e6e04274 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 04:19:29 -05:00
Roland Grunberg
1f16741366 Update to 0.20.0 Release. 2014-03-25 14:10:57 -04:00
Michael Simacek
a675884207 Use mvn_build.
Signed-off-by: Michael Simacek <msimacek@redhat.com>
[rgrunber@redhat.com: Remove unnecessary sonatype gid]
Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
2014-03-21 12:11:18 -04:00
Roland Grunberg
dd531a1b69 Change R:java to R:java-headless (Bug 1068575). 2014-02-27 10:51:26 -05:00
Roland Grunberg
32d2cd774c Update to 0.19.0 Release. 2013-10-25 14:22:26 -04:00
Roland Grunberg
0a5c389ca7 Remove patches replaced by pom macros. 2013-07-29 15:38:30 -04:00
Roland Grunberg
0ee785cd49 Update to 0.18.1 Release. 2013-07-29 15:29:29 -04:00
Roland Grunberg
b198cb2b03 Update to 0.18.0 Release. 2013-05-30 13:00:37 -04:00
Roland Grunberg
6175b251e3 Add patch for using system local p2 repo. 2013-05-07 15:51:06 -04:00
Roland Grunberg
2183fd23f3 tycho-eclipserun-plugin should use the system local p2 repo. 2013-05-07 12:01:26 -04:00
Roland Grunberg
0cb061407e Update to 0.17.0 Release. 2013-04-02 14:29:50 -04:00
Roland Grunberg
46d788409d Update to latest 0.17.0-SNAPSHOT. 2013-02-26 10:07:59 -05:00
Roland Grunberg
d8ffec9a5b Fix PlexusConfiguration class issues identically across branches. 2013-02-21 15:49:06 -05:00
8 changed files with 1 additions and 275 deletions

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
/tycho-extras-*.bz2
/org.eclipse.tycho.extras-*.bz2

1
dead.package Normal file
View file

@ -0,0 +1 @@
This project was merged upstream with the main tycho repo. The tycho-extras RPM was subsumed by the tycho RPM

View file

@ -1 +0,0 @@
0568752ff0ae1b8e40263b6e3637488c tycho-extras-0.16.x.tar.bz2

View file

@ -1,53 +0,0 @@
From b57fed1d046cde40d90bda409280463006337b4a Mon Sep 17 00:00:00 2001
From: Tobias Oberlies <tobias.oberlies@sap.com>
Date: Wed, 28 Nov 2012 14:13:42 +0100
Subject: [PATCH] 393686 Correctly add reactor artifacts to eclipserun mojo
runtime
- Special handling for eclipserun runtime artifact from the reactor. It
is questionable if we need this at all, but while the eclipserun
runtime resolved from the target platform (and hence may include
reactor artifacts), we need this special handling.
- Fail fast if reactor artifacts for runtime have not yet been packaged.
- Still no integration test - tested manually.
Bug: 393686
Change-Id: Ifa542df7af5691c9146b65ff230201c4c857d4b4
---
.../tycho/extras/eclipserun/EclipseRunMojo.java | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/tycho-eclipserun-plugin/src/main/java/org/eclipse/tycho/extras/eclipserun/EclipseRunMojo.java b/tycho-eclipserun-plugin/src/main/java/org/eclipse/tycho/extras/eclipserun/EclipseRunMojo.java
index 0ca5be1..a6fba3d 100644
--- a/tycho-eclipserun-plugin/src/main/java/org/eclipse/tycho/extras/eclipserun/EclipseRunMojo.java
+++ b/tycho-eclipserun-plugin/src/main/java/org/eclipse/tycho/extras/eclipserun/EclipseRunMojo.java
@@ -170,7 +170,25 @@ public class EclipseRunMojo extends AbstractMojo {
EquinoxInstallationDescription installationDesc = new DefaultEquinoxInstallationDescription();
for (ArtifactDescriptor artifact : runtimeArtifacts.getArtifacts(ArtifactKey.TYPE_ECLIPSE_PLUGIN)) {
- installationDesc.addBundle(artifact);
+
+ ReactorProject reactorProject = artifact.getMavenProject();
+ if (reactorProject != null) {
+ // while reactor projects may be in the runtime, we need this special handling here
+ if (reactorProject.sameProject(project)) {
+ // never add this project to the runtime
+ continue;
+ }
+
+ File reactorArtifactFile = reactorProject.getArtifact(artifact.getClassifier());
+ if (reactorArtifactFile == null || !reactorArtifactFile.isFile()) {
+ throw new MojoExecutionException(
+ "Eclipse runtime includes artifact from the reactor which has not yet been built: "
+ + artifact);
+ }
+ installationDesc.addBundle(artifact.getKey(), reactorArtifactFile);
+ } else {
+ installationDesc.addBundle(artifact);
+ }
}
return installationFactory.createInstallation(installationDesc, work);
--
1.7.11.7

View file

@ -1,38 +0,0 @@
diff --git a/tycho-source-feature-plugin/src/main/java/org/eclipse/tycho/extras/sourcefeature/SourceFeatureMojo.java b/tycho-source-feature-plugin/src/main/java/org/eclipse/tycho/extras/sourcefeature/SourceFeatureMojo.java
index 80d8f21..eb8396e 100644
--- a/tycho-source-feature-plugin/src/main/java/org/eclipse/tycho/extras/sourcefeature/SourceFeatureMojo.java
+++ b/tycho-source-feature-plugin/src/main/java/org/eclipse/tycho/extras/sourcefeature/SourceFeatureMojo.java
@@ -29,6 +29,7 @@ import org.apache.maven.project.MavenProjectHelper;
import org.codehaus.plexus.archiver.jar.JarArchiver;
import org.codehaus.plexus.archiver.util.DefaultFileSet;
import org.codehaus.plexus.configuration.PlexusConfiguration;
+import org.codehaus.plexus.configuration.PlexusConfigurationException;
import org.codehaus.plexus.logging.Logger;
import org.eclipse.sisu.equinox.EquinoxServiceFactory;
import org.eclipse.tycho.ArtifactKey;
@@ -342,14 +343,18 @@ public class SourceFeatureMojo extends AbstractMojo {
}
private String getAttribute(PlexusConfiguration dom, String attrName) {
- String attr = dom.getAttribute(attrName);
- if (attr == null) {
- return null;
- }
- attr = attr.trim();
- if (attr.length() == 0) {
+ try {
+ String attr = dom.getAttribute(attrName);
+ if (attr == null) {
+ return null;
+ }
+ attr = attr.trim();
+ if (attr.length() == 0) {
+ return null;
+ }
+ return attr;
+ } catch (PlexusConfigurationException e) {
return null;
}
- return attr;
}
}

View file

@ -1,36 +0,0 @@
--- org.eclipse.tycho.extras-e58861033fdadbae0563a703feae75bc50245bee/pom.xml.old 2012-07-30 09:56:42.000000000 -0400
+++ org.eclipse.tycho.extras-e58861033fdadbae0563a703feae75bc50245bee/pom.xml 2012-07-30 09:58:02.000000000 -0400
@@ -205,6 +205,7 @@
</executions>
</plugin>
<!-- m2eclipse lifecycle mapping -->
+ <!--
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
@@ -229,6 +230,7 @@
</lifecycleMappingMetadata>
</configuration>
</plugin>
+ -->
</plugins>
</pluginManagement>
</build>
--- org.eclipse.tycho.extras-e58861033fdadbae0563a703feae75bc50245bee/tycho-p2-extras-plugin/pom.xml.old 2012-08-03 11:56:55.000000000 -0400
+++ org.eclipse.tycho.extras-e58861033fdadbae0563a703feae75bc50245bee/tycho-p2-extras-plugin/pom.xml 2012-08-03 11:57:20.000000000 -0400
@@ -78,6 +78,7 @@
<build>
<plugins>
+ <!--
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>maven-properties-plugin</artifactId>
@@ -95,6 +96,7 @@
</execution>
</executions>
</plugin>
+ -->
<!-- During the unit tests, the test project is copied to the target folder
and the publish mojo is executed on the project. The test project may also

View file

@ -1,30 +0,0 @@
diff --git a/tycho-p2-extras-plugin/pom.xml b/tycho-p2-extras-plugin/pom.xml
index b1f97ed..2721b8d 100644
--- a/tycho-p2-extras-plugin/pom.xml
+++ b/tycho-p2-extras-plugin/pom.xml
@@ -46,8 +46,8 @@
<version>${project.version}</version>
</dependency>
- <dependency>
<!--
+ <dependency>
Workaround 387848 and 348394.
Ideally, we want to be able to run unit/integration tests in three distinct environments
@@ -65,7 +65,6 @@
from remote repositories.
- new snapshots/releases <pluginRepository> in test pom.xml files gives test project access to
tycho-core artifacts
- -->
<groupId>org.apache.maven</groupId>
<artifactId>apache-maven</artifactId>
<version>${maven-version}</version>
@@ -73,6 +72,7 @@
<type>tar.gz</type>
<scope>provided</scope>
</dependency>
+ -->
</dependencies>
<build>

View file

@ -1,115 +0,0 @@
Name: tycho-extras
Version: 0.16.0
Release: 4%{?dist}
Summary: Additional plugins for Tycho
Group: Development/Libraries
License: EPL
URL: http://eclipse.org/tycho/
Source0: http://git.eclipse.org/c/tycho/org.eclipse.tycho.extras.git/snapshot/tycho-extras-0.16.x.tar.bz2
# maven-properties-plugin is only needed for tests
Patch0: %{name}-no-maven-properties-plugin.patch
Patch1: %{name}-remove-core.patch
Patch2: %{name}-fix-build.patch
Patch3: %{name}-393686.patch
BuildArch: noarch
BuildRequires: jpackage-utils
BuildRequires: java-devel >= 1.5
BuildRequires: jgit
BuildRequires: tycho
Requires: jpackage-utils
Requires: java >= 1.5
Requires: jgit
Requires: tycho
%description
A small set of plugins that work with Tycho to provide additional functionality
when building projects of an OSGi nature.
%package javadoc
Summary: Java docs for %{name}
Group: Documentation
Requires: jpackage-utils
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n tycho-extras-0.16.x
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
# To run tests, we need :
# maven-properties-plugin (unclear licensing)
mvn-rpmbuild -Dmaven.test.skip=true install javadoc:aggregate
%install
install -d -m 755 %{buildroot}%{_javadir}/%{name}
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-main.pom
%add_maven_depmap JPP.%{name}-main.pom -a "org.eclipse.tycho:tycho-extras,org.sonatype.tycho:tycho-extras"
for mod in tycho-{custom-bundle,eclipserun,source-feature,version-bump}-plugin \
tycho-{buildtimestamp,sourceref}-jgit tycho-p2-extras-plugin \
pack200/tycho-pack200{{a,b}-plugin,-impl} \
target-platform-validation-plugin ; do
echo $mod
aid=`basename $mod`
install -pm 644 $mod/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-$aid.pom
install -m 644 $mod/target/$aid-%{version}.jar %{buildroot}%{_javadir}/%{name}/$aid.jar
%add_maven_depmap JPP.%{name}-$aid.pom %{name}/$aid.jar -a "org.eclipse.tycho:$aid,org.sonatype.tycho:$aid"
done
for pommod in pack200; do
echo $pommod
aid=`basename $pommod`
install -pm 644 $pommod/pom.xml %{buildroot}%{_mavenpomdir}/JPP.%{name}-$aid.pom
%add_maven_depmap JPP.%{name}-$aid.pom -a "org.eclipse.tycho:$aid,org.sonatype.tycho:$aid"
done
# javadoc
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
%files
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/%{name}
%{_javadir}/%{name}
%files javadoc
%{_javadocdir}/%{name}
%changelog
* Wed Feb 20 2013 Roland Grunberg <rgrunber@redhat.com> - 0.16.0-4
- Fix build issues relating to PlexusConfiguration.
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Dec 13 2012 Roland Grunberg <rgrunber@redhat.com> 0.16.0-3
- Fix upstream Bug 393686.
* Fri Oct 19 2012 Roland Grunberg <rgrunber@redhat.com> 0.16.0-2
- Update to 0.16.0 Release.
* Mon Jul 30 2012 Roland Grunberg <rgrunber@redhat.com> 0.16.0-1.e58861
- Update to 0.16.0 SNAPSHOT.
* Fri Jul 27 2012 Roland Grunberg <rgrunber@redhat.com> 0.15.0-1
- Update to 0.15.0.
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Apr 16 2012 Roland Grunberg <rgrunber@redhat.com> - 0.14.0-1
- Initial packaging of tycho extras.