You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tom Huybrechts <to...@gmail.com> on 2006/06/14 21:42:40 UTC

maven ant tasks & snapshot handling

Hi all,

I'm using the maven tasks for ant (2.0.4) to download snapshots from a
repository.

My target looks like this:

	<maven:dependencies pathId="mypath" verbose="true">
		<maven:remoteRepository url="http://myrepository/snapshots">
			<snapShots enabled="true" updatePolicy="always" />
		</maven:remoteRepository>
		<dependency groupId="myGroup" artifactId="myArtifact"
version="1.0.0-SNAPSHOT" />
	</maven:dependencies>

Now my snapshots are downloaded to
~/.m2/repository/myGroup/1.0.0-SNAPSHOT/myArtifact-...jar
(like I would expect). But the mypath-path refers to
~/.m2/repository/myGroup/1.0.0-yyyymmdd.hhmmss/myArtifact-...jar

I didn't find any mention in the JIRA. Am I doing something wrong - I
can't imagine everybody is having this problem ?

Tom

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