Hi,

When I am packaging a WAR artifact which indirectly depends on 1.0-SNAPSHOT
version of XYZ.jar, somehow XYZ-1.0<timestamp>.jar is actually packaged
inside the WAR file.
This is happening with some artifacts.

Wouldn't the latest copy of XYZ-1.0<timestamp>.jar get picked up from the
repository and get renamed to XYZ-1.0-SNAPSHOT.jar while packaging ?

What I am doing wrong here?

I am using the following command to deploy...

mvn deploy:deploy-file -DgroupId=<groupId> -DartifactId=XYZ
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
-DrepositoryId=snapshots -Durl=<repURL> -Dfile=<local file path of XYZ.jar>

Thanks,
Venkat


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to