maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ogusa...@apache.org
Subject svn commit: r712604 - /maven/mercury/trunk/mercury-repo/mercury-repo-local-m2/src/main/java/org/apache/maven/mercury/repository/local/m2/LocalRepositoryWriterM2.java
Date Mon, 10 Nov 2008 03:50:05 GMT
Author: ogusakov
Date: Sun Nov  9 19:50:05 2008
New Revision: 712604

URL: http://svn.apache.org/viewvc?rev=712604&view=rev
Log:
update file location for write operation

Modified:
    maven/mercury/trunk/mercury-repo/mercury-repo-local-m2/src/main/java/org/apache/maven/mercury/repository/local/m2/LocalRepositoryWriterM2.java

Modified: maven/mercury/trunk/mercury-repo/mercury-repo-local-m2/src/main/java/org/apache/maven/mercury/repository/local/m2/LocalRepositoryWriterM2.java
URL: http://svn.apache.org/viewvc/maven/mercury/trunk/mercury-repo/mercury-repo-local-m2/src/main/java/org/apache/maven/mercury/repository/local/m2/LocalRepositoryWriterM2.java?rev=712604&r1=712603&r2=712604&view=diff
==============================================================================
--- maven/mercury/trunk/mercury-repo/mercury-repo-local-m2/src/main/java/org/apache/maven/mercury/repository/local/m2/LocalRepositoryWriterM2.java
(original)
+++ maven/mercury/trunk/mercury-repo/mercury-repo-local-m2/src/main/java/org/apache/maven/mercury/repository/local/m2/LocalRepositoryWriterM2.java
Sun Nov  9 19:50:05 2008
@@ -255,7 +255,10 @@
       String fName = _repoDir.getAbsolutePath()+'/'+relVersionPath+'/'+artifact.getBaseName()+'.'+artifact.getType();
       
       if( !isPom ) // first - take care of the binary
+      {
         FileUtil.writeAndSign( fName, in, vFacs );
+        artifact.setFile( new File(fName) );
+      }
 
       // GA metadata
       File mdFile = new File( _repoDir, relGroupPath+'/'+_repo.getMetadataName() );



Mime
View raw message