You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by bl...@apache.org on 2003/06/17 18:23:08 UTC
cvs commit: avalon-logkit gump-build.xml maven.xml project.properties project.xml
bloritsch 2003/06/17 09:23:07
Added: . gump-build.xml maven.xml project.properties
project.xml
Log:
add initial Maven support--needs to download Java libs...
Revision Changes Path
1.1 avalon-logkit/gump-build.xml
Index: gump-build.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<project default="warning" name="Gump Build Support - DO NOT HAND-EDIT!!!" basedir=".">
<property file="${basedir}/project.properties"></property>
<target name="need-for-common-build" unless="avalon.buildsystem.available">
<fail>
===================================================================
BUILD SYSTEM FAILURE!
===================================================================
a required file, ${avalon.buildsystem}/maven-common-gump-build.xml,
cannot be found. Try setting the avalon.buildsystem property in
project.properties to the correct location.
</fail>
</target>
<target name="delegate">
<available file="${avalon.buildsystem}/maven-common-gump-build.xml"
property="avalon.buildsystem.available"></available>
<antcall target="need-for-common-build"></antcall>
<ant inheritRefs="true" target="avalon:${target}" antfile="${avalon.buildsystem}/maven-common-gump-build.xml" inheritAll="true"></ant>
</target>
<target name="warning">
<antcall target="delegate">
<param name="target" value="warning"></param>
</antcall>
</target>
<target name="jar">
<antcall target="delegate">
<param name="target" value="jar"></param>
</antcall>
</target>
<target name="javadocs">
<antcall target="delegate">
<param name="target" value="javadocs"></param>
</antcall>
</target>
<target name="dist">
<antcall target="delegate">
<param name="target" value="dist"></param>
</antcall>
</target>
</project>
1.1 avalon-logkit/maven.xml
Index: maven.xml
===================================================================
<?xml version="1.0"?>
<project default="check"
xmlns:j="jelly:core"
xmlns:ant="jelly:ant"
xmlns:deploy="deploy">
<!-- include the avalon-wide custom project properties -->
<property file="${basedir}/project.properties"/>
<goal name="check">
<!-- friendly error in case file is not available -->
<ant:available file="${avalon.buildsystem}/maven-common.xml"
property="buildsystem.available"/>
<j:set var="avalon.buildsystem.available" value="${buildsystem.available}"/>
<j:if test="${empty(avalon.buildsystem.available)}">
<ant:fail>
===================================================================
BUILD SYSTEM FAILURE!
===================================================================
a required file, ${avalon.buildsystem}/maven-common.xml, cannot be
found. Try setting the avalon.buildsystem property in
project.properties to the correct location.
</ant:fail>
</j:if>
</goal>
<!-- include the avalon-wide custom goal decorators from maven-common.xml -->
<j:import file="${avalon.buildsystem}/maven-common.xml" inherit="true"/>
<postGoal name="avalon:deploy-upload">
<!-- upload big jar -->
<ant:exec dir="." executable="${maven.scp.executable}">
<ant:arg line="${scpopts} target/${pom.artifactId}-complete-${pom.currentVersion}.jar ${repo}/${pom.groupId}/jars/"/>
</ant:exec>
</postGoal>
</project>
1.1 avalon-logkit/project.properties
Index: project.properties
===================================================================
# -------------------------------------------------------------------
# P R O J E C T P R O P E R T I E S
# -------------------------------------------------------------------
maven.repo.remote = http://lsd.student.utwente.nl/repository,http://www.apache.org/dist/avalon,http://www.ibiblio.org/maven
maven.junit.fork = yes
# location of the build system
avalon.base = ${basedir}/../avalon
avalon.buildsystem = ${avalon.base}/buildsystem
# gump integration
project.name=logkit
1.1 avalon-logkit/project.xml
Index: project.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<project>
<extend>${avalon.buildsystem}/project-common.xml</extend>
<name>Avalon-LogKit</name>
<id>logkid</id>
<groupId>logkit</groupId>
<currentVersion>1.2.2-dev</currentVersion>
<inceptionYear>2003</inceptionYear>
<shortDescription>The Avalon-LogKit logging utility</shortDescription>
<description>
Avalon LogKit is the logging utility used by default in all Avalon systems.
</description>
<dependencies>
<dependency>
<id>avalon-framework</id>
<version>4.1.4</version>
<groupId>framework</groupId>
</dependency>
<dependency>
<id>log4j</id>
<version>1.2.8</version>
</dependency>
<dependency>
<id>commons-logging</id>
<version>1.0.2</version>
</dependency>
</dependencies>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org