Re: generate JAR and all dependecy jars to a folder automatically

2006-11-23 Thread franz see

Good day, 

That or codehaus' dependency-maven-plugin. You can use the documentation for
maven-dependency-plugin ( [1] ) as dependency-maven-plugin's documenation
since they are practically the same.

Cheers,
Franz

[1] http://maven.apache.org/plugins/maven-dependency-plugin/


Martin Vysny-2 wrote:
 
 On Wed, 2006-11-22 at 10:20 +0100, [EMAIL PROTECTED] wrote:
 Hi,
 
 is there any possibility with maven (or a different tool) to create a
 folder with the JAR of the project and all necessary JAR dependency files
 to run the application?
 Right now i have to copy the other JAR files manually ;-(
 
 
 http://maven.apache.org/plugins/maven-assembly-plugin
 
 
 Regards,
 Thorsten
 
 example:
 
 pom.xml
 ?xml version=1.0?
 project
   modelVersion4.0.0/modelVersion
   groupIdgroup/groupId
   artifactIdemu/artifactId
   nameEmu/name
   version1.0/version
 
  dependencies
 dependency
   groupIdjava_help/groupId
   artifactIdjava_help/artifactId
   version2.0_02/version
 /dependency
 dependency
   groupIdjgoodies/groupId
   artifactIdforms/artifactId
   version1.0.7/version
 /dependency
 dependency
   groupIdSwingLayout/groupId
   artifactIdSwingLayout/artifactId
   version0.1/version
 /dependency
  /dependencies
 
 
 result:
 
emu-1.0.jar
 lib
  java_help-2.0_02.jar
  jgoodies-1.0.7.jar 
  SwingLayout-0.1.jar
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  
 

-- 
View this message in context: 
http://www.nabble.com/generate-JAR-and-all-dependecy-jars-to-a-folder-automatically-tf2684377s177.html#a7516963
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



generate JAR and all dependecy jars to a folder automatically

2006-11-22 Thread thorsten
Hi,

is there any possibility with maven (or a different tool) to create a folder 
with the JAR of the project and all necessary JAR dependency files to run the 
application?
Right now i have to copy the other JAR files manually ;-(

Regards,
Thorsten

example:

pom.xml
?xml version=1.0?
project
  modelVersion4.0.0/modelVersion
  groupIdgroup/groupId
  artifactIdemu/artifactId
  nameEmu/name
  version1.0/version

 dependencies
dependency
  groupIdjava_help/groupId
  artifactIdjava_help/artifactId
  version2.0_02/version
/dependency
dependency
  groupIdjgoodies/groupId
  artifactIdforms/artifactId
  version1.0.7/version
/dependency
dependency
  groupIdSwingLayout/groupId
  artifactIdSwingLayout/artifactId
  version0.1/version
/dependency
 /dependencies


result:

   emu-1.0.jar
lib
 java_help-2.0_02.jar
 jgoodies-1.0.7.jar 
 SwingLayout-0.1.jar

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: generate JAR and all dependecy jars to a folder automatically

2006-11-22 Thread Martin Vysny
On Wed, 2006-11-22 at 10:20 +0100, [EMAIL PROTECTED] wrote:
 Hi,
 
 is there any possibility with maven (or a different tool) to create a folder 
 with the JAR of the project and all necessary JAR dependency files to run the 
 application?
 Right now i have to copy the other JAR files manually ;-(
 

http://maven.apache.org/plugins/maven-assembly-plugin


 Regards,
 Thorsten
 
 example:
 
 pom.xml
 ?xml version=1.0?
 project
   modelVersion4.0.0/modelVersion
   groupIdgroup/groupId
   artifactIdemu/artifactId
   nameEmu/name
   version1.0/version
 
  dependencies
 dependency
   groupIdjava_help/groupId
   artifactIdjava_help/artifactId
   version2.0_02/version
 /dependency
 dependency
   groupIdjgoodies/groupId
   artifactIdforms/artifactId
   version1.0.7/version
 /dependency
 dependency
   groupIdSwingLayout/groupId
   artifactIdSwingLayout/artifactId
   version0.1/version
 /dependency
  /dependencies
 
 
 result:
 
emu-1.0.jar
 lib
  java_help-2.0_02.jar
  jgoodies-1.0.7.jar 
  SwingLayout-0.1.jar
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


signature.asc
Description: This is a digitally signed message part