Eric Pugh wrote:
Sorry to interupt your thread here, but can you elaborate a bit, because I couldn't get this to work.You could always add a postGoal to the jar target and rename it.. But why would be my question? I have found that non versioned jar files can lead to lots of confusion on what you are putting into another application... If the challenge is that you just want to always use the latest and greatest and don't care about versioning anything, then specify the version as SNAPSHOT.
Eric
In my lib.jar, do I set my currentVersion to SNAPSHOT? Or just to 1.2-dev or whatever?
In my app.war, do I set my dependency version to SNAPSHOT?
I tried it with lib.jar, currentVersion=1.0-dev, app.war dependency = lib.jar version="SNAPSHOT", but then maven tried to get it from a remote repository, and failed saying it couldn't find lib-SNAPSHOT.jar....lib-1.0-dev.jar was sitting in my local repository, but Maven seemed to ignore it, instead looking for a file literally named lib-SNAPSHOT.jar....
What am I missing? Thanks
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
