geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/specs/j2ee maven.xml
Date Mon, 02 Aug 2004 23:50:24 GMT
djencks     2004/08/02 16:50:24

  Modified:    specs/j2ee maven.xml
  Log:
  Allow execution from multiproject
  
  Revision  Changes    Path
  1.4       +11 -57    incubator-geronimo/specs/j2ee/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/specs/j2ee/maven.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- maven.xml	10 Mar 2004 09:59:42 -0000	1.3
  +++ maven.xml	2 Aug 2004 23:50:23 -0000	1.4
  @@ -23,7 +23,7 @@
       xmlns:j="jelly:core"
       xmlns:ant="jelly:ant">
   
  -    <goal name="default">
  +    <goal name="jar:jar">
           <ant:available property="jarExsts" file="${basedir}/target/${pom.artifactId}-${pom.currentVersion}.jar"/>
           <j:if test="${jarExsts}">
               <j:forEach var="artifact" items="${pom.artifacts}">
  @@ -48,62 +48,16 @@
                   </j:forEach>
               </ant:jar>
           </j:if>
  -
  -        <!-- install jar -->
  -        <ant:property name="jardir__" value="${maven.repo.local}/${pom.artifactDirectory}/jars"/>
  -        <ant:mkdir dir="${jardir__}"/>
  -        <ant:copy
  -            file="${basedir}/target/${pom.artifactId}-${pom.currentVersion}.jar"
  -            todir="${jardir__}"
  -            overwrite="false"
  -            />
       </goal>
   
  -    <!-- ================= -->
  -    <!-- Global Properties -->
  -    <!-- ================= -->
  -
  -    <!-- Determine what the top-level project root is -->
  -    <j:set var="project.root" value="${pom.parentBasedir().getParentFile().getCanonicalFile()}"/>
  -
  -    <!-- Load the global properties -->
  -    <ant:property file="${project.root}/etc/global.properties"/>
  -
  +    <!-- install jar - ->
  +    <ant:property name="jardir__" value="${maven.repo.local}/${pom.artifactDirectory}/jars"/>
  +    <ant:mkdir dir="${jardir__}"/>
  +    <ant:copy
  +        file="${basedir}/target/${pom.artifactId}-${pom.currentVersion}.jar"
  +        todir="${jardir__}"
  +        overwrite="false"
  +        />
  +</goal-->
   
  -    <!-- ==================== -->
  -    <!-- Default Global Goals -->
  -    <!-- ==================== -->
  -
  -    <goal name="build">
  -        <attainGoal name="default"/>
  -    </goal>
  -
  -    <goal name="rebuild">
  -        <attainGoal name="clean"/>
  -        <attainGoal name="build"/>
  -    </goal>
  -
  -    <!-- Remove the log files -->
  -    <goal name="clobber"
  -        description="Removes all (non-repository installed) build generated files">
  -
  -        <!-- Let clean:clean do some work first -->
  -        <attainGoal name="clean:clean"/>
  -
  -        <j:jelly xmlns="jelly:ant">
  -            <delete quiet="false" failonerror="false">
  -                <fileset dir="${basedir}">
  -                    <include name="maven.log"/>
  -                    <include name="velocity.log*"/>
  -                    <include name="junit*.properties"/>
  -                </fileset>
  -            </delete>
  -        </j:jelly>
  -
  -    </goal>
  -
  -    <goal name="clover.wrapper">
  -        <!-- no src/test, don't run clover -->
  -        <!--attainGoal name="clover"/-->
  -    </goal>
   </project>
  
  
  

Mime
View raw message