Compare commits
40 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42b2267973 | ||
|
|
2093793742 | ||
|
|
99586fc700 | ||
|
|
823ca2f961 | ||
|
|
9aedcefb30 | ||
|
|
c0e7087959 | ||
|
|
0b3ba152ef | ||
|
|
716082d1ec | ||
|
|
73c6aea229 | ||
|
|
0dda1b51f7 | ||
|
|
11a292d42b | ||
|
|
76895b0c33 | ||
|
|
d5c09dd366 | ||
|
|
145f86fc11 | ||
|
|
e23a4939b7 | ||
|
|
bdaa70d280 | ||
|
|
056812a752 | ||
|
|
329f68dbec | ||
|
|
320a50a5f2 | ||
|
|
d79c6c2cd5 | ||
|
|
f5f4e0d12d | ||
|
|
05d9d570ee | ||
|
|
3f19d2b8dd | ||
|
|
8c01628a0b | ||
|
|
84fe03afb7 | ||
|
|
5448986a02 | ||
|
|
916d9164be | ||
|
|
4c185b00bc | ||
|
|
b5a0e4da55 | ||
|
|
5151ce3bab | ||
|
|
7b47c86fb3 | ||
|
|
865f3fdd68 | ||
|
|
a6c33e875b | ||
|
|
6188d8cb61 | ||
|
|
de2b6bd7c8 | ||
|
|
8ea91cfc6a | ||
|
|
81e6e04274 | ||
|
|
1f16741366 | ||
|
|
a675884207 | ||
|
|
dd531a1b69 |
6 changed files with 1 additions and 222 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +0,0 @@
|
|||
/tycho-extras-*.bz2
|
||||
/org.eclipse.tycho.extras-*.bz2
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
This project was merged upstream with the main tycho repo. The tycho-extras RPM was subsumed by the tycho RPM
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
06505837d1bfece9184ecd13c97b5f50 tycho-extras-0.19.x.tar.bz2
|
||||
|
|
@ -1,31 +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 05baf87..2c62fb0 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
|
||||
@@ -515,15 +515,19 @@ 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 (Exception e) {
|
||||
return null;
|
||||
}
|
||||
- return attr;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
From 67c1c75a672438fdf338d559b76ddac2dbea8863 Mon Sep 17 00:00:00 2001
|
||||
From: Roland Grunberg <rgrunber@redhat.com>
|
||||
Date: Mon, 6 May 2013 14:20:58 -0400
|
||||
Subject: [PATCH] Use custom resolver for tycho-eclipserun-plugin.
|
||||
|
||||
Add the system local p2 repository to the target platform used by
|
||||
tycho-eclipserun-plugin.
|
||||
|
||||
Change-Id: Ifd0aae3f32c8077cd0ae33e70f40698c1129788d
|
||||
---
|
||||
.../org/eclipse/tycho/extras/eclipserun/EclipseRunMojo.java | 13 +++++++++++++
|
||||
1 file changed, 13 insertions(+)
|
||||
|
||||
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 ed00d4c..d059996 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
|
||||
@@ -13,6 +13,8 @@ package org.eclipse.tycho.extras.eclipserun;
|
||||
|
||||
import java.io.File;
|
||||
import java.net.MalformedURLException;
|
||||
+import java.net.URI;
|
||||
+import java.net.URISyntaxException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -202,6 +204,17 @@ public class EclipseRunMojo extends AbstractMojo {
|
||||
TargetPlatformConfigurationStub tpConfiguration = new TargetPlatformConfigurationStub();
|
||||
// we want to resolve from remote repos only
|
||||
tpConfiguration.setForceIgnoreLocalArtifacts(true);
|
||||
+
|
||||
+ // Add Fedora Local P2 Repository when running in local mode
|
||||
+ if (System.getProperty("TYCHO_MVN_LOCAL") != null || System.getProperty("TYCHO_MVN_RPMBUILD") != null) {
|
||||
+ String uri = "file:" + System.getProperty("user.dir") + "/.m2/p2/repo";
|
||||
+ try {
|
||||
+ tpConfiguration.addP2Repository(new MavenRepositoryLocation(uri, new URI(uri)));
|
||||
+ } catch (URISyntaxException e) {
|
||||
+ getLog().warn("Unable to resolve repository URI : " + uri, e);
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
for (Repository repository : repositories) {
|
||||
tpConfiguration.addP2Repository(new MavenRepositoryLocation(repository.getId(), repository.getLocation()));
|
||||
}
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
|
|
@ -1,141 +0,0 @@
|
|||
# When building version under development (non-release)
|
||||
# %%global snap -SNAPSHOT
|
||||
%global snap %{nil}
|
||||
|
||||
Name: tycho-extras
|
||||
Version: 0.19.0
|
||||
Release: 1%{?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.19.x.tar.bz2
|
||||
Patch0: %{name}-fix-build.patch
|
||||
Patch1: %{name}-use-custom-resolver.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.19.x
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
# maven-properties-plugin is only needed for tests
|
||||
%pom_remove_plugin org.eclipse.m2e:lifecycle-mapping
|
||||
%pom_remove_plugin org.sonatype.plugins:maven-properties-plugin tycho-p2-extras-plugin
|
||||
# remove org.apache.maven:apache-maven zip
|
||||
%pom_remove_dep org.apache.maven:apache-maven tycho-p2-extras-plugin
|
||||
|
||||
%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}%{snap}.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
|
||||
* Fri Oct 25 2013 Roland Grunberg <rgrunber@redhat.com> - 0.19.0-1
|
||||
- Update to 0.19.0 Release.
|
||||
|
||||
* Mon Jul 29 2013 Roland Grunberg <rgrunber@redhat.com> 0.18.1-1
|
||||
- Update to 0.18.1 Release.
|
||||
|
||||
* Thu May 30 2013 Roland Grunberg <rgrunber@redhat.com> 0.18.0-1
|
||||
- Update to 0.18.0 Release.
|
||||
|
||||
* Tue May 7 2013 Roland Grunberg <rgrunber@redhat.com> 0.17.0-2
|
||||
- tycho-eclipserun-plugin should use the system local p2 repo.
|
||||
|
||||
* Tue Apr 2 2013 Roland Grunberg <rgrunber@redhat.com> 0.17.0-1
|
||||
- Update to 0.17.0 Release.
|
||||
|
||||
* Mon Feb 25 2013 Roland Grunberg <rgrunber@redhat.com> 0.17.0-0.1.git0a9370
|
||||
- Update to latest 0.17.0-SNAPSHOT.
|
||||
|
||||
* Thu Feb 21 2013 Roland Grunberg <rgrunber@redhat.com> - 0.16.0-5
|
||||
- Fix PlexusConfiguration class issues identically across branches.
|
||||
|
||||
* 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
|
||||
|
||||
* Mon Apr 16 2012 Roland Grunberg <rgrunber@redhat.com> - 0.14.0-1
|
||||
- Initial packaging of tycho extras.
|
||||
Loading…
Add table
Add a link
Reference in a new issue