brett       2004/02/26 08:20:59

  Modified:    .        maven.xml
  Log:
  quick workaround for scm:perform-release, which checks out to a clean base directory
  
  Revision  Changes    Path
  1.3       +12 -2     maven-plugins/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/maven.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- maven.xml 8 Oct 2003 15:44:26 -0000       1.2
  +++ maven.xml 26 Feb 2004 16:20:59 -0000      1.3
  @@ -1,4 +1,14 @@
   <project
  -  xmlns:j="jelly:core">
  +  xmlns:ant="jelly:ant"
  +  xmlns:maven="jelly:maven">
   
  -</project>
  \ No newline at end of file
  +  <!-- XXX: must be a nicer way - maybe SCM can read the POM and recursively 
checkout parent directories
  +       project.xml, maven.xml, project.properties, but tag will not be set -->
  +  <!-- perhaps copy extended project.xml into current directory, merge higher 
extends, commit & tag, replace extends
  +       in main POM? -->
  +  <postGoal name="scm:cvs-checkout-project">
  +    <maven:pluginVar plugin="maven-scm-plugin" property="maven.scm.checkout.dir" 
var="dir" />
  +    <ant:copy todir="${dir}/maven-plugins" file="${pom.parent.file}" />
  +  </postGoal>
  +
  +</project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to