werken 2002/06/04 16:30:33
Modified: src/java/org/apache/maven/jelly AntBuildTag.java
MavenTagLibrary.java
Added: src/java/org/apache/maven/jelly MavenInitTag.java
src/scripts/bob build.xml jellaven maven
maven-bootstrap.jelly maven-build.xml maven.jelly
project.properties project.xml
Log:
More Jelly-based experimentation.
Revision Changes Path
1.2 +70 -11
jakarta-turbine-maven/src/java/org/apache/maven/jelly/AntBuildTag.java
Index: AntBuildTag.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/jelly/AntBuildTag.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AntBuildTag.java 4 Jun 2002 03:38:31 -0000 1.1
+++ AntBuildTag.java 4 Jun 2002 23:30:32 -0000 1.2
@@ -60,6 +60,7 @@
import java.io.PrintStream;
import java.util.Enumeration;
+import java.util.Properties;
import java.util.Vector;
import org.apache.commons.jelly.JellyContext;
@@ -70,6 +71,8 @@
import org.apache.tools.ant.Project;
import org.apache.tools.ant.ProjectHelper;
import org.apache.tools.ant.Target;
+import org.apache.tools.ant.BuildLogger;
+import org.apache.tools.ant.NoBannerLogger;
public class AntBuildTag
extends TagSupport
@@ -78,6 +81,20 @@
* Ant build file.
*/
private String buildFile;
+
+ /**
+ * Message verbosity level.
+ */
+ private String msgLevel;
+
+ private String target;
+
+ private boolean emacsMode;
+
+ public AntBuildTag()
+ {
+ this.msgLevel = "info";
+ }
/**
* Set the Ant build file.
@@ -87,6 +104,41 @@
this.buildFile = buildFile;
}
+ public String getBuildFile()
+ {
+ return this.buildFile;
+ }
+
+ public void setMsgLevel(String msgLevel)
+ {
+ this.msgLevel = msgLevel;
+ }
+
+ public String getMsgLevel()
+ {
+ return this.msgLevel;
+ }
+
+ public void setTarget(String target)
+ {
+ this.target = target;
+ }
+
+ public String getTarget()
+ {
+ return this.target;
+ }
+
+ public void setEmacsMode(boolean emacsMode)
+ {
+ this.emacsMode = emacsMode;
+ }
+
+ public boolean getEmacsMode()
+ {
+ return this.emacsMode;
+ }
+
/**
* Description of the Method
*/
@@ -110,29 +162,36 @@
{
PrintStream err = System.err;
PrintStream out = System.out;
-
+
try
{
- Project project = new Project();
- project.init();
- project.setUserProperty( "ant.file", buildFile );
+ File buildFile = new File( getBuildFile() );
+
+ Project project = (Project) context.getParent().getVariable(
"ant-project" );
+
+ project.setUserProperty("ant.file" , buildFile.getAbsolutePath() );
+
Class.forName( "javax.xml.parsers.SAXParserFactory" );
- ProjectHelper.configureProject( project, new File( buildFile ));
-
- //Vector targets = project.getTargets().elements();
- // We will try this with the default target for now.
+
+ ProjectHelper.configureProject( project,
+ buildFile );
+
Vector targets = new Vector();
- // make sure that we have a target to execute
- if (targets.size() == 0)
+ if ( getTarget() == null )
+ {
+ targets.addElement( project.getDefaultTarget() );
+ }
+ else
{
- targets.addElement(project.getDefaultTarget());
+ targets.addElement( getTarget() );
}
project.executeTargets(targets);
}
catch( Exception e )
{
+ e.printStackTrace();
}
}
}
1.4 +2 -1
jakarta-turbine-maven/src/java/org/apache/maven/jelly/MavenTagLibrary.java
Index: MavenTagLibrary.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/jelly/MavenTagLibrary.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- MavenTagLibrary.java 4 Jun 2002 03:38:31 -0000 1.3
+++ MavenTagLibrary.java 4 Jun 2002 23:30:32 -0000 1.4
@@ -62,7 +62,7 @@
* Maven tag library for use in Jelly scripts.
*
* @author <a href="[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: MavenTagLibrary.java,v 1.3 2002/06/04 03:38:31 jvanzyl Exp $
+ * @version $Id: MavenTagLibrary.java,v 1.4 2002/06/04 23:30:32 werken Exp $
*/
public class MavenTagLibrary
extends CoreTagLibrary
@@ -71,5 +71,6 @@
{
registerTag( "pom", PomTag.class );
registerTag( "build", AntBuildTag.class );
+ registerTag( "init", MavenInitTag.class );
}
}
1.1
jakarta-turbine-maven/src/java/org/apache/maven/jelly/MavenInitTag.java
Index: MavenInitTag.java
===================================================================
package org.apache.maven.jelly;
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The end-user documentation included with the redistribution,
* if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
*
* 4. The names "Apache" and "Apache Software Foundation" and
* "Apache Maven" must not be used to endorse or promote products
* derived from this software without prior written permission. For
* written permission, please contact [EMAIL PROTECTED]
*
* 5. Products derived from this software may not be called "Apache",
* "Apache Maven", nor may "Apache" appear in their name, without
* prior written permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
*
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
* ====================================================================
*/
import java.io.File;
import org.apache.commons.jelly.JellyContext;
import org.apache.commons.jelly.MissingAttributeException;
import org.apache.commons.jelly.TagSupport;
import org.apache.commons.jelly.XMLOutput;
import org.apache.commons.jelly.tags.ant.AntTagLibrary;
// import org.apache.maven.MavenUtils;
// import org.apache.maven.project.Project;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.BuildLogger;
import org.apache.tools.ant.NoBannerLogger;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
public class MavenInitTag
extends TagSupport
{
/**
* Maven project descriptor.
*/
private String projectDescriptor;
private String dir;
/**
* Maven POM
*/
private Project project;
private Properties props;
/**
* Set Maven project descriptor.
*/
public void setProjectDescriptor(String projectDescriptor)
{
this.projectDescriptor = projectDescriptor;
}
public void setDir(String dir)
{
this.dir = dir;
}
public String getDir()
{
return this.dir;
}
/**
* Description of the Method
*/
public void doTag(XMLOutput output)
throws Exception
{
Properties props = new Properties();
Project project = new Project();
BuildLogger logger = new NoBannerLogger();
logger.setMessageOutputLevel( Project.MSG_INFO );
logger.setOutputPrintStream( System.out );
logger.setErrorPrintStream( System.err);
project.addBuildListener( logger );
project.init();
context.registerTagLibrary( "jelly:ant", new AntTagLibrary(project) );
context.setVariable( "ant-project",
project );
}
}
1.1 jakarta-turbine-maven/src/scripts/bob/build.xml
Index: build.xml
===================================================================
<?xml version="1.0"?>
<project name="maven" default="test" basedir=".">
<target
name="test">
<touch file="touched-file-by-ant"/>
<echo>
Hello! I'm an Ant build being run from Jelly!
</echo>
</target>
<target name="maven:env">
<echo>
maven.home = ${maven.home}
lib.repo = ${lib.repo}
cheese = ${maven.cheese}
</echo>
</target>
</project>
1.1 jakarta-turbine-maven/src/scripts/bob/jellaven
Index: jellaven
===================================================================
#!/bin/sh
./maven maven-bootstrap.jelly $*
1.1 jakarta-turbine-maven/src/scripts/bob/maven
Index: maven
===================================================================
#! /bin/sh
# Copyright (c) 2001-2002 The Apache Software Foundation. All rights
# reserved.
MAVEN_OPTS="-Xmx128m"
if [ -f "$HOME/.mavenrc" ] ; then
. $HOME/.mavenrc
fi
# OS specific support. $var _must_ be set to either true or false.
cygwin=false;
darwin=false;
case "`uname`" in
CYGWIN*) cygwin=true ;;
Darwin*) darwin=true ;;
esac
if [ -z "$MAVEN_HOME" ] ; then
# try to find ANT
if [ -d /opt/ant ] ; then
MAVEN_HOME=/opt/ant
fi
if [ -d ${HOME}/opt/ant ] ; then
MAVEN_HOME=${HOME}/opt/ant
fi
## resolve links - $0 may be a link to ant's home
PRG=$0
progname=`basename $0`
saveddir=`pwd`
# need this for relative symlinks
cd `dirname $PRG`
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '.*/.*' > /dev/null; then
PRG="$link"
else
PRG="`dirname $PRG`/$link"
fi
done
MAVEN_HOME=`dirname "$PRG"`/..
# make it fully qualified
MAVEN_HOME=`cd "$MAVEN_HOME" && pwd`
cd $saveddir
fi
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$MAVEN_HOME" ] &&
MAVEN_HOME=`cygpath --unix "$MAVEN_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD=$JAVA_HOME/jre/sh/java
else
JAVACMD=$JAVA_HOME/bin/java
fi
else
JAVACMD=java
fi
fi
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly."
echo " We cannot execute $JAVACMD"
exit
fi
if [ -n "$CLASSPATH" ] ; then
LOCALCLASSPATH=$CLASSPATH
fi
# add in the dependency .jar files
DIRLIBS=${MAVEN_HOME}/lib/*.jar
for i in ${DIRLIBS}
do
# if the directory is empty, then it will return the input string
# this is stupid, so case for it
if [ "$i" != "${DIRLIBS}" ] ; then
if [ -z "$LOCALCLASSPATH" ] ; then
LOCALCLASSPATH=$i
else
LOCALCLASSPATH="$i":$LOCALCLASSPATH
fi
fi
done
if [ -n "$JAVA_HOME" ] ; then
if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then
LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar
fi
if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then
LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip
fi
# OSX hack to make Ant work with jikes
if $darwin ; then
OSXHACK="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes"
if [ -d ${OSXHACK} ] ; then
for i in ${OSXHACK}/*.jar
do
JIKESPATH=$JIKESPATH:$i
done
fi
fi
else
echo "Warning: JAVA_HOME environment variable is not set."
echo " If build fails because sun.* classes could not be found"
echo " you will need to set the JAVA_HOME environment variable"
echo " to the installation directory of java."
fi
# supply JIKESPATH to Ant as jikes.class.path
if [ -n "$JIKESPATH" ] ; then
if [ -n "$MAVEN_OPTS" ] ; then
MAVEN_OPTS="$MAVEN_OPTS -Djikes.class.path=$JIKESPATH"
else
MAVEN_OPTS=-Djikes.class.path=$JIKESPATH
fi
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
MAVEN_HOME=`cygpath --path --windows "$MAVEN_HOME"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"`
fi
echo $LOCALCLASSPATH
$JAVACMD -classpath "$LOCALCLASSPATH" -Dmaven.home="${MAVEN_HOME}" $MAVEN_OPTS \
org.apache.commons.jelly.Jelly $MAVEN_ARGS "$@"
1.1 jakarta-turbine-maven/src/scripts/bob/maven-bootstrap.jelly
Index: maven-bootstrap.jelly
===================================================================
<jelly:jelly
xmlns:jelly="jelly:core"
xmlns:def="jelly:define"
xmlns:maven="jelly:org.apache.maven.jelly.MavenTagLibrary">
<maven:init dir="./"/>
<jelly:include uri="maven.jelly"/>
</jelly:jelly>
1.1 jakarta-turbine-maven/src/scripts/bob/maven-build.xml
Index: maven-build.xml
===================================================================
<?xml version="1.0"?>
<project name="maven-internal" default="init" basedir=".">
<target
name="init">
<property file="${user.home}/build.properties"/>
<property file="build.properties"/>
<property file="project.properties"/>
</target>
</project>
1.1 jakarta-turbine-maven/src/scripts/bob/maven.jelly
Index: maven.jelly
===================================================================
<jelly:jelly
xmlns:ant="jelly:ant"
xmlns:jelly="jelly:core"
xmlns:util="maven:util"
xmlns:maven="jelly:org.apache.maven.jelly.MavenTagLibrary">
<maven:build buildFile="maven-build.xml" target="init" msgLevel="info" />
<jelly:forEach
var="arg"
items='${context.parent.getVariable("args")}'
begin="1">
<jelly:set var="build_file" value="maven-build.xml"/>
<jelly:set var="build_target" value=""/>
<jelly:choose>
<jelly:when test='${arg == "maven:compile"}'>
<jelly:set var="build_target" value="${arg}"/>
</jelly:when>
<jelly:when test='${arg == "maven:jar"}'>
<jelly:set var="build_target" value="${arg}"/>
</jelly:when>
<jelly:otherwise>
<jelly:set var="build_target" value="${arg}"/>
<jelly:set var="build_file" value="build.xml"/>
</jelly:otherwise>
</jelly:choose>
<jelly:expr value="${build_file}"/> : <jelly:expr value="${build_target}"/>
</jelly:forEach>
</jelly:jelly>
1.1 jakarta-turbine-maven/src/scripts/bob/project.properties
Index: project.properties
===================================================================
maven.cheese = gouda ${maven.home}
1.1 jakarta-turbine-maven/src/scripts/bob/project.xml
Index: project.xml
===================================================================
<?xml version="1.0"?>
<project>
<pomVersion>3</pomVersion>
<name>jakarta-turbine-maven</name>
<id>maven</id>
<currentVersion>1.0-b5-dev</currentVersion>
<organization>
<name>Apache Software Foundation</name>
<url>http://jakarta.apache.org/</url>
<logo>/images/jakarta-logo-blue.gif</logo>
</organization>
<inceptionYear>2001</inceptionYear>
<package>org.apache.maven</package>
<logo>/images/maven.jpg</logo>
<shortDescription>Java Project Management Tools</shortDescription>
<!-- Gump integration -->
<gumpRepositoryId>jakarta</gumpRepositoryId>
<description>
Maven is a project management and project comprehension tool. Maven
is based on the concept of a project object model: builds, documentation
creation, site publication, and distribution publication are all
controlled from the project object model. Maven also provides tools
to create source metrics, change logs based directly on source
repository, and source cross-references.
</description>
<url>http://jakarta.apache.org/turbine/maven/</url>
<issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/</issueTrackingUrl>
<siteAddress>jakarta.apache.org</siteAddress>
<siteDirectory>/www/jakarta.apache.org/turbine/maven/</siteDirectory>
<distributionDirectory>/www/jakarta.apache.org/builds/jakarta-turbine-maven/</distributionDirectory>
<repository>
<connection>scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:jakarta-turbine-maven</connection>
<url>http://cvs.apache.org/viewcvs/jakarta-turbine-maven/</url>
</repository>
<versions>
<version>
<id>b1</id>
<name>1.0-b1</name>
<tag>MAVEN_1_0_B1</tag>
</version>
<version>
<id>b2</id>
<name>1.0-b2</name>
<tag>MAVEN_1_0_B2</tag>
</version>
<version>
<id>b3</id>
<name>1.0-b3</name>
<tag>MAVEN_1_0_B3</tag>
</version>
<version>
<id>b4</id>
<name>1.0-b4</name>
<tag>MAVEN_1_0_B4</tag>
</version>
<version>
<id>b5</id>
<name>1.0-b5</name>
<tag>HEAD</tag>
</version>
</versions>
<branches>
</branches>
<mailingLists>
<mailingList>
<name>Maven User List</name>
<subscribe>[EMAIL PROTECTED]</subscribe>
<unsubscribe>[EMAIL PROTECTED]</unsubscribe>
<!-- Using mail-archive until there is something in nagoya's eyebrowse...
<archive>http://nagoya.apache.org/eyebrowse/SummarizeList?[EMAIL PROTECTED]</archive>
-->
<archive>http://www.mail-archive.com/[email protected]/</archive>
</mailingList>
<mailingList>
<name>Maven Developer List</name>
<subscribe>[EMAIL PROTECTED]</subscribe>
<unsubscribe>[EMAIL PROTECTED]</unsubscribe>
<!-- Using mail-archive until there is something in nagoya's eyebrowse...
<archive>http://nagoya.apache.org/eyebrowse/SummarizeList?[EMAIL PROTECTED]</archive>
-->
<archive>http://www.mail-archive.com/[email protected]/</archive>
</mailingList>
</mailingLists>
<developers>
<developer>
<name>Juancarlo Anez</name>
<id>juanco</id>
<email>[EMAIL PROTECTED]</email>
<organization></organization>
</developer>
<developer>
<name>Stephane Bailliez</name>
<id>sbailliez</id>
<email>[EMAIL PROTECTED]</email>
<organization></organization>
</developer>
<developer>
<name>Jeff Brekke</name>
<id>brekke</id>
<email>[EMAIL PROTECTED]</email>
<organization></organization>
</developer>
<developer>
<name>Tom Copeland</name>
<id>tcopeland</id>
<email>[EMAIL PROTECTED]</email>
<organization>InfoEther</organization>
</developer>
<developer>
<name>Eric Dobbs</name>
<id>dobbs</id>
<email>[EMAIL PROTECTED]</email>
<organization></organization>
</developer>
<developer>
<name>dIon Gillard</name>
<id>dion</id>
<email>[EMAIL PROTECTED]</email>
<organization></organization>
</developer>
<developer>
<name>Pete Kazmier</name>
<id>kaz</id>
<email>[EMAIL PROTECTED]</email>
<organization></organization>
<roles>
<role>Documentation</role>
</roles>
</developer>
<developer>
<name>Geir Magnusson Jr.</name>
<id>geirm</id>
<email>[EMAIL PROTECTED]</email>
<organization>Independent (DVSL Maven)</organization>
</developer>
<developer>
<name>Bob McWhirter</name>
<id>werken</id>
<email>[EMAIL PROTECTED]</email>
<organization>Werken and Sons</organization>
</developer>
<developer>
<name>Vincent Massol</name>
<id>vmassol</id>
<email>[EMAIL PROTECTED]</email>
<organization>Octo Technology</organization>
</developer>
<developer>
<name>Daniel Rall</name>
<id>dlr</id>
<email>[EMAIL PROTECTED]</email>
<organization>CollabNet, Inc.</organization>
</developer>
<developer>
<name>Kurt Schrader</name>
<id>kschrader</id>
<email>[EMAIL PROTECTED]</email>
<organization>University of Michigan</organization>
</developer>
<developer>
<name>James Strachan</name>
<id>jstrachan</id>
<email>[EMAIL PROTECTED]</email>
<organization>Spiritsoft</organization>
</developer>
<developer>
<name>James Taylor</name>
<id>jtaylor</id>
<email>[EMAIL PROTECTED]</email>
<organization></organization>
</developer>
<developer>
<name>Jason van Zyl</name>
<id>jvanzyl</id>
<email>[EMAIL PROTECTED]</email>
<organization>Zenplex</organization>
<roles>
<role>Architect</role>
<role>Release Manager</role>
</roles>
</developer>
<developer>
<name>Glenn McAllister</name>
<id>glennm</id>
<email>[EMAIL PROTECTED]</email>
<organization>SOMA Networks, Inc.</organization>
</developer>
<developer>
<name>Bob McWhirter</name>
<id>werken</id>
<email>[EMAIL PROTECTED]</email>
<organization>The Werken Company</organization>
</developer>
</developers>
<contributors>
<contributor>
<name>Nathan Coast</name>
<email>[EMAIL PROTECTED]</email>
</contributor>
<contributor>
<name>Peter Lynch</name>
</contributor>
</contributors>
<!-- Need to mark these as compile-time/run-time -->
<dependencies>
<dependency>
<id>dom4j</id>
<version>1.3</version>
<url>http://www.dom4j.org/</url>
</dependency>
<dependency>
<id>commons-betwixt</id>
<version>1.0-dev</version>
</dependency>
<dependency>
<id>commons-digester</id>
<version>1.2</version>
</dependency>
<dependency>
<id>commons-jelly</id>
<version>1.0-dev</version>
</dependency>
<dependency>
<id>commons-logging</id>
<version>1.0</version>
</dependency>
<dependency>
<id>commons-graph</id>
<version>0.8</version>
</dependency>
<dependency>
<id>bcel</id>
<version>5.0</version>
<url>http://jakarta.apache.org/bcel/</url>
</dependency>
<dependency>
<id>velocity</id>
<version>1.3-dev</version>
<url>http://jakarta.apache.org/velocity/</url>
</dependency>
<dependency>
<id>oro</id>
<version>2.0.6</version>
<url>http://jakarta.apache.org/oro/</url>
</dependency>
<!-- Runtime dependencies -->
<dependency>
<id>log4j</id>
<version>1.1.3</version>
<url>http://jakarta.apache.org/log4j/</url>
</dependency>
<dependency>
<id>commons-lang</id>
<version>0.1-dev</version>
<url>http://jakarta.apache.org/commons/</url>
</dependency>
<dependency>
<id>commons-io</id>
<version>0.1</version>
<url>http://jakarta.apache.org/commons/</url>
</dependency>
<dependency>
<id>commons-util</id>
<version>1.0-rc2-dev</version>
<url>http://jakarta.apache.org/commons/</url>
</dependency>
<dependency>
<id>commons-beanutils</id>
<version>1.0</version>
<jar>commons-beanutils-dev.jar</jar>
<url>http://jakarta.apache.org/commons/</url>
</dependency>
<dependency>
<id>commons-collections</id>
<version>2.0</version>
<url>http://jakarta.apache.org/commons/</url>
</dependency>
<!-- Documentation dependencies -->
<dependency>
<id>velocity-dvsl</id>
<version>0.43</version>
<url>http://jakarta.apache.org/velocity/dvsl/</url>
</dependency>
<dependency>
<id>jdepend</id>
<version>2.2</version>
<url>http://www.clarkware.com/software/JDepend.html</url>
</dependency>
<!-- maven:pdf requirements
<dependency>
<id>fop</id>
<version>0.20.3</version>
<url>http://xml.apache.org/fop/</url>
</dependency>
<dependency>
<id>batik</id>
<version>1.0</version>
<url>http://xml.apache.org/batik/</url>
</dependency>
<dependency>
<id>logkit</id>
<version>1.0.1</version>
<url>http://jakarta.apache.org/avalon/logkit/</url>
</dependency>
<dependency>
<id>avalon-framework</id>
<version>4.0</version>
<url>http://jakarta.apache.org/avalon/</url>
</dependency>
<dependency>
<id>xerces</id>
<version>1.2.3</version>
<url>http://xml.apache.org/xerces/</url>
</dependency>
<dependency>
<id>xalan</id>
<version>2.0.0</version>
<url>http://xml.apache.org/xalan/</url>
</dependency>
-->
<!-- the following are all required for checkstyle to work -->
<dependency>
<id>checkstyle</id>
<version>2.2</version>
<url>http://checkstyle.sourceforge.net/</url>
</dependency>
<dependency>
<id>antlr</id>
<version>2.7.1</version>
<url>http://www.antlr.org/</url>
</dependency>
<dependency>
<id>regexp</id>
<version>1.2</version>
<url>http://jakarta.apache.org/regexp/</url>
</dependency>
<!-- end checkstyle requirements -->
</dependencies>
<build>
<nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
<sourceDirectory>src/java</sourceDirectory>
<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
<integrationUnitTestSourceDirectory/>
<aspectSourceDirectory></aspectSourceDirectory>
<!-- Unit test classes -->
<unitTestPatterns>
<unitTestPattern>include = **/*Test.java</unitTestPattern>
</unitTestPatterns>
<!-- Integration unit test classes -->
<integrationUnitTestPatterns>
</integrationUnitTestPatterns>
<!-- J A R R E S O U R C E S -->
<!-- Resources that are packaged up inside the JAR file -->
<jarResources>
<jarResource>include = *.dtd</jarResource>
<jarResource>include = log4j.properties</jarResource>
<jarResource>include = maven-taskdefs.properties</jarResource>
</jarResources>
<jars>
</jars>
</build>
</project>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>