[
http://issues.ops4j.org/browse/PAXCONSTRUCT-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12288#action_12288
]
Charles Moulliard commented on PAXCONSTRUCT-108:
------------------------------------------------
Stuart,
The command mvn package does not work at all.
What I do for the moment is very simple :
1) create a bundle project: mvn org.ops4j:maven-pax-plugin:create-bundle
-Dpackage=demo.service -DbundleGroupId=demo.service
-DbundleName=demo.service-bundle -Dversion=0.1
manifest content
Manifest-Version: 1
Bundle-Version: 0.1.0
Bundle-Name: demo.camel-bundle [demo.camel]
Bundle-ManifestVersion: 2
Bundle-SymbolicName: demo.camel_bundle
Import-Package: org.osgi.framework,org.osgi.util.tracker
2) Transform it as an eclipse project : mvn org.ops4j:maven-pax-plugin:eclipse
3) Import it in Eclipse
4) Modify pom (let say by adding something in <Import-Package>
5) launch mvn mvn org.ops4j:maven-pax-plugin:compile command
6) Then I see that the content of the MANIFEST.MF file does not correspond to
the one placed in the jar
Manifest-Version: 1.0
Bundle-Version: 0.1
Build-Jdk: 1.6.0_12
Built-By: Charlesm
Tool: Bnd-0.0.255
Bnd-LastModified: 1240326185430
Bundle-Name: demo.camel-bundle [demo.camel]
Bundle-ManifestVersion: 2
Created-By: Apache Maven Bundle Plugin
Import-Package: demo.service;version="0.1"
Bundle-SymbolicName: demo.camel-bundle
This is why I say that the content of the file is not refreshed.
7) If I delete the file (accidentally inside Eclipse), then the file is not
recreated
> MANIFEST.MF file is not refreshed (or even recreated after a delete) by the
> command mvn org.ops4j:maven-pax-plugin:compile
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: PAXCONSTRUCT-108
> URL: http://issues.ops4j.org/browse/PAXCONSTRUCT-108
> Project: Pax Construct
> Issue Type: Bug
> Components: maven-pax-plugin
> Affects Versions: 1.4
> Reporter: Charles Moulliard
> Assignee: Stuart McCulloch
>
> The content of the file MANIFEST.MF is not refreshed (or even recreated after
> a delete) by the command mvn org.ops4j:maven-pax-plugin:compile
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general