inlcude external lib (*.jar) in nexus plugin

View: New views
3 Messages — Rating Filter:   Alert me  

inlcude external lib (*.jar) in nexus plugin

by K H :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
My nexus plugin require the use of an external library (jCIFs) - in the form of JAR.
I'm receiving this throwable error below.

java.lang.NoClassDefFoundError: jcifs/UniAddress

Please let me know what may be the cause and how to resolve it.

Thanks,
Kelly

RE: inlcude external lib (*.jar) in nexus plugin

by justinedelson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[nexus-dev] inlcude external lib (*.jar) in nexus plugin
This JAR file needs to go in the runtime/apps/nexus/lib directory for the standalone version (not sure where it goes in the WAR version).
 
You could also use the maven assembly plugin to include the contents of this third party JAR in your plugin JAR.
 
Justin


From: K H [mailto:kehsiao@...]
Sent: Wed 5/27/2009 6:26 PM
To: nexus-dev@...
Subject: [nexus-dev] inlcude external lib (*.jar) in nexus plugin


Hi,
My nexus plugin require the use of an external library (jCIFs) - in the form
of JAR.
I'm receiving this throwable error below.

java.lang.NoClassDefFoundError: jcifs/UniAddress

Please let me know what may be the cause and how to resolve it.

Thanks,
Kelly
--
View this message in context: http://www.nabble.com/inlcude-external-lib-%28*.jar%29-in-nexus-plugin-tp23751909p23751909.html
Sent from the Nexus Maven Repository Manager Dev List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...


Re: inlcude external lib (*.jar) in nexus plugin

by Marvin Froeder-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, if you wanna to include the jCFIs content into your jar use shade plugin

But just put it at same directory you put your plugin and all should be fine.


VELO

On Wed, May 27, 2009 at 7:26 PM, Edelson, Justin <Justin.Edelson@...> wrote:
This JAR file needs to go in the runtime/apps/nexus/lib directory for the standalone version (not sure where it goes in the WAR version).
 
You could also use the maven assembly plugin to include the contents of this third party JAR in your plugin JAR.
 
Justin


From: K H [mailto:kehsiao@...]
Sent: Wed 5/27/2009 6:26 PM
To: nexus-dev@...
Subject: [nexus-dev] inlcude external lib (*.jar) in nexus plugin


Hi,
My nexus plugin require the use of an external library (jCIFs) - in the form
of JAR.
I'm receiving this throwable error below.

java.lang.NoClassDefFoundError: jcifs/UniAddress

Please let me know what may be the cause and how to resolve it.

Thanks,
Kelly
--
View this message in context: http://www.nabble.com/inlcude-external-lib-%28*.jar%29-in-nexus-plugin-tp23751909p23751909.html
Sent from the Nexus Maven Repository Manager Dev List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-dev-unsubscribe@...
For additional commands, e-mail: nexus-dev-help@...