Jason van Zyl wrote:

On Sat, 2003-02-22 at 16:00, Huw Roberts wrote:


The version of logkit on ibiblio/maven is 1.0.1. How do we get that updated? Once that is done the check-targets.properties files need to be touched as well - i think this should be a prereq for releasing framework.



http://jakarta.apache.org/turbine/maven/repository-upload.html



Jason:


Attached is a project.xml and maven.xml that I use to build logkit. Some important points:

 * groupId is set to "avalon"
 * id is set to "avalon-logkit"

To actually use maven to build an equivalent distribution one would need a slightly modified java POM (updated to handle jar manifest for extension The maven.xml file includes declaration of a few extra properties needed for the manifgest generation together with expansion of the source path to include the compat src tree.

The binary download is available at:

http://www.apache.org/dist/avalon/logkit/latest/

To be consistent with the project defintion the jar file included in the dowwbload should be renamed to avalon-logkit-1.2.jar.

Cheers, Steve.

Licensing stuff has already been taken care of.



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



--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net


<project default="java:jar" xmlns:maven="jelly:maven" xmlns:j="jelly:core" xmlns:util="jelly:util">

  <property name="maven.checkstyle.properties" value="checkstyle.properties"/>
  <property name="pom.organization.identifier" value="ASF"/>
  <property name="j2se.link" value="http://java.sun.com/j2se/1.4/docs/api/"/>
  <property name="maven.javadoc.links" value="${j2se.link}"/>
  <property name="pom.specificationVersion" value="1.0"/>

  <preGoal name="java:prepare-filesystem">
    <echo>Adding src/compat sources to maven compile path.</echo>
    <path id="logkit.compat.path">
      <pathelement location="${basedir}/src/compat"/>
    </path>
    <maven:addPath id="maven.compile.src.set" refid="logkit.compat.path"/>
  </preGoal>

</project>
<?xml version="1.0" encoding="ISO-8859-1"?>

<project>

  <pomVersion>3</pomVersion>
  <groupId>avalon</groupId>
  <id>avalon-logkit</id>
  <name>Avalon Logkit</name>
  <currentVersion>1.2</currentVersion>
  <organization>
    <name>Apache Software Foundation</name>
    <url>http://jakarta.apache.org/</url>
  </organization>
  <inceptionYear>1997</inceptionYear>
  <package>org.apache.log</package>

  <gumpRepositoryId>jakarta</gumpRepositoryId>
  <description>Avalon Logkit</description>
  <shortDescription>Avalon Logkit</shortDescription>

  <url>http://avalon.apache.org/logkit/</url>
  <issueTrackingUrl>http://nagoya.apache.org/</issueTrackingUrl>
  <siteAddress>avalon.apache.org/logkit</siteAddress>
  <siteDirectory></siteDirectory>
  <distributionDirectory></distributionDirectory>

  <repository>
    <connection>scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:avalon-logkit</connection>
    <url>http://cvs.apache.org/viewcvs/avalon-logkit/</url>
  </repository>

  <mailingLists>
    <mailingList>
      <name>Avalon Dev List</name>
      <subscribe>[EMAIL PROTECTED]</subscribe>
      <unsubscribe>[EMAIL PROTECTED]</unsubscribe>
      <archive>http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]</archive>
    </mailingList>
    <mailingList>
      <name>Avalon User List</name>
      <subscribe>[EMAIL PROTECTED]</subscribe>
      <unsubscribe>[EMAIL PROTECTED]</unsubscribe>
      <archive>http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]</archive>
    </mailingList>
  </mailingLists>

  <developers>
    <developer>
      <name>Marcus Crafter</name>
      <id>crafterm</id>
      <email>[EMAIL PROTECTED]</email>
    </developer>
    <developer>
      <name>Peter Donald</name>
      <id>donaldp</id>
      <email>[EMAIL PROTECTED]</email>
    </developer>
    <developer>
      <name>Berin Loritsch</name>
      <id>bloritsch</id>
      <email>[EMAIL PROTECTED]</email>
    </developer>
    <developer>
      <name>Stephen McConnell</name>
      <id>mcconnell</id>
      <email>[EMAIL PROTECTED]</email>
      <organization><a href="http://www.osm.net";>OSM</a></organization>
    </developer>
    <developer>
      <name>Leif Mortenson</name>
      <id>leif</id>
      <email>[EMAIL PROTECTED]</email>
    </developer>
    <developer>
      <name>Eung-ju Park</name>
      <id>colus</id>
      <email>[EMAIL PROTECTED]</email>
    </developer>
    <developer>
      <name>Peter Royal</name>
      <id>proyal</id>
      <email>[EMAIL PROTECTED]</email>
    </developer>
    <developer>
      <name>Leo Simons</name>
      <id>leosimons</id>
      <email>[EMAIL PROTECTED]</email>
    </developer>
    <developer>
      <name>Leo Sutic</name>
      <id>leosutic</id>
      <email>[EMAIL PROTECTED]</email>
    </developer>
    <developer>
      <name>Jeff Turner</name>
      <id>jefft</id>
      <email>[EMAIL PROTECTED]</email>
    </developer>
  </developers>

  <contributors>
    <contributor>
      <name>Rajendra Ghorpade</name>
      <email>[EMAIL PROTECTED]</email>
    </contributor>
    <contributor>
      <name>Jeremias Maerki</name>
      <email>[EMAIL PROTECTED]</email>
    </contributor>
    <contributor>
      <name>Stuart Roebuck</name>
      <email>[EMAIL PROTECTED]</email>
    </contributor>
    <contributor>
      <name>Tommy Santoso</name>
      <email>[EMAIL PROTECTED]</email>
    </contributor>
    <contributor>
      <name>Bian Tan</name>
      <email>[EMAIL PROTECTED]</email>
    </contributor>
    <contributor>
      <name>Mircea Toma</name>
      <email>[EMAIL PROTECTED]</email>
    </contributor>
    <contributor>
      <name>Martin Van der Vyver</name>
      <email>[EMAIL PROTECTED]</email>
    </contributor>
    <contributor>
      <name>Sylvain Wallez</name>
      <id>sylvain</id>
      <email>[EMAIL PROTECTED]</email>
    </contributor>
    <contributor>
      <name>Mark Woon</name>
      <email>[EMAIL PROTECTED]</email>
    </contributor>
  </contributors>

  <dependencies>
    
    <dependency>
      <id>javamail</id>
      <version>1.2</version>
    </dependency>

    <dependency>
      <id>servletapi</id>
      <version>2.3</version>
    </dependency>

    <dependency>
      <id>jms</id>
      <version>1.0.2b</version>
    </dependency>

    <dependency>
      <id>log4j</id>
      <version>1.2.7</version>
    </dependency>

  </dependencies>

  <build>
    <nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
    <sourceDirectory>src/java</sourceDirectory>
    <unitTestSourceDirectory>src/test</unitTestSourceDirectory>

    <sourceModifications>
      <sourceModification>
        <className>javax.sql.DataSource</className>
        <excludes>
          <exclude>org/apache/log/output/db/**</exclude>
          <exclude>org/apache/log/output/test/DBTargetTestCase</exclude>
        </excludes>
      </sourceModification>
    </sourceModifications>

    <!-- Unit test classes -->

    <unitTest>
      <includes>
        <include>**/*TestCase.java</include>
      </includes>
      <excludes>
        <exclude>**/Abstract*TestCase.java</exclude>
        <exclude>**/DBTargetTestCase.java</exclude>
      </excludes>
      <resources>
        <resource>
          <directory>src/test</directory> 
          <includes> 
            <include>**/*.properties</include> 
          </includes>
        </resource>
      </resources>
    </unitTest>

  </build>

</project>

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

Reply via email to