avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon/merlin maven.xml
Date Sun, 23 Nov 2003 14:30:20 GMT
mcconnell    2003/11/23 06:30:20

  Modified:    merlin   maven.xml
  Log:
  Updated to check for the availablity of the repository plugin and conditionally invoke avalon:artifact
if the plugin is available.
  
  Revision  Changes    Path
  1.10      +7 -1      avalon/merlin/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/maven.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- maven.xml	22 Nov 2003 12:52:55 -0000	1.9
  +++ maven.xml	23 Nov 2003 14:30:20 -0000	1.10
  @@ -5,6 +5,8 @@
     <ant:property name="merlin.bootstrap.jar" value="merlin-bootstrap-1.0.jar"/>
     <ant:property name="merlin.plugin.jar" value="merlin-plugin-1.1-SNAPSHOT.jar"/>
     <ant:property name="meta.plugin.jar" value="avalon-meta-plugin-1.2.jar"/>
  +  <ant:property name="repository.plugin.jar" 
  +    value="avalon-repository-plugin-1.2.1-dev.jar"/>
   
     <ant:property file="project.properties"/>
     <ant:property name="maven.docs.src" value="${basedir}/platform/xdocs"/>
  @@ -398,7 +400,11 @@
     Write a build signature for each package.
     -->
     <preGoal name="java:compile">
  -    <attainGoal name="avalon:artifact"/>
  +    <ant:available file="${maven.home}/plugins/${repository.plugin.jar}"
  +      property="pluginPresent"/>
  +    <j:if test="${pluginPresent == 'true'}">
  +      <attainGoal name="avalon:artifact"/>
  +    </j:if>
     </preGoal>
   
   </project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message