Hello,

 

I have the issue, that maven does not add the time information of
snapshot artifacts to the class path.

For example 

[INFO] [dependency:build-classpath {execution: default-cli}]

[INFO] Dependencies classpath:

/home/xxx/.m2/repository/com/foo/1.0.0-SNAPSHOT/bar-1.0.0-SNAPSHOT.jar

Instead of

/home/xxx/.m2/repository/com/foo/1.0.0-SNAPSHOT/bar-1.0.0-20100414.07231
6-19.jar

 

As result of this a build using this snapshot dependency gets a
java.lang.ClassNotFoundException when another build replaces the
bar-1.0.0-SNAPSHOT.jar

 

What can I do to make maven also add the time information of snapshots
to the class path?

 

Thanks for your help

 

------------------

I am Using:

Suse Linux 11.2 

Maven 2.2.1

Reply via email to