Allow installation of Eclipse plugins in javadir

This commit is contained in:
Mikolaj Izdebski 2013-07-23 08:05:04 +02:00
parent f33e82111e
commit 7989c321ab
2 changed files with 19 additions and 1 deletions

11
xmvn-eclipse-plugin.patch Normal file
View File

@ -0,0 +1,11 @@
--- xmvn-core/src/main/java/org/fedoraproject/maven/installer/JarInstaller.java~ 2013-05-24 10:12:18.000000000 +0200
+++ xmvn-core/src/main/java/org/fedoraproject/maven/installer/JarInstaller.java 2013-07-23 07:58:47.020084935 +0200
@@ -43,7 +43,7 @@
@Override
public List<String> getSupportedPackagingTypes()
{
- return Arrays.asList( "bundle", "ejb", "jar", "maven-plugin" );
+ return Arrays.asList( "bundle", "eclipse-plugin", "ejb", "jar", "maven-plugin" );
}
@Override

View File

@ -1,6 +1,6 @@
Name: xmvn
Version: 0.5.0
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Local Extensions for Apache Maven
License: ASL 2.0
URL: http://mizdebsk.fedorapeople.org/xmvn
@ -18,6 +18,9 @@ Patch1: 0002-Implement-desired-handling-dots-in-JPP-groupId.patch
# of tools.jar without specifying system scope or systemPath
Patch2: 0003-Implement-Java-home-resolver.patch
# Allow installation of Eclipse plugins in javadir
Patch3: %{name}-eclipse-plugin.patch
# Since this version maven uses sonatype-aether symlinks
BuildRequires: maven >= 3.0.5-8
@ -61,6 +64,7 @@ This package provides %{summary}.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3
# Add cglib test dependency as a workaround for rhbz#911365
%pom_add_dep cglib:cglib::test %{name}-core
@ -150,6 +154,9 @@ end
%doc LICENSE NOTICE
%changelog
* Tue Jul 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.5.0-7
- Allow installation of Eclipse plugins in javadir
* Mon Jul 22 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.5.0-6
- Remove workaround for plexus-archiver bug
- Use sonatype-aether symlinks