Hi there..

Glad to see that you're starting with maven..

A SNAPSHOT version defines work in progress.

It's good practice to use a version like "1.0-SNAPSHOT" when you've net yet
reached the "1.0" milestone release.
As soon as you've reached your milestone and released a "1.0" version, you
start working on version "1.1-SNAPSHOT" for example..
When you see a POM or artifact with "SNAPSHOT" in its version, you know it's
work in progress and the build results might not be reproducible.

If you stick with this versioning pattern maven will check all your
dependencies and alert you when you have SNAPSHOT dependencies before
allowing a release to succeed.
This is again to prevent unreproducible builds..

If you want to learn more about maven, check the website's documentation and
mergere.com's "Better Builds With Maven" ebook which is full of tips to get
you on your way quickly..

Good luck
Jo


On 2/25/07, 신상재 <[EMAIL PROTECTED]> wrote:

I'm a beginner for maven.
I tried first example.

mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app

It works, displayed like this.

....
[INFO]

----------------------------------------------------------------------------
[INFO] Using following parameters for creating Archetype:
maven-archetype-quickstart:RELEASE
[INFO]

----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.mycompany.app
[INFO] Parameter: packageName, Value: com.mycompany.app
[INFO] Parameter: package, Value: org.codelabor.app
[INFO] Parameter: artifactId, Value: my-app
[INFO] Parameter: basedir, Value: C:\workspace
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
....

But I don't know what does "SNAPSHOT" means on version part.

What is "SNAPSHOT"?

Reply via email to