geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject cvs commit: incubator-geronimo/applications/jmxdebug maven.xml project.xml
Date Wed, 18 Feb 2004 15:29:30 GMT
geirm       2004/02/18 07:29:30

  Added:       applications/jmxdebug maven.xml project.xml
  Log:
  copied from the console-web.  The war postgoal needs to be fixed, I suppose.
  Just leaving there for reference
  
  Revision  Changes    Path
  1.1                  incubator-geronimo/applications/jmxdebug/maven.xml
  
  Index: maven.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <!-- $Revision: 1.1 $ $Date: 2004/02/18 15:29:30 $ -->
  
  <project default="default"
      xmlns:j="jelly:core"
      xmlns:u="jelly:util"
      xmlns:ant="jelly:ant">
  
      <goal name="default">
          <attainGoal name="war"/>
      </goal>
  
      <!-- generate packages ready to be deployed, if appropriate -->
      <postGoal name="war">
          <ant:available property="geronimoServicePresent" file="${basedir}/src/etc/META-INF/geronimo-service.xml"/>
          <j:if test="${geronimoServicePresent == 'true'}">
              <ant:jar destfile="${basedir}/target/${pom.artifactId}-package-${pom.currentVersion}.jar">
                  <fileset dir="${basedir}/target" includes="${pom.artifactId}-${pom.currentVersion}.jar"/>
                  <fileset dir="${basedir}/target" includes="jmx-debug.war"/>
  
                  <fileset dir="${basedir}/src/etc" includes="META-INF/geronimo-service.xml"/>
                  <j:forEach var="artifact" items="${pom.artifacts}">
                      <j:set var="dependency" value="${artifact.dependency}"/>
                      <j:if test="${dependency.getProperty('package') == 'true'}">
                          <ant:echo>Processing dependency: ${dependency.id}</ant:echo>
                          <fileset file="${artifact.path}"/>
                      </j:if>
                  </j:forEach>
              </ant:jar>
              <ant:property name="jardir__" value="${maven.repo.local}/${pom.artifactDirectory}/jars"/>
              <ant:mkdir dir="${jardir__}"/>
              <ant:copy
                  file="${basedir}/target/${pom.artifactId}-package-${pom.currentVersion}.jar"
                  todir="${jardir__}"
                  overwrite="true"
                  />
          </j:if>
      </postGoal>
  
      <!-- 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>
  </project>
  
  
  
  1.1                  incubator-geronimo/applications/jmxdebug/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <!-- $Revision: 1.1 $ $Date: 2004/02/18 15:29:30 $ -->
  
  <project>
      <pomVersion>3</pomVersion>
      <extend>${basedir}/../../etc/project.xml</extend>
  
      <!-- ===================== -->
      <!-- Module Identification -->
      <!-- ===================== -->
  
      <name>Geronimo :: JMX Debug Webapp</name>
      <id>geronimo-jmxdebug</id>
      <shortDescription></shortDescription>
      <description></description>
      <siteDirectory></siteDirectory>
      <distributionDirectory></distributionDirectory>
  
      <package>org.apache.geronimo.jmxdebug.web</package>
      <currentVersion>DEV</currentVersion>
  
  
      <!-- ============ -->
      <!-- Dependencies -->
      <!-- ============ -->
  
      <dependencies>
  
          <!-- Plugin Dependencies -->
  
          <!-- Module Dependencies -->
  
          <dependency>
              <groupId>geronimo-spec</groupId>
              <artifactId>geronimo-spec-servlet</artifactId>
              <version>DEV</version>
              <properties>
                  <runtime>false</runtime>
              </properties>
          </dependency>
  
  
          <!-- Thirdparty Dependencies -->
          <dependency>
              <groupId>mx4j</groupId>
              <artifactId>mx4j-jmx</artifactId>
              <version>SNAPSHOT</version>
              <url>http://mx4j.sourceforge.net</url>
              <properties>
                  <runtime>false</runtime>
              </properties>
          </dependency>
  
          <dependency>
              <id>velocity</id>
              <version>dep-1.4-rc1</version>
              <url>http://jakarta.apache.org/velocity/</url>
              <properties>
                  <runtime>true</runtime>
                  <war.bundle>true</war.bundle>
              </properties>
          </dependency>
  
      </dependencies>
  
  
      <build>
              <resources>
                  <resource>
                      <directory>${basedir}/src/java</directory>
                      <includes>
                          <include>**/*.xml</include>
                          <include>**/*.properties</include>
                          <include>**/*.defaults</include>
                      </includes>
                  </resource>
              </resources>
      </build>    
  </project>
  
  
  

Mime
View raw message