vmassol     2003/09/20 12:58:14

  Added:       framework project.xml maven.xml project.properties
               .        project.properties maven.xml
  Log:
  First commit related to the Maven build. This is just an experiment in progress at 
this stage.
  
  Revision  Changes    Path
  1.1                  jakarta-cactus/framework/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0"?>
  <project>
    <extend>${basedir}/../default-project.xml</extend>
    <id>jakarta-cactus-framework</id>
    <name>Jakarta Cactus Framework</name>
    <dependencies>
      <dependency>
        <groupId>aspectj</groupId>
        <artifactId>aspectjrt</artifactId>
        <version>1.0.6</version>
        <url>http://www.eclipse.org/aspectj/</url>
      </dependency>
      <dependency>
        <groupId>aspectj</groupId>
        <artifactId>aspectj-tools</artifactId>
        <version>1.0.6</version>
        <url>http://www.eclipse.org/aspectj/</url>
      </dependency>
      <dependency>
        <groupId>aspectj</groupId>
        <artifactId>aspectj-ant</artifactId>
        <version>1.0.6</version>
        <url>http://www.eclipse.org/aspectj/</url>
      </dependency>
      <dependency>
        <groupId>commons-httpclient</groupId>
        <artifactId>commons-httpclient</artifactId>
        <version>2.0-rc1</version>
        <url>http://jakarta.apache.org/commons/httpclient/</url>
      </dependency>   
      <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.0.3</version>
        <url>http://jakarta.apache.org/commons/logging.html</url>
      </dependency>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <id>junit</id>
        <version>3.8.1</version>
        <url>http://junit.org</url>
      </dependency>
      <dependency>
        <groupId>httpunit</groupId>
        <artifactId>httpunit</artifactId>
        <version>1.5.4</version>
        <url>http://www.httpunit.org/</url>
      </dependency>
      <dependency>
        <groupId>servletapi</groupId>
        <artifactId>servletapi</artifactId>
        <version>2.3</version>
      </dependency>
    </dependencies>
    <build>
      <!-- TODO: Fix this - Aspects need to be moved to a specific source
           directory -->
      <aspectSourceDirectory>src/java/share</aspectSourceDirectory>
  
      <!-- Unit test cases -->
      <!-- TODO: Fix this (format is wrong I think). Also the TestAll should
           be excluded, not included -->
      <unitTest>
        <includes>
          <include>org/apache/cactus/TestAll.java</include>
        </includes>
      </unitTest>
                
    </build>
  
  </project>
  
  
  
  1.1                  jakarta-cactus/framework/maven.xml
  
  Index: maven.xml
  ===================================================================
  <project
    default="jar"
    xmlns:j="jelly:core"
    xmlns:u="jelly:util"
    xmlns:maven="jelly:maven">
  
    <preGoal name="java:compile">
      <path id="maven.j2ee.compile.src.set"
          location="${pom.build.sourceDirectory}/../j2ee${cactus.j2ee.version}"/>
      <maven:addPath id="maven.compile.src.set" 
          refid="maven.j2ee.compile.src.set"/>
    </preGoal>
  
    <preGoal name="jar:jar">
      <j:set var="maven.final.name" 
          value="${maven.final.name}-j2ee${cactus.j2ee.version}"/>
    </preGoal>
  
  </project>
  
  
  
  1.1                  jakarta-cactus/framework/project.properties
  
  Index: project.properties
  ===================================================================
  # Default properties for the Maven build. You can override these properties
  # either by defining a build.properties file with the overriden properties
  # or by passing them on the command line as system parameters (-D).
  
  # J2EE API version to use. Valid values are: 12 or 13
  cactus.j2ee.version=13
  
  
  
  1.1                  jakarta-cactus/project.properties
  
  Index: project.properties
  ===================================================================
  # Default properties for the Maven build. You can override these properties
  # either by defining a build.properties file with the overriden properties
  # or by passing them on the command line as system parameters (-D).
  
  # J2EE API version to use. Valid values are: 12 or 13
  cactus.j2ee.version=13
  
  
  
  1.1                  jakarta-cactus/maven.xml
  
  Index: maven.xml
  ===================================================================
  <project
    default="cactus-build:jar"
    xmlns:j="jelly:core"
    xmlns:maven="jelly:maven">
    
    <!--
       ========================================================================
         Package all Cactus modules.
       ========================================================================
    -->
    <goal name="cactus-build:jar">
      
      <maven:reactor
        basedir="${basedir}"
        includes="*/project.xml,samples/*/project.xml"
        goals="jar:jar"
        banner="Building"
        ignoreFailures="false"
      />
  
    </goal>
  
    <!--
       ========================================================================
         Clean all Cactus modules.
       ========================================================================
    -->
    <goal name="cactus-build:clean">
  
      <maven:reactor
        basedir="${basedir}"
        includes="*/project.xml,samples/*/project.xml"
        goals="clean"
        banner="Cleaning"
        ignoreFailures="false"
      />
  
    </goal>
  
    <!--
       ========================================================================
         Create the web site.
       ========================================================================
    -->
    <goal name="cactus-build:site">
  
      <maven:reactor
        basedir="${basedir}"
        includes="*/project.xml,samples/*/project.xml"
        goals="site"
        banner="Generating site"
        ignoreFailures="false"
      />
  
    </goal>
    
  </project>
  
  
  

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

Reply via email to