avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject cvs commit: avalon-excalibur/compatibility maven.xml project.xml
Date Fri, 30 May 2003 22:13:55 GMT
leosimons    2003/05/30 15:13:54

  Added:       compatibility maven.xml project.xml
  Log:
  experiment with maven build
  
  Revision  Changes    Path
  1.1                  avalon-excalibur/compatibility/maven.xml
  
  Index: maven.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <!-- maven buildfile customization. We need to do rmi-compilation. -->
  
  <project default="java:jar"
      xmlns:j="jelly:core">
  
      <!-- include the excalibur-wide custom project properties -->
      <property file="${basedir}/project.properties"/>
      <property file="${basedir}/../project.properties"/>
      <property file="${basedir}/../../project.properties"/>
      <property file="${basedir}/../../../project.properties"/>
      <property file="${basedir}/../../../../project.properties"/>
  
      <!-- include the excalibur-wide custom goal decorators from maven-common.xml -->
      <j:import file="../maven-common.xml"
          inherit="true"/>
  
      <!-- ==========================================================
            Compilation
           ========================================================== -->
  
      <postGoal name="java:compile">
          <attainGoal name="excalibur:rmi-compile"/>
      </postGoal>
  
      <goal name="excalibur:rmi-compile"
              description="Compiles the RMI stubs">
  
          <rmic base="${maven.build.dest}"
              classname="org.apache.avalon.excalibur.naming.rmi.server.RMINamingProviderImpl"
              stubVersion="1.2">
              <classpath>
                  <path refid="maven.dependency.classpath"/>
              </classpath>
              <exclude name="**/test/**"/>
          </rmic>
  
          <!-- after this, other maven functionality should
               mostly work as normal... -->
      </goal>
  </project>
  
  
  
  1.1                  avalon-excalibur/compatibility/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <project>
      <!-- please take care to synchronize project.properties
           with this file. -->
      <extend>../project-common.xml</extend>
  
      <name>excalibur-compatibility</name>
      <id>excalibur-compatibility</id>
      <currentVersion>1.2-dev</currentVersion>
      <inceptionYear>1997</inceptionYear>
      <shortDescription>Excalibur Compatibility</shortDescription>
      <description>
          Deprecated materials
      </description>
  
      <dependencies>
          <dependency>
              <id>junit</id>
              <version>3.8.1</version>
              <url>http://www.junit.org/</url>
          </dependency>
      </dependencies>
  
      <build>
          <!-- Unit test cases; need to rule out abstract classes -->
          <unitTest>
              <includes>
                  <include>**/*TestCase.java</include>
              </includes>
              <excludes>
                  <exclude>**/Abstract*</exclude>
              </excludes>
          </unitTest>
      </build>
  
  </project>
  
  

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


Mime
View raw message