Re: deploy jar with dependencies
FatJar Sonar, Nishant wrote: Hi I need to build on a machine and deploy the jar on another machine. Now there are dependencies in my jar are to be supplied with this jar, as it is no the build machine the classpath. How should I create a single distributable comprising all the jars? Like Myjar.jar |---com.myapp.app |---lib |--dependent jars Regards, Nishant Sonar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: deploy jar with dependencies
did you try the assembly plugin? http://maven.apache.org/plugins/maven-assembly-plugin/index.html I am using it with maven 2, so I dont know if it works with maven 1 bu give it a try ^^ regards, Arthur Sonar, Nishant schrieb: Hi I need to build on a machine and deploy the jar on another machine. Now there are dependencies in my jar are to be supplied with this jar, as it is no the build machine the classpath. How should I create a single distributable comprising all the jars? Like Myjar.jar |---com.myapp.app |---lib |--dependent jars Regards, Nishant Sonar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: deploy jar with dependencies
On 06/12/2007, Sonar, Nishant [EMAIL PROTECTED] wrote: Hi I need to build on a machine and deploy the jar on another machine. Now there are dependencies in my jar are to be supplied with this jar, as it is no the build machine the classpath. How should I create a single distributable comprising all the jars? Like you can use the maven-assembly-plugin to do this: http://maven.apache.org/plugins/maven-assembly-plugin Myjar.jar |---com.myapp.app |---lib |--dependent jars Regards, Nishant Sonar -- Cheers, Stuart
deploy jar with dependencies
Hi I need to build on a machine and deploy the jar on another machine. Now there are dependencies in my jar are to be supplied with this jar, as it is no the build machine the classpath. How should I create a single distributable comprising all the jars? Like Myjar.jar |---com.myapp.app |---lib |--dependent jars Regards, Nishant Sonar
deploy jar-with-dependencies ?
hello everyone, not sure if it makes sense, but here is the question: how coud I deploy a jar-with-dependencies (as produced by assembly:assembly) to my private repository ? I need to reference it from the webstart-plugin, so that i can declare it as a dependency, and when a user will launch the webstart application, it will get everything bundled in the jar is downloading. Which are the alternatives in this case ? thanks, valerio -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni