Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 603361 Details for
Bug 847157
[patch] add OSGI information to descriptor.jar
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add OSGI info to descriptor.jar
0001-Add-OSGI-info-to-descriptor.jar.patch (text/plain), 2.09 KB, created by
Gerard Ryan
on 2012-08-09 22:31:09 UTC
(
hide
)
Description:
Add OSGI info to descriptor.jar
Filename:
MIME Type:
Creator:
Gerard Ryan
Created:
2012-08-09 22:31:09 UTC
Size:
2.09 KB
patch
obsolete
>From 9b639f7d3e798939981cb5d8adf6fed9684ebb6b Mon Sep 17 00:00:00 2001 >From: Gerard Ryan <gerard@ryan.lt> >Date: Thu, 9 Aug 2012 21:37:25 +0100 >Subject: [PATCH] Add OSGI info to descriptor.jar > >--- > maven-archetype.spec | 23 +++++++++++++++++++++-- > 1 file changed, 21 insertions(+), 2 deletions(-) > >diff --git a/maven-archetype.spec b/maven-archetype.spec >index c5eb7b2..4b68e3a 100644 >--- a/maven-archetype.spec >+++ b/maven-archetype.spec >@@ -1,6 +1,6 @@ > Name: maven-archetype > Version: 2.1 >-Release: 6%{?dist} >+Release: 7%{?dist} > Summary: Maven project templating toolkit > > Group: Development/Libraries >@@ -151,7 +151,7 @@ Requires: %{name}-registry = %{version}-%{release} > %patch2 -p1 > %patch3 > >-# Add OSGI info to catalog module >+# Add OSGI info to catalog and descriptor jars > pushd archetype-models/archetype-catalog > %pom_xpath_remove "pom:project/pom:packaging" > %pom_xpath_inject "pom:project" "<packaging>bundle</packaging>" >@@ -168,6 +168,22 @@ pushd archetype-models/archetype-catalog > </configuration> > </plugin>" > popd >+pushd archetype-models/archetype-descriptor >+ %pom_xpath_remove "pom:project/pom:packaging" >+ %pom_xpath_inject "pom:project" "<packaging>bundle</packaging>" >+ %pom_xpath_inject "pom:build/pom:plugins" " >+ <plugin> >+ <groupId>org.apache.felix</groupId> >+ <artifactId>maven-bundle-plugin</artifactId> >+ <extensions>true</extensions> >+ <configuration> >+ <instructions> >+ <_nouses>true</_nouses> >+ <Export-Package>org.apache.maven.archetype.metadata.*</Export-Package> >+ </instructions> >+ </configuration> >+ </plugin>" >+popd > > > %build >@@ -269,6 +285,9 @@ cp -rp target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}/ > %{_javadir}/%{name}/plugin.jar > > %changelog >+* Thu Aug 09 2012 Gerard Ryan <galileo@fedoraproject.org> - 2.1-7 >+- Add OSGI info to descriptor.jar >+ > * Tue Aug 7 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1-6 > - Export only proper OSGI packages > - Do not generate "uses" OSGI clauses >-- >1.7.11.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 847157
: 603361