You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/04/01 02:49:17 UTC

cvs commit: maven/src/plugins-build/repository plugin.jelly

dion        2003/03/31 16:49:17

  Modified:    src/plugins-build/repository plugin.jelly
  Log:
  ensure directory exists when copying an artifact
  
  Revision  Changes    Path
  1.20      +1 -0      maven/src/plugins-build/repository/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/repository/plugin.jelly,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- plugin.jelly	30 Mar 2003 16:17:19 -0000	1.19
  +++ plugin.jelly	1 Apr 2003 00:49:17 -0000	1.20
  @@ -374,6 +374,7 @@
       <repository:required name="type" value="${type}" />
   
       <j:set var="directory" value="${maven.repo.central.directory}/${groupId}/${type}s/" />
  +    <repository:exec command="mkdir -p ${directory}; chmod g+ws ${directory}; chgrp ${maven.repository.group} ${directory}"/>
       <repository:copy from="${artifact}" toFileOrDir="${directory}" />
   
       <u:file name="${artifact}" var="artifactFile"/>
  
  
  

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