Author | Message |
---|---|
lishenyu
Posts: 103
|
Posted 23:46 Jan 19, 2015 |
Hi, For creating a zip file of a project as required in step1 , what's the difference between using mvn package (Assembly goal ) and ~Export -> General -> Archive File -> Save in zip format? Thanks! |
dguhath
Posts: 61
|
Posted 23:58 Jan 19, 2015 |
Maven here can automate every aspect of the entire build procedure. There are a number of other things that we can do after the packaging like say deploy the artifact to an online repository. If we do it through eclipse we have to do each step separately and manually. That's one point I can think of. |
cysun
Posts: 2935
|
Posted 08:43 Jan 20, 2015 |
And it's more efficient - no need to specify which files/directories to include every time. And it does not require a specific IDE - you can do it on any platform, with or without GUI. And probably most importantly, it's now integrated into an automated build process so you don't need to manually use one tool to preprocess, another tool to copy files, another tool to compile, another tool to package, ..., and so on. |
lishenyu
Posts: 103
|
Posted 15:13 Jan 21, 2015 |
doctor, in the description " Note that only source files should be version controlled " does this mean that under trunk folder ,should only have src folder and a pom.xml ,no other files ? |
cysun
Posts: 2935
|
Posted 16:48 Jan 21, 2015 |
Yes. And don't post the same question everywhere. |