I fixed it myself by adding a leading 'C:' to my local repo path in my
Maven settings.xml.

 

Not sure why the maven-bundle-plugin didn't work before though - I have
never seen similar issues with Maven previously...

 

John.

 

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of John Casebow
Sent: 16 July 2009 12:11
To: [email protected]
Subject: [osgi-dev] Problem with pax-wrap

 

Hi all,

 

I am investigating the use of pax-construct's pax-wrap script to wrap
3rd party non-OSGi jars. The first stage seems to work fine, in that the
BND and Maven POM files are generated. My problem comes when I try to
build and install the wrapped jar using the generated POM - the
Felix-provided bundle plugin fails to find the wrapped-jar in my local
Maven repository:

 

...

[ERROR] Error building bundle
examples:javagroups.jgroups-all:bundle:2.6.7-001-SNAPSHOT : Can not find
JAR file
\software\maven-local-repo\javagroups\jgroups-all\2.6.7\jgroups-all-2.6.
7.jar

[ERROR] Error building bundle
examples:javagroups.jgroups-all:bundle:2.6.7-001-SNAPSHOT : The JAR is
empty

[ERROR] Error(s) found in bundle configuration

...

 

The artifact is present and correct in my local repo - the POM
generation step downloads it from the Maven central repo.

 

Has anyone else had similar problems with pax-wrap?

 

Thanks in advance,

 

John.

 


**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the
addressee only and may be confidential. If they come to you in error you
must take no action based on them, nor must you copy or show them to
anyone. Please advise the sender by replying to this e-mail immediately
and then delete the original from your computer.

Opinion : Any opinions expressed in this e-mail are entirely those of
the author and unless specifically stated to the contrary, are not
necessarily those of the author's employer.

Security Warning : Internet e-mail is not necessarily a secure
communications medium and can be subject to data corruption. We advise
that you consider this fact when e-mailing us. 

Viruses : We have taken steps to ensure that this e-mail and any
attachments are free from known viruses but in keeping with good
computing practice, you should ensure that they are virus free.

Inspired Gaming (UK) Limited
Registered in England No 3565640
Registered Office 3 The Maltings Wetmore Road, Burton On Trent,
Staffordshire DE14 1SE
_______________________________________________________________
This message has been checked for all known viruses by the MessageLabs
Virus Control Centre.

_____________________________________________________________________
This e-mail has been scanned for viruses by MessageLabs.


**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error you must 
take no action based on them, nor must you copy or show them to anyone. Please 
advise the sender by replying to this e-mail immediately and then delete the 
original from your computer.

Opinion : Any opinions expressed in this e-mail are entirely those of the 
author and unless specifically stated to the contrary, are not necessarily 
those of the author’s employer.
 
Security Warning : Internet e-mail is not necessarily a secure communications 
medium and can be subject to data corruption. We advise that you consider this 
fact when e-mailing us. 

Viruses : We have taken steps to ensure that this e-mail and any attachments 
are free from known viruses but in keeping with good computing practice, you 
should ensure that they are virus free.

Inspired Gaming (UK) Limited
Registered in England No 3565640
Registered Office 3 The Maltings Wetmore Road, Burton On Trent, Staffordshire 
DE14 1SE
_______________________________________________________________
This message has been checked for all known viruses by the MessageLabs Virus 
Control Centre.
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to