Talk:Maven
From APIDesign
Comments on Maven <comments />
Contents |
Dimiter Makariev said ...
Anuradha said ...
did you try out Maven Assembly Plugin
http://maven.apache.org/plugins/maven-assembly-plugin/
--Anuradha 04:43, 14 September 2009 (CEST)
btilford said ...
You probably want to look at maven assemblies and the maven book. http://www.sonatype.com/books/maven-book/reference/assemblies.html
--btilford 05:35, 14 September 2009 (CEST)
mkleint said ...
your time would probably be better spent by reading the Maven book to learn about Maven than writing this blog entry..
--mkleint 07:45, 14 September 2009 (CEST)
nick said ...
What you want to look at is the assembly plugin. While I don't think it will give you a zip file, it will let you pack everything into a JAR and for a executable JAR that can be downloaded. It handles extracting all your dependencies and putting them in place.
Looking for something like this: <artifactId>maven-assembly-plugin</artifactId>
<configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs>
....
Hope this helps!
--nick 15:16, 14 September 2009 (CEST)
Chris said ...
Check out the assembly plugin
--Chris 16:50, 14 September 2009 (CEST)
hohonuuli said ...
Maven does support packaging of compound zips. See http://maven.apache.org/plugins/maven-assembly-plugin/
--hohonuuli 18:52, 14 September 2009 (CEST)
Hi, probably a good idea is to try the maven assembly plugin : http://maven.apache.org/plugins/maven-assembly-plugin/features.html also take a look at : http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html Better Builds with Maven is great book : http://www.maestrodev.com/better-build-maven and last but not least : you can always go back to ant with the Maven ant plugin : http://maven.apache.org/plugins/maven-antrun-plugin/
I'm coming from the web development world .. so for a pity I cannot comment on the question about is maven ready for java desktop applications.
Wish you luck with Maven :)
--Dimiter Makariev 02:13, 14 September 2009 (CEST)