o make sure the mapping file gets depository in scope of the project. fix to run inside the reactor

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jvanzyl 2003-02-11 15:40:21 +00:00
parent db75f71895
commit e7773180c2

View File

@ -68,7 +68,7 @@ import java.io.File;
* *
* @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a> * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
* *
* @version $Id: SnapshotResolver.java,v 1.9 2003/02/11 03:49:38 jvanzyl Exp $ * @version $Id: SnapshotResolver.java,v 1.10 2003/02/11 15:40:21 jvanzyl Exp $
*/ */
public class SnapshotResolver public class SnapshotResolver
extends AbstractPomTransformer extends AbstractPomTransformer
@ -123,7 +123,7 @@ public class SnapshotResolver
String url = "http://www.ibiblio.org/maven/" + groupId + "/jars/" + artifactId + "-snapshot-version"; String url = "http://www.ibiblio.org/maven/" + groupId + "/jars/" + artifactId + "-snapshot-version";
File snapshotVersionFile = new File( artifactId + "-snapshot-version" ); File snapshotVersionFile = new File( getProject().getParentFile(), artifactId + "-snapshot-version" );
try try
{ {