Switch stable branch back to HEAD

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113855 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion 2003-08-19 04:45:08 +00:00
parent 8fb31f914f
commit b623fe0dda
166 changed files with 2110 additions and 827 deletions

View File

@ -41,6 +41,9 @@
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -20,8 +20,11 @@
prereqs="antlr:prepare-filesystem">
<j:if test="${!antlrSrcDir.equals('MAVEN_ANTLR_SRC_DIR_NOT_SET')}">
<ant:path id="maven.antlr.compile.src.set"
location="${maven.build.dir}/antlr"/>
<maven:addPath id="maven.compile.src.set"
path="${maven.build.dir}/antlr"/>
refid="maven.antlr.compile.src.set"/>
<util:tokenize var="grammars" delim=" ">
${maven.antlr.grammars}

View File

@ -58,21 +58,33 @@
<groupId>ant</groupId>
<artifactId>ant</artifactId>
<version>1.5.3-1</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-antlr</artifactId>
<version>20030211.143720</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>1.0.1</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<version>2.7.2</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -63,7 +63,7 @@ import org.apache.maven.deploy.exceptions.TransferFailedException;
*
* @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
* @author <a href="mailto:michal.maczka@dimatics.com">Michal Maczka</a>
* @version $Id: AbstractDeployer.java,v 1.2 2003/08/02 22:48:39 michal Exp $
* @version $Id: AbstractDeployer.java,v 1.3 2003/08/19 04:45:05 dion Exp $
*/
public abstract class AbstractDeployer implements Deployer
{

View File

@ -67,7 +67,7 @@ import org.apache.maven.deploy.exceptions.TransferFailedException;
*
* @author <a href="mailto:michl.maczka@dimatics.com">Michal Maczka</a>
* @version $Id: Deployer.java,v 1.4 2003/08/02 22:48:39 michal Exp $
* @version $Id: Deployer.java,v 1.5 2003/08/19 04:45:05 dion Exp $
*/
public interface Deployer
{

View File

@ -69,7 +69,7 @@ import org.apache.maven.deploy.exceptions.TransferFailedException;
* file system.
*
* @author <a href="michal.maczka@dimatics.com">Michal Maczka</a>
* @version $Id: FileDeployer.java,v 1.9 2003/08/02 22:48:39 michal Exp $
* @version $Id: FileDeployer.java,v 1.10 2003/08/19 04:45:05 dion Exp $
*/
public class FileDeployer extends AbstractDeployer
{

View File

@ -79,7 +79,7 @@ import com.jcraft.jsch.UserInfo;
* and if that doesn't work then we fall back
* to using the login and password
*
* @version $Id: GenericSshDeployer.java,v 1.6 2003/08/02 22:48:39 michal Exp $
* @version $Id: GenericSshDeployer.java,v 1.7 2003/08/19 04:45:05 dion Exp $
* @todo still have to account for differing setups for people deploying to
* their own sites and to the central repository.
* @todo improve exception handling

View File

@ -71,7 +71,7 @@ import com.jcraft.jsch.SftpProgressMonitor;
* An SSH2/SFTP deployer
*
* @author Michal Maczka
* @version $Revision: 1.7 $ $Date: 2003/08/02 22:48:39 $
* @version $Revision: 1.8 $ $Date: 2003/08/19 04:45:05 $
*/
public class SFtpDeployer extends GenericSshDeployer
{

View File

@ -77,7 +77,7 @@ import java.util.List;
* An SSH2/SCP deployer
*
* @author Michal Maczka
* @version $Revision: 1.6 $ $Date: 2003/08/02 22:48:39 $
* @version $Revision: 1.7 $ $Date: 2003/08/19 04:45:05 $
*/
public class ScpDeployer extends GenericSshDeployer
{

View File

@ -70,7 +70,7 @@ import java.util.zip.ZipOutputStream;
/**
*
* @author <a href="michal.maczka@dimatics.com">Michal Maczka</a>
* @version $Id: Packager.java,v 1.1 2003/08/02 22:51:45 michal Exp $
* @version $Id: Packager.java,v 1.2 2003/08/19 04:45:07 dion Exp $
*/
public class Packager
{

View File

@ -48,14 +48,23 @@
<dependency>
<id>aspectj:aspectjrt</id>
<version>1.0.6</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>aspectj:aspectj-ant</id>
<version>1.0.6</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>aspectj:aspectj-tools</id>
<version>1.0.6</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
</dependencies>
<build>

View File

@ -3,7 +3,7 @@ package org.apache.maven.cactus.sample;
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002 The Apache Software Foundation. All rights
* Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -69,7 +69,7 @@ import javax.servlet.jsp.tagext.BodyTagSupport;
*
* @author <a href="mailto:nick@eblox.com">Nicholas Lesiecki</a>
*
* @version $Id: SampleBodyTag.java,v 1.1 2003/03/22 16:39:10 vmassol Exp $
* @version $Id: SampleBodyTag.java,v 1.2 2003/08/19 04:45:06 dion Exp $
*/
public class SampleBodyTag extends BodyTagSupport {
/**

View File

@ -3,7 +3,7 @@ package org.apache.maven.cactus.sample;
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002 The Apache Software Foundation. All rights
* Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -76,7 +76,7 @@ import org.apache.maven.cactus.sample.util.GenericResponseWrapper;
*
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
*
* @version $Id: SampleFilter.java,v 1.1 2003/03/22 16:39:10 vmassol Exp $
* @version $Id: SampleFilter.java,v 1.2 2003/08/19 04:45:06 dion Exp $
*/
public class SampleFilter implements Filter {
/**

View File

@ -3,7 +3,7 @@ package org.apache.maven.cactus.sample;
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002 The Apache Software Foundation. All rights
* Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -68,7 +68,7 @@ import javax.servlet.http.HttpSession;
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
* @author <a href="mailto:epugh@upstate.com">Eric Pugh</a>
*
* @version $Id: SampleServlet.java,v 1.1 2003/03/22 16:39:10 vmassol Exp $
* @version $Id: SampleServlet.java,v 1.2 2003/08/19 04:45:06 dion Exp $
*/
public class SampleServlet extends HttpServlet {

View File

@ -3,7 +3,7 @@ package org.apache.maven.cactus.sample.util;
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002 The Apache Software Foundation. All rights
* Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -73,7 +73,7 @@ import javax.servlet.ServletOutputStream;
*
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
*
* @version $Id: FilterServletOutputStream.java,v 1.1 2003/03/22 16:39:10 vmassol Exp $
* @version $Id: FilterServletOutputStream.java,v 1.2 2003/08/19 04:45:07 dion Exp $
*
* @see GenericResponseWrapper
*/

View File

@ -3,7 +3,7 @@ package org.apache.maven.cactus.sample.util;
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002 The Apache Software Foundation. All rights
* Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -77,7 +77,7 @@ import javax.servlet.http.HttpServletResponseWrapper;
*
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
*
* @version $Id: GenericResponseWrapper.java,v 1.1 2003/03/22 16:39:10 vmassol Exp $
* @version $Id: GenericResponseWrapper.java,v 1.2 2003/08/19 04:45:07 dion Exp $
*
* @see FilterServletOutputStream
*/

View File

@ -0,0 +1,127 @@
package org.apache.maven.cactus.sample;
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002-2003 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 apache@apache.org.
*
* 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.IOException;
import java.io.PrintWriter;
import org.apache.cactus.ServletTestCase;
/**
* Test the HtppUnit integration.
*
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
*
* @version $Id: TestHttpUnitIntegration.java,v 1.2 2003/08/19 04:45:06 dion Exp $
*/
public class TestHttpUnitIntegration extends ServletTestCase
{
/**
* Verify that the HttpUnit integration works.
*
* @exception IOException on test failure
*/
public void testHttpUnitGetText() throws IOException
{
PrintWriter pw = response.getWriter();
pw.print("something to return for the test");
}
/**
* Verify that HttpUnit integration works
*
* @param theResponse the response from the server side.
*
* @exception IOException on test failure
*/
public void endHttpUnitGetText(
com.meterware.httpunit.WebResponse theResponse) throws IOException
{
String text = theResponse.getText();
assertEquals("something to return for the test", text);
}
//-------------------------------------------------------------------------
/**
* Verify that we can set several headers in the response and
* assert them in endXXX().
*/
public void testResponseAddHeadersHttpUnit()
{
response.addHeader("X-Access-Header1", "value1");
response.addHeader("X-Access-Header2", "value2");
}
/**
* Verify that we can set several headers in the response and
* assert them in endXXX().
*
* @param theResponse the response from the server side.
*/
public void endResponseAddHeadersHttpUnit(
com.meterware.httpunit.WebResponse theResponse)
{
String value1 = theResponse.getHeaderField("X-Access-Header1");
String value2 = theResponse.getHeaderField("X-Access-Header2");
assertEquals("value1", value1);
assertEquals("value2", value2);
}
}

View File

@ -3,7 +3,7 @@ package org.apache.maven.cactus.sample;
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002 The Apache Software Foundation. All rights
* Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -70,7 +70,7 @@ import org.apache.cactus.WebResponse;
*
* @author <a href="mailto:nick@eblox.com">Nciholas Lesiecki</a>
*
* @version $Id: TestSampleBodyTag.java,v 1.2 2003/05/23 21:05:56 vmassol Exp $
* @version $Id: TestSampleBodyTag.java,v 1.3 2003/08/19 04:45:06 dion Exp $
*/
public class TestSampleBodyTag extends JspTestCase
{

View File

@ -3,7 +3,7 @@ package org.apache.maven.cactus.sample;
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002 The Apache Software Foundation. All rights
* Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -77,7 +77,7 @@ import org.apache.cactus.WebResponse;
*
* @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
*
* @version $Id: TestSampleFilter.java,v 1.1 2003/03/22 16:39:09 vmassol Exp $
* @version $Id: TestSampleFilter.java,v 1.2 2003/08/19 04:45:06 dion Exp $
*/
public class TestSampleFilter extends FilterTestCase
{

View File

@ -3,7 +3,7 @@ package org.apache.maven.cactus.sample;
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002 The Apache Software Foundation. All rights
* Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without

View File

@ -30,6 +30,9 @@
<dependency>
<id>castor</id>
<version>0.9.4.3</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -47,14 +47,16 @@
<ant:taskdef name="checkstyle"
classname="com.puppycrawl.tools.checkstyle.CheckStyleTask">
<classpath>
<pathelement location="${plugin.getDependencyPath('checkstyle:checkstyle')}"/>
<pathelement location="${plugin.getDependencyPath('antlr:antlr')}"/>
<pathelement location="${plugin.getDependencyPath('regexp:regexp')}"/>
<pathelement location="${plugin.getDependencyPath('commons-beanutils:commons-beanutils')}"/>
<pathelement location="${plugin.getDependencyPath('commons-collections:commons-collections')}"/>
<pathelement location="${plugin.getDependencyPath('commons-logging:commons-logging')}"/>
</classpath>
<ant:classpath>
<ant:pathelement location="${plugin.getDependencyPath('checkstyle:checkstyle')}"/>
<ant:pathelement location="${plugin.getDependencyPath('antlr:antlr')}"/>
<ant:pathelement location="${plugin.getDependencyPath('regexp:regexp')}"/>
<ant:pathelement location="${plugin.getDependencyPath('commons-beanutils:commons-beanutils')}"/>
<ant:pathelement location="${plugin.getDependencyPath('commons-collections:commons-collections')}"/>
<ant:pathelement location="${plugin.getDependencyPath('commons-logging:commons-logging')}"/>
<ant:path refid="maven.dependency.classpath"/>
<ant:pathelement path="${maven.build.dest}"/>
</ant:classpath>
</ant:taskdef>
</j:if>

View File

@ -86,31 +86,49 @@
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<version>2.7.2</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<groupId>checkstyle</groupId>
<artifactId>checkstyle</artifactId>
<version>3.1</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<groupId>regexp</groupId>
<artifactId>regexp</artifactId>
<version>1.2</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.6.1</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>2.1</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.3</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
</dependencies>

View File

@ -9,6 +9,10 @@
<body>
<release version="2.0" date="in CVS">
<action dev="dion" type="fix">
Add maven dependency and classes directory to classpath. This stops
'Unable to get class information for '&lt;classname&gt;' errors.
</action>
<action dev="evenisse" type="fix">
Add xml declaration to generated report. Fixed for character encoding.
</action>

View File

@ -41,11 +41,17 @@
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-interaction</artifactId>
<version>20030211.143817</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-log</artifactId>
<version>20030211.142821</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -30,12 +30,18 @@
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-jsl</artifactId>
<version>20030211.143151</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -30,13 +30,14 @@
<th>Number of files changed</th>
</tr>
<j:forEach var="developer" items="${pom.developers}">
<j:set var="developerId" value="${developer.id}"/>
<j:set var="name" value="${developer.name}"/>
<j:set var="commits"><x:expr select="count(./changelog-entry/author[text()='${name}'])"/></j:set>
<j:set var="changedFiles"><x:expr select="count(./changelog-entry/author[text()='${name}']/../file)"/></j:set>
<j:if test="${commits != '0'}">
<tr>
<td>${name}</td>
<td><a href="team-list.html#${developerId}">${name}</a></td>
<td>${commits}</td>
<td>${changedFiles}</td>
</tr>

View File

@ -7,6 +7,9 @@
<body>
<release version="1.3" date="in CVS">
<action dev="evenisse" type="add">
Add link with team list.
</action>
<action dev="evenisse" type="fix">
Add xml declaration to generated report. Fixed for character encoding.
</action>

View File

@ -3,33 +3,19 @@
xmlns:j="jelly:core"
xmlns:util="jelly:util"
xmlns:ant="jelly:ant"
xmlns:maven="jelly:maven"
xmlns="dummy"
trim="true">
<classpath>
<j:if test="${sourcesPresent}">
<j:set var="srcDir" value="${pom.build.sourceDirectory}"/>
<j:if test="${ srcDir.startsWith( basedir ) }">
<!--ant:echo>Cutting off basedir from sourceDirectory</ant:echo-->
<j:set var="srcDir" value="${srcDir.substring(basedir.length())}"/>
<!--
cut off also slash or backslash from basedir.
Is there a way to make it in one step in Jelly?
-->
<j:set var="srcDir" value="${srcDir.substring(1)}"/>
</j:if>
<maven:make-relative-path var="srcDir" basedir="${basedir}" path="${pom.build.sourceDirectory}"/>
<classpathentry kind="src" path="${srcDir}"/>
</j:if>
<j:if test="${unitTestSourcesPresent}">
<ant:echo>Contains JUnit tests</ant:echo>
<j:set var="testSrcDir" value="${pom.build.unitTestSourceDirectory}"/>
<j:if test="${ testSrcDir.startsWith( basedir ) }">
<!--ant:echo>Cutting off basedir from testSourceDirectory</ant:echo-->
<j:set var="testSrcDir" value="${testSrcDir.substring(basedir.length())}"/>
<!-- Cut off slash or backslash from basedir -->
<j:set var="testSrcDir" value="${testSrcDir.substring(1)}"/>
</j:if>
<maven:make-relative-path var="testSrcDir" basedir="${basedir}" path="${pom.build.unitTestSourceDirectory}"/>
<!-- Eclipse supports an output directory per input directory -->
<j:set var="testOutputDir" value="${maven.eclipse.test.output.dir}"/>
@ -37,12 +23,8 @@
<j:set var="testOutputDir"
value="${pom.getPluginContext('maven-test-plugin').getVariable('maven.test.dest')}"/>
</j:if>
<j:if test="${ testOutputDir.startsWith( basedir ) }">
<!--ant:echo>Cutting off basedir from testOutputDir</ant:echo-->
<j:set var="testOutputDir" value="${testOutputDir.substring(basedir.length())}"/>
<!-- Cut off slash or backslash from basedir -->
<j:set var="testOutputDir" value="${testOutputDir.substring(1)}"/>
</j:if>
<maven:make-relative-path var="testOutputDir" basedir="${basedir}" path="${testOutputDir}" />
<ant:echo>Setting compile of ${testSrcDir} to ${testOutputDir}</ant:echo>
<classpathentry kind="src" path="${testSrcDir}" output="${testOutputDir}"/>
@ -83,13 +65,7 @@
<j:if test="${cactusSourcePresent == 'true'}">
<ant:echo>Contains Cactus Tests!</ant:echo>
<j:set var="testSrcDir" value="${cactusSrcDir}"/>
<j:if test="${ testSrcDir.startsWith( basedir ) }">
<ant:echo>Cutting off basedir from Cactus source directory</ant:echo>
<j:set var="testSrcDir" value="${testSrcDir.substring(basedir.length())}"/>
<!-- cut off also slash or backslash -->
<j:set var="testSrcDir" value="${testSrcDir.substring(1)}"/>
</j:if>
<maven:make-relative-path var="testSrcDir" basedir="${basedir}" path="${cactusSrcDir}" />
<classpathentry kind="src" path="${testSrcDir}"/>
<j:set var="depVersion">${pom.getPluginContext('maven-cactus-plugin').getVariable('plugin').getDependency('cactus').getVersion()}</j:set>
@ -119,14 +95,9 @@
<j:if test="${empty outputDir}">
<j:set var="outputDir" value="${maven.build.dest}"/>
</j:if>
<j:if test="${ outputDir.startsWith( basedir ) }">
<!-- Cutting off basedir from outputDir -->
<j:set var="outputDir" value="${outputDir.substring(basedir.length())}"/>
<!-- Cut off slash or backslash from basedir -->
<j:set var="outputDir" value="${outputDir.substring(1)}"/>
</j:if>
<maven:make-relative-path var="outputDir" basedir="${basedir}" path="${outputDir}" />
<classpathentry kind="output" path="${outputDir}"/>
<ant:echo>Setting default output directory to ${outputDir}</ant:echo>
</classpath>
</j:whitespace>
</j:whitespace>

View File

@ -100,7 +100,10 @@
</ant:manifest>
<ant:fileset dir="${maven.ejb.src}"/>
<ant:fileset dir="${maven.build.dest}"/>
<ant:fileset dir="${maven.build.dest}"
includes="${maven.ejb.includes}"
excludes="${maven.ejb.excludes}">
</ant:fileset>
</ant:jar>

View File

@ -12,3 +12,7 @@ maven.ejb.manifest=${maven.ejb.descriptordir}/MANIFEST.MF
# This list is probably incomplete...
# Users' projects can add to the list by setting maven.ejb.client.excludes.
maven.ejb.client.base.excludes=**/*Bean.class,**/*CMP.class,**/*Session.class
# Files to include and exclude from ejb
# Note: Files are relative to build.dir
maven.ejb.includes=**
maven.ejb.excludes=**/package.html

View File

@ -6,6 +6,9 @@
</properties>
<body>
<release version="1.1" date="in CVS">
<action dev="evenisse" type="add">
Added maven.ejb.excludes and maven.ejb.includes properties.
</action>
<action dev="michal" type="add">
Added deploy, deploy-snapshot and install-snapshot goals
</action>

View File

@ -20,6 +20,26 @@
src/ejb
</td>
</tr>
<tr>
<td>maven.ejb.includes</td>
<td>Yes</td>
<td>
Files to include in ejb
Note: Files are relative to
<code>${maven.build.dest}</code>.
</td>
<td>**</td>
</tr>
<tr>
<td>maven.ejb.excludes</td>
<td>Yes</td>
<td>
Files to exclude in ejb
Note: Files are relative to
<code>${maven.build.dest}</code>.
</td>
<td>**/package.html</td>
</tr>
<tr>
<td>maven.ejb.client.base.excludes</td>
<td>Yes</td>

View File

@ -44,6 +44,9 @@
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<!-- core dependencies which i'd have thought Maven introduced -->

View File

@ -63,12 +63,18 @@
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-jsl</artifactId>
<version>20030211.143151</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -34,22 +34,34 @@
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-html</artifactId>
<version>20030317.100924</version>
<url>http://jakarta.apache.org/commons/jelly/tags/html/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>nekohtml</id>
<version>0.7.1</version>
<version>0.7.7</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<!-- core dependencies which i'd have thought Maven introduced -->
<dependency>
<id>commons-logging</id>
<version>1.0.3</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>dom4j</id>

View File

@ -1,590 +1,39 @@
<?xml version="1.0"?>
<project
xmlns:ant="jelly:ant"
xmlns:j="jelly:core"
xmlns:u="jelly:util">
<project xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:util="jelly:util">
<!--==================================================================-->
<!-- Generate IntelliJ IDEA .project and .classpath files -->
<!-- Generate IntelliJ IDEA project, workspace and model files -->
<!--==================================================================-->
<goal name="idea"
description="Generate IDEA project files"
prereqs="idea:generate-project"/>
<goal name="idea:generate-project"
description="Generate IDEA .ipr and .iws project files">
description="Generate IDEA .ipr, .iml and .iws project files">
<j:set var="template.dir" value="${plugin.resources}/templates/v${maven.idea.project.version}" />
<ant:echo>Creating ${basedir}/${pom.artifactId}.ipr ...</ant:echo>
<j:file name="${basedir}/${pom.artifactId}.ipr" prettyPrint="true" xmlns="dummy">
<project version="3" relativePaths="false">
<component name="ProjectRootManager" version="2">
<jdk name="java version &quot;${java.version}&quot;"/>
<projectPath>
<root type="composite">
<root type="simple" url="file://$PROJECT_DIR$"/>
</root>
</projectPath>
<sourcePath>
<root type="composite">
<j:if test="${sourcesPresent}">
<root type="simple" url="file://$$PROJECT_DIR$$/${pom.build.sourceDirectory}"/>
</j:if>
<j:if test="${unitTestSourcesPresent}">
<root type="simple" url="file://$$PROJECT_DIR$$/${pom.build.unitTestSourceDirectory}"/>
</j:if>
<root type="jdk" rootType="sourcePath" name="java version &quot;${java.version}&quot;"/>
</root>
</sourcePath>
<classPath>
<root type="composite">
<root type="jdk" rootType="classPath" name="java version &quot;${java.version}&quot;"/>
<root type="output"/>
<j:forEach var="lib" items="${pom.dependencies}">
<root type="simple" url="jar://${maven.repo.local}/${lib.artifactDirectory}/jars/${lib.artifact}!/"/>
</j:forEach>
</root>
</classPath>
<javadocPath>
<root type="composite">
<root type="jdk" rootType="javadocPath" name="java version &quot;${java.version}&quot;"/>
</root>
</javadocPath>
<assert_keyword enabled="no"/>
</component>
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac"/>
<option name="SYNCHRONIZE_OUTPUT_DIRECTORY" value="false"/>
<option name="DEFAULT_OUTPUT_PATH"/>
<option name="OUTPUT_MODE" value="single"/>
<resourceExtensions>
<entry name=".+\.(properties|xml|html)"/>
<entry name=".+\.(gif|png|jpeg)"/>
</resourceExtensions>
</component>
<component name="JavacSettings">
<option name="DEBUGGING_INFO" value="true"/>
<option name="GENERATE_NO_WARNINGS" value="false"/>
<option name="DEPRECATION" value="true"/>
<option name="ADDITIONAL_OPTIONS_STRING" value=""/>
<option name="MAXIMUM_HEAP_SIZE" value="128"/>
</component>
<component name="JikesSettings">
<option name="DEBUGGING_INFO" value="true"/>
<option name="DEPRECATION" value="true"/>
<option name="GENERATE_NO_WARNINGS" value="false"/>
<option name="GENERATE_MAKE_FILE_DEPENDENCIES" value="false"/>
<option name="DO_FULL_DEPENDENCE_CHECK" value="false"/>
<option name="IS_INCREMENTAL_MODE" value="false"/>
<option name="IS_EMACS_ERRORS_MODE" value="true"/>
<option name="ADDITIONAL_OPTIONS_STRING" value=""/>
<option name="MAXIMUM_HEAP_SIZE" value="128"/>
</component>
<component name="AntConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false"/>
<option name="FILTER_TARGETS" value="false"/>
</component>
<component name="CvsManager"/>
<component name="JavadocGenerationManager">
<option name="OUTPUT_DIRECTORY"/>
<option name="OPTION_SCOPE" value="protected"/>
<option name="OPTION_HIERARCHY" value="false"/>
<option name="OPTION_NAVIGATOR" value="false"/>
<option name="OPTION_INDEX" value="false"/>
<option name="OPTION_SEPARATE_INDEX" value="false"/>
<option name="OPTION_USE_1_1" value="false"/>
<option name="OPTION_DOCUMENT_TAG_USE" value="false"/>
<option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false"/>
<option name="OPTION_DOCUMENT_TAG_VERSION" value="false"/>
<option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="false"/>
<option name="OPTION_DEPRECATED_LIST" value="false"/>
<option name="OTHER_OPTIONS"/>
<option name="HEAP_SIZE"/>
<option name="OPEN_IN_BROWSER" value="false"/>
</component>
<component name="WebManager">
<OPTION enabled="false"/>
</component>
<component name="WebRootContainer"/>
<component name="EjbManager" enabled="false"/>
<component name="JUnitProjectSettings">
<option name="TEST_RUNNER" value="UI"/>
</component>
<component name="EntryPointsManager">
<entry_points/>
</component>
<component name="EjbActionsConfiguration">
<option name="NEW_MESSAGE_BEAN_LAST_PACKAGE" value=""/>
<option name="NEW_ENTITY_BEAN_LAST_PACKAGE" value=""/>
<option name="NEW_SESSION_BEAN_LAST_PACKAGE" value=""/>
</component>
<component name="ExportToHTMLSettings">
<option name="PRINT_LINE_NUMBERS" value="false"/>
<option name="OPEN_IN_BROWSER" value="false"/>
<option name="OUTPUT_DIRECTORY"/>
</component>
</project>
<j:import file="${template.dir}/project.jelly" inherit="true"/>
</j:file>
<echo>Creating ${basedir}/${pom.artifactId}.iws ...</echo>
<ant:echo>Creating ${basedir}/${pom.artifactId}.iws ...</ant:echo>
<j:file name="${basedir}/${pom.artifactId}.iws" prettyPrint="true" xmlns="dummy">
<project version="3" relativePaths="false">
<component name="FileEditorManager">
<history/>
<open_files/>
</component>
<component name="ToolWindowManager">
<frame x="1" y="1" width="1278" height="1004" extended-state="0"/>
<editor active="true"/>
<layout>
<window_info id="Messages" active="false" anchor="bottom" auto_hide="true" internal_type="sliding" type="sliding" visible="false" weight="0.33" order="-1"/>
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="2"/>
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="1"/>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="0"/>
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="sliding" type="sliding" visible="false" weight="0.4" order="0"/>
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="6"/>
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="2"/>
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="1"/>
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.4" order="5"/>
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="1"/>
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.4" order="3"/>
<window_info id="EJB" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="3"/>
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="0"/>
<window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="2"/>
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="4"/>
</layout>
</component>
<component name="Debugger">
<line_breakpoints/>
<exception_breakpoints>
<breakpoint_any>
<option name="NOTIFY_CAUGHT" value="true"/>
<option name="NOTIFY_UNCAUGHT" value="true"/>
<option name="ENABLED" value="false"/>
<option name="SUSPEND_VM" value="true"/>
<option name="COUNT_FILTER_ENABLED" value="false"/>
<option name="COUNT_FILTER" value="0"/>
<option name="CONDITION_ENABLED" value="false"/>
<option name="CONDITION"/>
<option name="LOG_ENABLED" value="false"/>
<option name="LOG_EXPRESSION_ENABLED" value="false"/>
<option name="LOG_MESSAGE"/>
<option name="CLASS_FILTERS_ENABLED" value="false"/>
<option name="INVERSE_CLASS_FILLTERS" value="false"/>
<option name="SUSPEND_POLICY" value="SuspendAll"/>
</breakpoint_any>
</exception_breakpoints>
<field_breakpoints/>
<method_breakpoints/>
</component>
<component name="DebuggerManager"/>
<component name="DebuggerSettings">
<option name="TRACING_FILTERS_ENABLED" value="true"/>
<option name="VALUE_LOOKUP_DELAY" value="700"/>
<option name="DEBUGGER_TRANSPORT" value="0"/>
<option name="FORCE_CLASSIC_VM" value="true"/>
<option name="HIDE_DEBUGGER_ON_PROCESS_TERMINATION" value="false"/>
<option name="SKIP_SYNTHETIC_METHODS" value="true"/>
<option name="SKIP_CONSTRUCTORS" value="false"/>
<option name="STEP_THREAD_SUSPEND_POLICY" value="SuspendThread"/>
<default_breakpoint_settings>
<option name="NOTIFY_CAUGHT" value="true"/>
<option name="NOTIFY_UNCAUGHT" value="true"/>
<option name="WATCH_MODIFICATION" value="true"/>
<option name="WATCH_ACCESS" value="true"/>
<option name="WATCH_ENTRY" value="true"/>
<option name="WATCH_EXIT" value="true"/>
<option name="ENABLED" value="true"/>
<option name="SUSPEND_VM" value="true"/>
<option name="COUNT_FILTER_ENABLED" value="false"/>
<option name="COUNT_FILTER" value="0"/>
<option name="CONDITION_ENABLED" value="false"/>
<option name="CONDITION"/>
<option name="LOG_ENABLED" value="false"/>
<option name="LOG_EXPRESSION_ENABLED" value="false"/>
<option name="LOG_MESSAGE"/>
<option name="CLASS_FILTERS_ENABLED" value="false"/>
<option name="INVERSE_CLASS_FILLTERS" value="false"/>
<option name="SUSPEND_POLICY" value="SuspendAll"/>
</default_breakpoint_settings>
<filter>
<option name="PATTERN" value="com.sun.*"/>
<option name="ENABLED" value="true"/>
</filter>
<filter>
<option name="PATTERN" value="java.*"/>
<option name="ENABLED" value="true"/>
</filter>
<filter>
<option name="PATTERN" value="javax.*"/>
<option name="ENABLED" value="true"/>
</filter>
<filter>
<option name="PATTERN" value="org.omg.*"/>
<option name="ENABLED" value="true"/>
</filter>
<filter>
<option name="PATTERN" value="sun.*"/>
<option name="ENABLED" value="true"/>
</filter>
<filter>
<option name="PATTERN" value="junit.*"/>
<option name="ENABLED" value="true"/>
</filter>
</component>
<component name="CompilerWorkspaceConfiguration">
<option name="COMPILE_IN_BACKGROUND" value="false"/>
<option name="AUTO_SHOW_ERRORS_IN_EDITOR" value="true"/>
</component>
<component name="ErrorTreeViewConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false"/>
<option name="HIDE_WARNINGS" value="false"/>
</component>
<component name="DaemonCodeAnalyzer">
<disable_hints/>
</component>
<component name="StructureViewFactory">
<option name="SORT_MODE" value="0"/>
<option name="GROUP_OVERRIDINGS" value="true"/>
<option name="GROUP_IMPLEMENTINGS" value="true"/>
<option name="AUTOSCROLL_MODE" value="true"/>
<option name="SHOW_METHODS" value="true"/>
<option name="SHOW_FIELDS" value="true"/>
<option name="AUTOSCROLL_FROM_SOURCE" value="false"/>
<option name="GROUP_GETTERS_AND_SETTERS" value="true"/>
</component>
<component name="CvsConfiguration">
<j:set var="cvsEnabled" value="false"/>
<j:set var="cvsPath" value=""/>
<u:available file="${basedir}/CVS/Root">
<u:loadText var="cvsRoot" file="${basedir}/CVS/Root"/>
<u:tokenize var="cvsRootValues" delim=":">${cvsRoot}</u:tokenize>
<j:set var="cvsRootValuesSize" value="${size(cvsRootValues)}"/>
<j:if test="${cvsRootValuesSize == 3}">
<j:set var="userServer" value="${cvsRootValues.get(1)}"/>
<j:set var="user" value="${userServer.substring(0,userServer.indexOf('@'))}"/>
<j:set var="server" value="${userServer.substring(userServer.indexOf('@'))}"/>
<cvs_root>
<option name="METHOD" value="${cvsRootValues.get(0)}" />
<option name="USER_NAME" value="${user}" />
<option name="HOST" value="${server.substring(1)}"/>
<option name="REPOSITORY" value="${cvsRootValues.get(2)}" />
</cvs_root>
</j:if>
<j:if test="${cvsRootValuesSize == 2}">
<j:set var="userServer" value="${cvsRootValues.get(0)}"/>
<j:set var="user" value="${userServer.substring(0,userServer.indexOf('@'))}"/>
<j:set var="server" value="${userServer.substring(userServer.indexOf('@'))}"/>
<cvs_root>
<option name="METHOD" value="ext" />
<option name="USER_NAME" value="${user}" />
<option name="HOST" value="${server.substring(1)}"/>
<option name="REPOSITORY" value="${cvsRootValues.get(1)}" />
</cvs_root>
</j:if>
<j:set var="cvsPath" value="${maven.cvs.client.exe}"/>
<j:if test="$">
<j:set var="cvsEnabled" value="true"/>
</j:if>
</u:available>
<Checkout>
<option name="DATE_TAG" value=""/>
<option name="REVISION_TAG" value=""/>
<option name="PRUNE_EMPTY_DIRS" value="true"/>
<option name="RESET_STICKY_TAGS" value="false"/>
<option name="NON_RECURSIVE" value="false"/>
<option name="CREATE_WORKING_DIR" value=""/>
<option name="ADDITIONAL_OPTIONS" value=""/>
</Checkout>
<Update>
<option name="DATE_TAG" value=""/>
<option name="REVISION_TAG" value=""/>
<option name="PRUNE_EMPTY_DIRS" value="true"/>
<option name="RESET_STICKY_TAGS" value="false"/>
<option name="NON_RECURSIVE" value="false"/>
<option name="CREATE_MISSING_DIRECTORIES" value="true"/>
<option name="DONT_CHANGE_FILES" value="false"/>
<option name="QUIET_MODE" value="false"/>
<option name="ADDITIONAL_OPTIONS" value=""/>
</Update>
<Commit>
<option name="NON_RECURSIVE" value="false"/>
<option name="REVISION_TAG"/>
<option name="LOG_MESSAGE"/>
<option name="ADDITIONAL_OPTIONS"/>
</Commit>
<Diff>
<option name="REVISION_TAG" value="HEAD"/>
<option name="DATE_TAG" value=""/>
<option name="IGNORE_WHITESPACE" value="false"/>
</Diff>
<Add>
<option name="ADD_AS_BINARY" value="false"/>
<option name="LOG_MESSAGE"/>
</Add>
<Status>
<option name="NON_RECURSIVE" value="false"/>
<option name="INCLUDE_TAGS" value="false"/>
</Status>
<Edit>
<option name="NON_RECURSIVE" value="false"/>
<option name="FORCE_RECURSIVE" value="false"/>
<option name="EDIT" value="false"/>
<option name="UNEDIT" value="false"/>
<option name="COMMIT" value="false"/>
<option name="ALL" value="true"/>
<option name="NONE" value="false"/>
</Edit>
<Remove>
<option name="NON_RECURSIVE" value="false"/>
<option name="FORCE_RECURSIVE" value="false"/>
<option name="DELETE_FILE" value="false"/>
</Remove>
<Log>
<option name="DEFAULT_BRANCH" value="false"/>
<option name="NON_RECURSIVE" value="false"/>
<option name="QUIET_MODE" value="true"/>
<option name="ADDITIONAL_OPTIONS" value=""/>
</Log>
<Editors>
<option name="NON_RECURSIVE" value="false"/>
<option name="FORCE_RECURSIVE" value="false"/>
</Editors>
<option name="CLIENT_PATH" value="${cvsPath}"/>
<option name="EXTERNAL_DIFF_PATH"/>
<option name="CVS_ENABLED" value="${cvsEnabled}"/>
<option name="USE_EXTERNAL_DIFF" value="false"/>
<option name="WORKING_FILES_READONLY" value="false"/>
<option name="COMPRESSION_LEVEL" value="0"/>
<option name="ADDITIONAL_OPTIONS" value=""/>
<option name="BINARY_FILES_EXTENSIONS"/>
<option name="REUSE_LAST_LOG_MESSAGE" value="false"/>
<option name="PUT_FOCUS_INTO_LOG_MESSAGE" value="false"/>
<option name="SHOW_PROJECT_ROOTS" value="true"/>
<option name="SHOW_UPDATE_OPTIONS" value="true"/>
<option name="SHOW_COMMIT_OPTIONS" value="true"/>
<option name="SHOW_DIFF_OPTIONS" value="true"/>
<option name="SHOW_ADD_OPTIONS" value="true"/>
<option name="SHOW_STATUS_OPTIONS" value="true"/>
<option name="SHOW_EDIT_OPTIONS" value="true"/>
<option name="SHOW_UNEDIT_OPTIONS" value="true"/>
<option name="SHOW_REMOVE_OPTIONS" value="true"/>
<option name="SHOW_LOG_OPTIONS" value="true"/>
<option name="SHOW_EDITORS_OPTIONS" value="true"/>
<option name="HIDE_UNKNOWN_FILES" value="false"/>
<option name="HIDE_MISSING_FILES" value="false"/>
<option name="HIDE_UP_TO_DATE_FILES" value="false"/>
</component>
<component name="ProjectViewSettings">
<navigator currentView="ProjectPane" flattenPackages="false" showMembers="false" showStructure="false" autoscrollToSource="false" splitterProportion="0.5"/>
<view id="ProjectPane"/>
<view id="SourcepathPane"/>
<view id="ClasspathPane"/>
</component>
<component name="RunManager">
<option name="SHOW_SETTINGS_BEFORE_RUNNING" value="true"/>
<option name="COMPILE_BEFORE_RUNNING" value="true"/>
<activeType name="Application"/>
<configuration name="&lt;template&gt;" type="Application" default="true" selected="false">
<option name="MAIN_CLASS_NAME"/>
<option name="VM_PARAMETERS"/>
<option name="PROGRAM_PARAMETERS"/>
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$"/>
</configuration>
<configuration name="&lt;template&gt;" type="Applet" default="true" selected="false">
<option name="MAIN_CLASS_NAME"/>
<option name="HTML_FILE_NAME"/>
<option name="HTML_USED" value="false"/>
<option name="WIDTH" value="400"/>
<option name="HEIGHT" value="300"/>
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/config/appletviewer.policy"/>
<option name="VM_PARAMETERS"/>
</configuration>
<configuration name="&lt;template&gt;" type="JUnit" default="true" selected="false">
<option name="PACKAGE_NAME"/>
<option name="MAIN_CLASS_NAME"/>
<option name="METHOD_NAME"/>
<option name="TEST_OBJECT"/>
<option name="VM_PARAMETERS"/>
<option name="PARAMETERS"/>
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$"/>
</configuration>
<configuration name="&lt;template&gt;" type="Remote" default="true" selected="false">
<option name="USE_SOCKET_TRANSPORT" value="true"/>
<option name="SERVER_MODE" value="false"/>
<option name="SHMEM_ADDRESS" value="javadebug"/>
<option name="HOST" value="localhost"/>
<option name="PORT" value="5005"/>
</configuration>
<configuration name="&lt;template&gt;" type="WebApp" default="true" selected="false">
<WebServerIntegration/>
<Host>localhost</Host>
<Port>5050</Port>
</configuration>
</component>
<component name="BookmarkManager"/>
<component name="Commander">
<leftPanel view="Project" active="false"/>
<rightPanel view="Project" active="true"/>
<splitter proportion="0.5"/>
</component>
<component name="PropertiesComponent">
<property name="MemberChooser.showClasses" value="true"/>
<property name="GoToFile.includeJavaFiles" value="false"/>
<property name="MemberChooser.sorted" value="false"/>
<property name="GoToClass.includeLibraries" value="false"/>
<property name="MemberChooser.copyJavadoc" value="false"/>
<property name="GoToClass.toSaveIncludeLibraries" value="false"/>
</component>
<component name="SelectInManager"/>
<component name="VssConfiguration">
<CheckoutOptions>
<option name="COMMENT" value=""/>
<option name="DO_NOT_GET_LATEST_VERSION" value="false"/>
<option name="REPLACE_WRITABLE" value="false"/>
<option name="RECURSIVE" value="false"/>
</CheckoutOptions>
<CheckinOptions>
<option name="COMMENT" value=""/>
<option name="KEEP_CHECKED_OUT" value="false"/>
<option name="RECURSIVE" value="false"/>
</CheckinOptions>
<AddOptions>
<option name="COMMENT" value=""/>
<option name="STORE_ONLY_LATEST_VERSION" value="false"/>
<option name="CHECK_OUT_IMMEDIATELY" value="false"/>
<option name="FILE_TYPE" value="0"/>
</AddOptions>
<UndocheckoutOptions>
<option name="MAKE_WRITABLE" value="false"/>
<option name="REPLACE_LOCAL_COPY" value="0"/>
<option name="RECURSIVE" value="false"/>
</UndocheckoutOptions>
<DiffOptions>
<option name="IGNORE_WHITE_SPACE" value="false"/>
<option name="IGNORE_CASE" value="false"/>
</DiffOptions>
<GetOptions>
<option name="REPLACE_WRITABLE" value="0"/>
<option name="MAKE_WRITABLE" value="false"/>
<option name="RECURSIVE" value="false"/>
</GetOptions>
<option name="ENABLED" value="false"/>
<option name="CLIENT_PATH" value=""/>
<option name="SRCSAFEINI_PATH" value=""/>
<option name="USER_NAME" value=""/>
<option name="PWD" value=""/>
<option name="SHOW_CHECKOUT_OPTIONS" value="true"/>
<option name="SHOW_CHECKIN_OPTIONS" value="true"/>
<option name="SHOW_ADD_OPTIONS" value="true"/>
<option name="SHOW_UNDOCHECKOUT_OPTIONS" value="true"/>
<option name="SHOW_DIFF_OPTIONS" value="true"/>
<option name="SHOW_GET_OPTIONS" value="true"/>
<option name="USE_EXTERNAL_DIFF" value="false"/>
<option name="EXTERNAL_DIFF_PATH" value=""/>
<option name="REUSE_LAST_COMMENT" value="false"/>
<option name="PUT_FOCUS_INTO_COMMENT" value="false"/>
</component>
<component name="HierarchyBrowserManager">
<option name="SHOW_PACKAGES" value="false"/>
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false"/>
<option name="SORT_ALPHABETICALLY" value="false"/>
</component>
<component name="WebViewSettings">
<webview flattenPackages="false" showMembers="false" autoscrollToSource="false"/>
</component>
<component name="EjbViewSettings">
<EjbView showMembers="false" autoscrollToSource="false"/>
</component>
<component name="LvcsConfiguration">
<option name="LOCAL_VCS_ENABLED" value="true"/>
<option name="LOCAL_VCS_PURGING_PERIOD" value="259200000"/>
<option name="ADD_LABEL_ON_PROJECT_OPEN" value="true"/>
<option name="ADD_LABEL_ON_PROJECT_COMPILATION" value="true"/>
<option name="ADD_LABEL_ON_FILE_PACKAGE_COMPILATION" value="true"/>
<option name="ADD_LABEL_ON_PROJECT_MAKE" value="true"/>
<option name="ADD_LABEL_ON_RUNNING" value="true"/>
<option name="ADD_LABEL_ON_DEBUGGING" value="true"/>
<option name="ADD_LABEL_ON_UNIT_TEST" value="true"/>
</component>
<component name="InspectionManager">
<option name="AUTOSCROLL_TO_SOURCE" value="false"/>
<option name="SPLITTER_PROPORTION" value="0.5"/>
<inspection_tool class="Unreachable declaration" enabled="true">
<option name="ADD_MAINS_TO_ENTRIES" value="true"/>
<option name="ADD_JUNIT_TO_ENTRIES" value="true"/>
<option name="ADD_EJB_TO_ENTRIES" value="true"/>
<option name="ADD_APPLET_TO_ENTRIES" value="true"/>
<option name="ADD_SERVLET_TO_ENTRIES" value="true"/>
<option name="ADD_NONJAVA_TO_ENTRIES" value="true"/>
</inspection_tool>
<inspection_tool class="Declaration access can be weaker" enabled="true">
<option name="SUGGEST_PACKAGE_LOCAL_FOR_MEMBERS" value="true"/>
<option name="SUGGEST_PACKAGE_LOCAL_FOR_TOP_CLASSES" value="true"/>
<option name="SUGGEST_PRIVATE_FOR_INNERS" value="false"/>
</inspection_tool>
<inspection_tool class="Declaration can have static modifier" enabled="true"/>
<inspection_tool class="Declaration can have final modifier" enabled="true">
<option name="REPORT_CLASSES" value="false"/>
<option name="REPORT_METHODS" value="false"/>
<option name="REPORT_FIELDS" value="true"/>
</inspection_tool>
<inspection_tool class="Unused method parameters" enabled="true"/>
<inspection_tool class="Constant conditions &amp; NPEs" enabled="true"/>
<inspection_tool class="Assignment is not used" enabled="true"/>
<inspection_tool class="Type cast is redundant" enabled="true"/>
<inspection_tool class="Declaration has javadoc problems" enabled="true">
<option name="TOP_LEVEL_CLASS_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="public"/>
<option name="REQUIRED_TAGS" value=""/>
</value>
</option>
<option name="INNER_CLASS_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="protected"/>
<option name="REQUIRED_TAGS" value=""/>
</value>
</option>
<option name="METHOD_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="protected"/>
<option name="REQUIRED_TAGS" value="@return@param@throws or @exception"/>
</value>
</option>
<option name="FIELD_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="protected"/>
<option name="REQUIRED_TAGS" value=""/>
</value>
</option>
</inspection_tool>
<inspection_tool class="Empty method" enabled="false"/>
<inspection_tool class="Unused method return value" enabled="false"/>
<inspection_tool class="Method returns the same value" enabled="false"/>
<inspection_tool class="Actual method parameter is the same constant" enabled="false"/>
</component>
<component name="TodoView" selected-index="0">
<todo-panel id="selected-file">
<are-packages-shown value="false"/>
<flattern-packages value="false"/>
<is-autoscroll-to-source value="true"/>
</todo-panel>
<todo-panel id="all">
<are-packages-shown value="true"/>
<flattern-packages value="false"/>
<is-autoscroll-to-source value="true"/>
</todo-panel>
</component>
<component name="VcsManagerConfiguration">
<option name="ACTIVE_VCS_NAME" value=""/>
</component>
</project>
<j:import file="${template.dir}/workspace.jelly" inherit="true"/>
</j:file>
<util:available file="${template.dir}/module.jelly">
<ant:echo>Creating ${basedir}/${pom.artifactId}.iml ...</ant:echo>
<j:file name="${basedir}/${pom.artifactId}.iml" prettyPrint="true" xmlns="dummy">
<j:import file="${template.dir}/module.jelly" inherit="true"/>
</j:file>
</util:available>
</goal>
</project>

2
idea/plugin.properties Normal file
View File

@ -0,0 +1,2 @@
# Project version - v3 for 3.0+; v4 for "Aurora"
maven.idea.project.version=3

View File

@ -5,7 +5,7 @@
<pomVersion>3</pomVersion>
<id>maven-idea-plugin</id>
<name>Maven IDEA Plug-in</name>
<currentVersion>1.2</currentVersion>
<currentVersion>1.2-SNAPSHOT</currentVersion>
<shortDescription>IDEA Plugin for Maven</shortDescription>
<url>http://maven.apache.org/reference/plugins/idea/</url>
<siteDirectory>/www/maven.apache.org/reference/plugins/idea/</siteDirectory>
@ -32,5 +32,14 @@
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Brett Porter</name>
<id>brett</id>
<email>brett@apache.org</email>
<organization>f2 network</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
</developers>
</project>

View File

@ -0,0 +1,128 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<j:whitespace xmlns:j="jelly:core" xmlns="dummy" trim="true">
<project version="3" relativePaths="false">
<component name="ProjectRootManager" version="2">
<jdk name="java version &quot;${java.version}&quot;"/>
<projectPath>
<root type="composite">
<root type="simple" url="file://$PROJECT_DIR$"/>
</root>
</projectPath>
<sourcePath>
<root type="composite">
<!-- TODO... these won't work if absolute? -->
<j:if test="${sourcesPresent}">
<root type="simple" url="file://$$PROJECT_DIR$$/${pom.build.sourceDirectory}"/>
</j:if>
<j:if test="${unitTestSourcesPresent}">
<root type="simple" url="file://$$PROJECT_DIR$$/${pom.build.unitTestSourceDirectory}"/>
</j:if>
<root type="jdk" rootType="sourcePath" name="java version &quot;${java.version}&quot;"/>
</root>
</sourcePath>
<classPath>
<root type="composite">
<root type="jdk" rootType="classPath" name="java version &quot;${java.version}&quot;"/>
<root type="output"/>
<j:forEach var="lib" items="${pom.artifacts}">
<j:set var="dep" value="${lib.dependency}"/>
<j:if test="${dep.type=='jar'}">
<root type="simple" url="jar://${lib.path}!/"/>
</j:if>
</j:forEach>
</root>
</classPath>
<javadocPath>
<root type="composite">
<root type="jdk" rootType="javadocPath" name="java version &quot;${java.version}&quot;"/>
</root>
</javadocPath>
<assert_keyword enabled="no"/>
</component>
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac"/>
<option name="SYNCHRONIZE_OUTPUT_DIRECTORY" value="false"/>
<option name="DEFAULT_OUTPUT_PATH"/>
<option name="OUTPUT_MODE" value="single"/>
<resourceExtensions>
<entry name=".+\.(properties|xml|html)"/>
<entry name=".+\.(gif|png|jpeg)"/>
</resourceExtensions>
</component>
<component name="JavacSettings">
<option name="DEBUGGING_INFO" value="true"/>
<option name="GENERATE_NO_WARNINGS" value="false"/>
<option name="DEPRECATION" value="true"/>
<option name="ADDITIONAL_OPTIONS_STRING" value=""/>
<option name="MAXIMUM_HEAP_SIZE" value="128"/>
</component>
<component name="JikesSettings">
<option name="DEBUGGING_INFO" value="true"/>
<option name="DEPRECATION" value="true"/>
<option name="GENERATE_NO_WARNINGS" value="false"/>
<option name="GENERATE_MAKE_FILE_DEPENDENCIES" value="false"/>
<option name="DO_FULL_DEPENDENCE_CHECK" value="false"/>
<option name="IS_INCREMENTAL_MODE" value="false"/>
<option name="IS_EMACS_ERRORS_MODE" value="true"/>
<option name="ADDITIONAL_OPTIONS_STRING" value=""/>
<option name="MAXIMUM_HEAP_SIZE" value="128"/>
</component>
<component name="AntConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false"/>
<option name="FILTER_TARGETS" value="false"/>
</component>
<component name="CvsManager"/>
<component name="JavadocGenerationManager">
<option name="OUTPUT_DIRECTORY"/>
<option name="OPTION_SCOPE" value="protected"/>
<option name="OPTION_HIERARCHY" value="false"/>
<option name="OPTION_NAVIGATOR" value="false"/>
<option name="OPTION_INDEX" value="false"/>
<option name="OPTION_SEPARATE_INDEX" value="false"/>
<option name="OPTION_USE_1_1" value="false"/>
<option name="OPTION_DOCUMENT_TAG_USE" value="false"/>
<option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false"/>
<option name="OPTION_DOCUMENT_TAG_VERSION" value="false"/>
<option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="false"/>
<option name="OPTION_DEPRECATED_LIST" value="false"/>
<option name="OTHER_OPTIONS"/>
<option name="HEAP_SIZE"/>
<option name="OPEN_IN_BROWSER" value="false"/>
</component>
<j:set var="webSourceDir" value="${maven.war.src}"/>
<j:choose>
<j:when test="${empty(webSourceDir)}">
<component name="WebManager">
<OPTION enabled="false"/>
</component>
<component name="WebRootContainer"/>
</j:when>
<j:otherwise>
<component name="WebManager">
<OPTION enabled="true"/>
</component>
<component name="WebRootContainer">
<root url="file://$$PROJECT_DIR$$/${webSourceDir}" name="${pom.artifactId}" validate="false"/>
</component>
</j:otherwise>
</j:choose>
<component name="EjbManager" enabled="false"/>
<component name="JUnitProjectSettings">
<option name="TEST_RUNNER" value="UI"/>
</component>
<component name="EntryPointsManager">
<entry_points/>
</component>
<component name="EjbActionsConfiguration">
<option name="NEW_MESSAGE_BEAN_LAST_PACKAGE" value=""/>
<option name="NEW_ENTITY_BEAN_LAST_PACKAGE" value=""/>
<option name="NEW_SESSION_BEAN_LAST_PACKAGE" value=""/>
</component>
<component name="ExportToHTMLSettings">
<option name="PRINT_LINE_NUMBERS" value="false"/>
<option name="OPEN_IN_BROWSER" value="false"/>
<option name="OUTPUT_DIRECTORY"/>
</component>
</project>
</j:whitespace>

View File

@ -0,0 +1,457 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<j:whitespace xmlns:j="jelly:core" xmlns:u="jelly:util" xmlns="dummy" trim="true">
<project version="3" relativePaths="false">
<component name="FileEditorManager">
<history/>
<open_files/>
</component>
<component name="ToolWindowManager">
<frame x="1" y="1" width="1278" height="1004" extended-state="0"/>
<editor active="true"/>
<layout>
<window_info id="Messages" active="false" anchor="bottom" auto_hide="true" internal_type="sliding" type="sliding" visible="false" weight="0.33" order="-1"/>
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="2"/>
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="1"/>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="0"/>
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="sliding" type="sliding" visible="false" weight="0.4" order="0"/>
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="6"/>
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="2"/>
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="1"/>
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.4" order="5"/>
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="1"/>
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.4" order="3"/>
<window_info id="EJB" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="3"/>
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="0"/>
<window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="2"/>
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="4"/>
</layout>
</component>
<component name="Debugger">
<line_breakpoints/>
<exception_breakpoints>
<breakpoint_any>
<option name="NOTIFY_CAUGHT" value="true"/>
<option name="NOTIFY_UNCAUGHT" value="true"/>
<option name="ENABLED" value="false"/>
<option name="SUSPEND_VM" value="true"/>
<option name="COUNT_FILTER_ENABLED" value="false"/>
<option name="COUNT_FILTER" value="0"/>
<option name="CONDITION_ENABLED" value="false"/>
<option name="CONDITION"/>
<option name="LOG_ENABLED" value="false"/>
<option name="LOG_EXPRESSION_ENABLED" value="false"/>
<option name="LOG_MESSAGE"/>
<option name="CLASS_FILTERS_ENABLED" value="false"/>
<option name="INVERSE_CLASS_FILLTERS" value="false"/>
<option name="SUSPEND_POLICY" value="SuspendAll"/>
</breakpoint_any>
</exception_breakpoints>
<field_breakpoints/>
<method_breakpoints/>
</component>
<component name="DebuggerManager"/>
<component name="DebuggerSettings">
<option name="TRACING_FILTERS_ENABLED" value="true"/>
<option name="VALUE_LOOKUP_DELAY" value="700"/>
<option name="DEBUGGER_TRANSPORT" value="0"/>
<option name="FORCE_CLASSIC_VM" value="true"/>
<option name="HIDE_DEBUGGER_ON_PROCESS_TERMINATION" value="false"/>
<option name="SKIP_SYNTHETIC_METHODS" value="true"/>
<option name="SKIP_CONSTRUCTORS" value="false"/>
<option name="STEP_THREAD_SUSPEND_POLICY" value="SuspendThread"/>
<default_breakpoint_settings>
<option name="NOTIFY_CAUGHT" value="true"/>
<option name="NOTIFY_UNCAUGHT" value="true"/>
<option name="WATCH_MODIFICATION" value="true"/>
<option name="WATCH_ACCESS" value="true"/>
<option name="WATCH_ENTRY" value="true"/>
<option name="WATCH_EXIT" value="true"/>
<option name="ENABLED" value="true"/>
<option name="SUSPEND_VM" value="true"/>
<option name="COUNT_FILTER_ENABLED" value="false"/>
<option name="COUNT_FILTER" value="0"/>
<option name="CONDITION_ENABLED" value="false"/>
<option name="CONDITION"/>
<option name="LOG_ENABLED" value="false"/>
<option name="LOG_EXPRESSION_ENABLED" value="false"/>
<option name="LOG_MESSAGE"/>
<option name="CLASS_FILTERS_ENABLED" value="false"/>
<option name="INVERSE_CLASS_FILLTERS" value="false"/>
<option name="SUSPEND_POLICY" value="SuspendAll"/>
</default_breakpoint_settings>
<filter>
<option name="PATTERN" value="com.sun.*"/>
<option name="ENABLED" value="true"/>
</filter>
<filter>
<option name="PATTERN" value="java.*"/>
<option name="ENABLED" value="true"/>
</filter>
<filter>
<option name="PATTERN" value="javax.*"/>
<option name="ENABLED" value="true"/>
</filter>
<filter>
<option name="PATTERN" value="org.omg.*"/>
<option name="ENABLED" value="true"/>
</filter>
<filter>
<option name="PATTERN" value="sun.*"/>
<option name="ENABLED" value="true"/>
</filter>
<filter>
<option name="PATTERN" value="junit.*"/>
<option name="ENABLED" value="true"/>
</filter>
</component>
<component name="CompilerWorkspaceConfiguration">
<option name="COMPILE_IN_BACKGROUND" value="false"/>
<option name="AUTO_SHOW_ERRORS_IN_EDITOR" value="true"/>
</component>
<component name="ErrorTreeViewConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false"/>
<option name="HIDE_WARNINGS" value="false"/>
</component>
<component name="DaemonCodeAnalyzer">
<disable_hints/>
</component>
<component name="StructureViewFactory">
<option name="SORT_MODE" value="0"/>
<option name="GROUP_OVERRIDINGS" value="true"/>
<option name="GROUP_IMPLEMENTINGS" value="true"/>
<option name="AUTOSCROLL_MODE" value="true"/>
<option name="SHOW_METHODS" value="true"/>
<option name="SHOW_FIELDS" value="true"/>
<option name="AUTOSCROLL_FROM_SOURCE" value="false"/>
<option name="GROUP_GETTERS_AND_SETTERS" value="true"/>
</component>
<component name="CvsConfiguration">
<j:set var="cvsEnabled" value="false"/>
<j:set var="cvsPath" value=""/>
<u:available file="${basedir}/CVS/Root">
<u:loadText var="cvsRoot" file="${basedir}/CVS/Root"/>
<u:tokenize var="cvsRootValues" delim=":">${cvsRoot}</u:tokenize>
<j:set var="cvsRootValuesSize" value="${size(cvsRootValues)}"/>
<j:if test="${cvsRootValuesSize == 3}">
<j:set var="userServer" value="${cvsRootValues.get(1)}"/>
<j:set var="user" value="${userServer.substring(0,userServer.indexOf('@'))}"/>
<j:set var="server" value="${userServer.substring(userServer.indexOf('@'))}"/>
<cvs_root>
<option name="METHOD" value="${cvsRootValues.get(0)}"/>
<option name="USER_NAME" value="${user}"/>
<option name="HOST" value="${server.substring(1)}"/>
<option name="REPOSITORY" value="${cvsRootValues.get(2)}"/>
</cvs_root>
</j:if>
<j:if test="${cvsRootValuesSize == 2}">
<j:set var="userServer" value="${cvsRootValues.get(0)}"/>
<j:set var="user" value="${userServer.substring(0,userServer.indexOf('@'))}"/>
<j:set var="server" value="${userServer.substring(userServer.indexOf('@'))}"/>
<cvs_root>
<option name="METHOD" value="ext"/>
<option name="USER_NAME" value="${user}"/>
<option name="HOST" value="${server.substring(1)}"/>
<option name="REPOSITORY" value="${cvsRootValues.get(1)}"/>
</cvs_root>
</j:if>
<j:set var="cvsPath" value="${maven.cvs.client.exe}"/>
<j:if test="$">
<j:set var="cvsEnabled" value="true"/>
</j:if>
</u:available>
<Checkout>
<option name="DATE_TAG" value=""/>
<option name="REVISION_TAG" value=""/>
<option name="PRUNE_EMPTY_DIRS" value="true"/>
<option name="RESET_STICKY_TAGS" value="false"/>
<option name="NON_RECURSIVE" value="false"/>
<option name="CREATE_WORKING_DIR" value=""/>
<option name="ADDITIONAL_OPTIONS" value=""/>
</Checkout>
<Update>
<option name="DATE_TAG" value=""/>
<option name="REVISION_TAG" value=""/>
<option name="PRUNE_EMPTY_DIRS" value="true"/>
<option name="RESET_STICKY_TAGS" value="false"/>
<option name="NON_RECURSIVE" value="false"/>
<option name="CREATE_MISSING_DIRECTORIES" value="true"/>
<option name="DONT_CHANGE_FILES" value="false"/>
<option name="QUIET_MODE" value="false"/>
<option name="ADDITIONAL_OPTIONS" value=""/>
</Update>
<Commit>
<option name="NON_RECURSIVE" value="false"/>
<option name="REVISION_TAG"/>
<option name="LOG_MESSAGE"/>
<option name="ADDITIONAL_OPTIONS"/>
</Commit>
<Diff>
<option name="REVISION_TAG" value="HEAD"/>
<option name="DATE_TAG" value=""/>
<option name="IGNORE_WHITESPACE" value="false"/>
</Diff>
<Add>
<option name="ADD_AS_BINARY" value="false"/>
<option name="LOG_MESSAGE"/>
</Add>
<Status>
<option name="NON_RECURSIVE" value="false"/>
<option name="INCLUDE_TAGS" value="false"/>
</Status>
<Edit>
<option name="NON_RECURSIVE" value="false"/>
<option name="FORCE_RECURSIVE" value="false"/>
<option name="EDIT" value="false"/>
<option name="UNEDIT" value="false"/>
<option name="COMMIT" value="false"/>
<option name="ALL" value="true"/>
<option name="NONE" value="false"/>
</Edit>
<Remove>
<option name="NON_RECURSIVE" value="false"/>
<option name="FORCE_RECURSIVE" value="false"/>
<option name="DELETE_FILE" value="false"/>
</Remove>
<Log>
<option name="DEFAULT_BRANCH" value="false"/>
<option name="NON_RECURSIVE" value="false"/>
<option name="QUIET_MODE" value="true"/>
<option name="ADDITIONAL_OPTIONS" value=""/>
</Log>
<Editors>
<option name="NON_RECURSIVE" value="false"/>
<option name="FORCE_RECURSIVE" value="false"/>
</Editors>
<option name="CLIENT_PATH" value="${cvsPath}"/>
<option name="EXTERNAL_DIFF_PATH"/>
<option name="CVS_ENABLED" value="${cvsEnabled}"/>
<option name="USE_EXTERNAL_DIFF" value="false"/>
<option name="WORKING_FILES_READONLY" value="false"/>
<option name="COMPRESSION_LEVEL" value="0"/>
<option name="ADDITIONAL_OPTIONS" value=""/>
<option name="BINARY_FILES_EXTENSIONS"/>
<option name="REUSE_LAST_LOG_MESSAGE" value="false"/>
<option name="PUT_FOCUS_INTO_LOG_MESSAGE" value="false"/>
<option name="SHOW_PROJECT_ROOTS" value="true"/>
<option name="SHOW_UPDATE_OPTIONS" value="true"/>
<option name="SHOW_COMMIT_OPTIONS" value="true"/>
<option name="SHOW_DIFF_OPTIONS" value="true"/>
<option name="SHOW_ADD_OPTIONS" value="true"/>
<option name="SHOW_STATUS_OPTIONS" value="true"/>
<option name="SHOW_EDIT_OPTIONS" value="true"/>
<option name="SHOW_UNEDIT_OPTIONS" value="true"/>
<option name="SHOW_REMOVE_OPTIONS" value="true"/>
<option name="SHOW_LOG_OPTIONS" value="true"/>
<option name="SHOW_EDITORS_OPTIONS" value="true"/>
<option name="HIDE_UNKNOWN_FILES" value="false"/>
<option name="HIDE_MISSING_FILES" value="false"/>
<option name="HIDE_UP_TO_DATE_FILES" value="false"/>
</component>
<component name="ProjectViewSettings">
<navigator currentView="ProjectPane" flattenPackages="false" showMembers="false" showStructure="false" autoscrollToSource="false" splitterProportion="0.5"/>
<view id="ProjectPane"/>
<view id="SourcepathPane"/>
<view id="ClasspathPane"/>
</component>
<component name="RunManager">
<option name="SHOW_SETTINGS_BEFORE_RUNNING" value="true"/>
<option name="COMPILE_BEFORE_RUNNING" value="true"/>
<activeType name="Application"/>
<configuration name="&lt;template&gt;" type="Application" default="true" selected="false">
<option name="MAIN_CLASS_NAME"/>
<option name="VM_PARAMETERS"/>
<option name="PROGRAM_PARAMETERS"/>
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$"/>
</configuration>
<configuration name="&lt;template&gt;" type="Applet" default="true" selected="false">
<option name="MAIN_CLASS_NAME"/>
<option name="HTML_FILE_NAME"/>
<option name="HTML_USED" value="false"/>
<option name="WIDTH" value="400"/>
<option name="HEIGHT" value="300"/>
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/config/appletviewer.policy"/>
<option name="VM_PARAMETERS"/>
</configuration>
<configuration name="&lt;template&gt;" type="JUnit" default="true" selected="false">
<option name="PACKAGE_NAME"/>
<option name="MAIN_CLASS_NAME"/>
<option name="METHOD_NAME"/>
<option name="TEST_OBJECT"/>
<option name="VM_PARAMETERS"/>
<option name="PARAMETERS"/>
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$"/>
</configuration>
<configuration name="&lt;template&gt;" type="Remote" default="true" selected="false">
<option name="USE_SOCKET_TRANSPORT" value="true"/>
<option name="SERVER_MODE" value="false"/>
<option name="SHMEM_ADDRESS" value="javadebug"/>
<option name="HOST" value="localhost"/>
<option name="PORT" value="5005"/>
</configuration>
<configuration name="&lt;template&gt;" type="WebApp" default="true" selected="false">
<WebServerIntegration/>
<Host>localhost</Host>
<Port>5050</Port>
</configuration>
</component>
<component name="BookmarkManager"/>
<component name="Commander">
<leftPanel view="Project" active="false"/>
<rightPanel view="Project" active="true"/>
<splitter proportion="0.5"/>
</component>
<component name="PropertiesComponent">
<property name="MemberChooser.showClasses" value="true"/>
<property name="GoToFile.includeJavaFiles" value="false"/>
<property name="MemberChooser.sorted" value="false"/>
<property name="GoToClass.includeLibraries" value="false"/>
<property name="MemberChooser.copyJavadoc" value="false"/>
<property name="GoToClass.toSaveIncludeLibraries" value="false"/>
</component>
<component name="SelectInManager"/>
<component name="VssConfiguration">
<CheckoutOptions>
<option name="COMMENT" value=""/>
<option name="DO_NOT_GET_LATEST_VERSION" value="false"/>
<option name="REPLACE_WRITABLE" value="false"/>
<option name="RECURSIVE" value="false"/>
</CheckoutOptions>
<CheckinOptions>
<option name="COMMENT" value=""/>
<option name="KEEP_CHECKED_OUT" value="false"/>
<option name="RECURSIVE" value="false"/>
</CheckinOptions>
<AddOptions>
<option name="COMMENT" value=""/>
<option name="STORE_ONLY_LATEST_VERSION" value="false"/>
<option name="CHECK_OUT_IMMEDIATELY" value="false"/>
<option name="FILE_TYPE" value="0"/>
</AddOptions>
<UndocheckoutOptions>
<option name="MAKE_WRITABLE" value="false"/>
<option name="REPLACE_LOCAL_COPY" value="0"/>
<option name="RECURSIVE" value="false"/>
</UndocheckoutOptions>
<DiffOptions>
<option name="IGNORE_WHITE_SPACE" value="false"/>
<option name="IGNORE_CASE" value="false"/>
</DiffOptions>
<GetOptions>
<option name="REPLACE_WRITABLE" value="0"/>
<option name="MAKE_WRITABLE" value="false"/>
<option name="RECURSIVE" value="false"/>
</GetOptions>
<option name="ENABLED" value="false"/>
<option name="CLIENT_PATH" value=""/>
<option name="SRCSAFEINI_PATH" value=""/>
<option name="USER_NAME" value=""/>
<option name="PWD" value=""/>
<option name="SHOW_CHECKOUT_OPTIONS" value="true"/>
<option name="SHOW_CHECKIN_OPTIONS" value="true"/>
<option name="SHOW_ADD_OPTIONS" value="true"/>
<option name="SHOW_UNDOCHECKOUT_OPTIONS" value="true"/>
<option name="SHOW_DIFF_OPTIONS" value="true"/>
<option name="SHOW_GET_OPTIONS" value="true"/>
<option name="USE_EXTERNAL_DIFF" value="false"/>
<option name="EXTERNAL_DIFF_PATH" value=""/>
<option name="REUSE_LAST_COMMENT" value="false"/>
<option name="PUT_FOCUS_INTO_COMMENT" value="false"/>
</component>
<component name="HierarchyBrowserManager">
<option name="SHOW_PACKAGES" value="false"/>
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false"/>
<option name="SORT_ALPHABETICALLY" value="false"/>
</component>
<component name="WebViewSettings">
<webview flattenPackages="false" showMembers="false" autoscrollToSource="false"/>
</component>
<component name="EjbViewSettings">
<EjbView showMembers="false" autoscrollToSource="false"/>
</component>
<component name="LvcsConfiguration">
<option name="LOCAL_VCS_ENABLED" value="true"/>
<option name="LOCAL_VCS_PURGING_PERIOD" value="259200000"/>
<option name="ADD_LABEL_ON_PROJECT_OPEN" value="true"/>
<option name="ADD_LABEL_ON_PROJECT_COMPILATION" value="true"/>
<option name="ADD_LABEL_ON_FILE_PACKAGE_COMPILATION" value="true"/>
<option name="ADD_LABEL_ON_PROJECT_MAKE" value="true"/>
<option name="ADD_LABEL_ON_RUNNING" value="true"/>
<option name="ADD_LABEL_ON_DEBUGGING" value="true"/>
<option name="ADD_LABEL_ON_UNIT_TEST" value="true"/>
</component>
<component name="InspectionManager">
<option name="AUTOSCROLL_TO_SOURCE" value="false"/>
<option name="SPLITTER_PROPORTION" value="0.5"/>
<inspection_tool class="Unreachable declaration" enabled="true">
<option name="ADD_MAINS_TO_ENTRIES" value="true"/>
<option name="ADD_JUNIT_TO_ENTRIES" value="true"/>
<option name="ADD_EJB_TO_ENTRIES" value="true"/>
<option name="ADD_APPLET_TO_ENTRIES" value="true"/>
<option name="ADD_SERVLET_TO_ENTRIES" value="true"/>
<option name="ADD_NONJAVA_TO_ENTRIES" value="true"/>
</inspection_tool>
<inspection_tool class="Declaration access can be weaker" enabled="true">
<option name="SUGGEST_PACKAGE_LOCAL_FOR_MEMBERS" value="true"/>
<option name="SUGGEST_PACKAGE_LOCAL_FOR_TOP_CLASSES" value="true"/>
<option name="SUGGEST_PRIVATE_FOR_INNERS" value="false"/>
</inspection_tool>
<inspection_tool class="Declaration can have static modifier" enabled="true"/>
<inspection_tool class="Declaration can have final modifier" enabled="true">
<option name="REPORT_CLASSES" value="false"/>
<option name="REPORT_METHODS" value="false"/>
<option name="REPORT_FIELDS" value="true"/>
</inspection_tool>
<inspection_tool class="Unused method parameters" enabled="true"/>
<inspection_tool class="Constant conditions &amp; NPEs" enabled="true"/>
<inspection_tool class="Assignment is not used" enabled="true"/>
<inspection_tool class="Type cast is redundant" enabled="true"/>
<inspection_tool class="Declaration has javadoc problems" enabled="true">
<option name="TOP_LEVEL_CLASS_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="public"/>
<option name="REQUIRED_TAGS" value=""/>
</value>
</option>
<option name="INNER_CLASS_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="protected"/>
<option name="REQUIRED_TAGS" value=""/>
</value>
</option>
<option name="METHOD_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="protected"/>
<option name="REQUIRED_TAGS" value="@return@param@throws or @exception"/>
</value>
</option>
<option name="FIELD_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="protected"/>
<option name="REQUIRED_TAGS" value=""/>
</value>
</option>
</inspection_tool>
<inspection_tool class="Empty method" enabled="false"/>
<inspection_tool class="Unused method return value" enabled="false"/>
<inspection_tool class="Method returns the same value" enabled="false"/>
<inspection_tool class="Actual method parameter is the same constant" enabled="false"/>
</component>
<component name="TodoView" selected-index="0">
<todo-panel id="selected-file">
<are-packages-shown value="false"/>
<flattern-packages value="false"/>
<is-autoscroll-to-source value="true"/>
</todo-panel>
<todo-panel id="all">
<are-packages-shown value="true"/>
<flattern-packages value="false"/>
<is-autoscroll-to-source value="true"/>
</todo-panel>
</component>
<component name="VcsManagerConfiguration">
<option name="ACTIVE_VCS_NAME" value=""/>
</component>
</project>
</j:whitespace>

View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<j:whitespace xmlns:j="jelly:core" xmlns="dummy" trim="true">
<module version="4" relativePaths="false">
<component name="LvcsConfiguration">
<option name="LOCAL_VCS_ENABLED" value="true"/>
<option name="LOCAL_VCS_PURGING_PERIOD" value="259200000"/>
<option name="MARK_EXTERNAL_CHANGES_AS_UP_TO_DATE" value="true"/>
</component>
<component name="NewModuleRootManager">
<!-- TODO: use maven.build.dest and maven.test.dest -->
<output url="file://$MODULE_DIR$/target/classes"/>
<output-test url="file://$MODULE_DIR$/target/test-classes"/>
<content url="file://$MODULE_DIR$">
<!-- TODO... these won't work if absolute? -->
<j:if test="${sourcesPresent}">
<sourceFolder url="file://$$MODULE_DIR$$/${pom.build.sourceDirectory}" isTestSource="false"/>
</j:if>
<j:if test="${unitTestSourcesPresent}">
<sourceFolder url="file://$$MODULE_DIR$$/${pom.build.unitTestSourceDirectory}" isTestSource="true"/>
</j:if>
</content>
<orderEntry type="jdk" jdkName="java version &quot;${java.version}&quot;"/>
<orderEntry type="sourceFolder" forTests="false"/>
<j:forEach var="lib" items="${pom.artifacts}">
<j:set var="dep" value="${lib.dependency}"/>
<j:if test="${dep.type=='jar'}">
<orderEntry type="module-library">
<library name="${dep.artifactId}">
<CLASSES>
<root url="jar://${lib.path}!/"/>
</CLASSES>
<JAVADOC/>
<SOURCES/>
</library>
</orderEntry>
</j:if>
</j:forEach>
</component>
<component name="ModuleRootManager"/>
</module>
</j:whitespace>

View File

@ -0,0 +1,111 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<j:whitespace xmlns:j="jelly:core" xmlns="dummy" trim="true">
<project version="4" relativePaths="false">
<component name="ProjectRootManager" version="2" assert-keyword="false"/>
<component name="CodeStyleManager">
<option name="USE_DEFAULT_CODE_STYLE_SCHEME" value="true"/>
<option name="CODE_STYLE_SCHEME" value=""/>
</component>
<component name="ProjectModuleManager">
<modules>
<module filepath="$$PROJECT_DIR$$/${pom.artifactId}.iml"/>
</modules>
</component>
<component name="libraryTable"/>
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac"/>
<option name="CLEAR_OUTPUT_DIRECTORY" value="false"/>
<!-- TODO: exclusions?
<excludeFromCompile>
<file url="file://$$PROJECT_DIR$$/src/webapp/WEB-INF/jsp/index.jspf"/>
</excludeFromCompile>
-->
<resourceExtensions>
<entry name=".+\.(properties|xml|html)"/>
<entry name=".+\.(gif|png|jpeg)"/>
</resourceExtensions>
</component>
<component name="JavacSettings">
<option name="DEBUGGING_INFO" value="true"/>
<option name="GENERATE_NO_WARNINGS" value="false"/>
<option name="DEPRECATION" value="true"/>
<option name="ADDITIONAL_OPTIONS_STRING" value=""/>
<option name="MAXIMUM_HEAP_SIZE" value="128"/>
<option name="USE_GENERICS_COMPILER" value="false"/>
</component>
<component name="JikesSettings">
<option name="DEBUGGING_INFO" value="true"/>
<option name="DEPRECATION" value="true"/>
<option name="GENERATE_NO_WARNINGS" value="false"/>
<option name="GENERATE_MAKE_FILE_DEPENDENCIES" value="false"/>
<option name="DO_FULL_DEPENDENCE_CHECK" value="false"/>
<option name="IS_INCREMENTAL_MODE" value="false"/>
<option name="IS_EMACS_ERRORS_MODE" value="true"/>
<option name="ADDITIONAL_OPTIONS_STRING" value=""/>
<option name="MAXIMUM_HEAP_SIZE" value="128"/>
</component>
<component name="AntConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false"/>
<option name="FILTER_TARGETS" value="false"/>
</component>
<component name="JavadocGenerationManager">
<option name="OUTPUT_DIRECTORY"/>
<option name="OPTION_SCOPE" value="protected"/>
<option name="OPTION_HIERARCHY" value="false"/>
<option name="OPTION_NAVIGATOR" value="false"/>
<option name="OPTION_INDEX" value="false"/>
<option name="OPTION_SEPARATE_INDEX" value="false"/>
<option name="OPTION_USE_1_1" value="false"/>
<option name="OPTION_DOCUMENT_TAG_USE" value="false"/>
<option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false"/>
<option name="OPTION_DOCUMENT_TAG_VERSION" value="false"/>
<option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="false"/>
<option name="OPTION_DEPRECATED_LIST" value="false"/>
<option name="OTHER_OPTIONS"/>
<option name="HEAP_SIZE"/>
<option name="OPEN_IN_BROWSER" value="false"/>
</component>
<j:set var="webSourceDir" value="${maven.war.src}"/>
<j:choose>
<j:when test="${empty(webSourceDir)}">
<component name="WebManager">
<OPTION enabled="false"/>
</component>
<component name="WebRootContainer"/>
</j:when>
<j:otherwise>
<component name="WebManager">
<OPTION enabled="true"/>
</component>
<component name="WebRootContainer">
<root url="file://$$PROJECT_DIR$$/${webSourceDir}" name="${pom.artifactId}" validate="false"/>
</component>
</j:otherwise>
</j:choose>
<component name="EjbManager" enabled="false"/>
<component name="JUnitProjectSettings">
<option name="TEST_RUNNER" value="UI"/>
</component>
<component name="EntryPointsManager">
<entry_points/>
</component>
<component name="DataSourceManager"/>
<component name="EjbActionsConfiguration">
<option name="NEW_MESSAGE_BEAN_LAST_PACKAGE" value=""/>
<option name="NEW_ENTITY_BEAN_LAST_PACKAGE" value=""/>
<option name="NEW_SESSION_BEAN_LAST_PACKAGE" value=""/>
</component>
<component name="ExportToHTMLSettings">
<option name="PRINT_LINE_NUMBERS" value="false"/>
<option name="OPEN_IN_BROWSER" value="false"/>
<option name="OUTPUT_DIRECTORY"/>
</component>
<component name="ImportConfiguration">
<option name="VENDOR"/>
<option name="RELEASE_TAG"/>
<option name="LOG_MESSAGE"/>
<option name="CHECKOUT_AFTER_IMPORT" value="true"/>
</component>
</project>
</j:whitespace>

View File

@ -0,0 +1,302 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<j:whitespace xmlns:j="jelly:core" xmlns:u="jelly:util" xmlns="dummy" trim="true">
<project version="4" relativePaths="false">
<component name="LvcsProjectConfiguration">
<option name="ADD_LABEL_ON_PROJECT_OPEN" value="true" />
<option name="ADD_LABEL_ON_PROJECT_COMPILATION" value="true" />
<option name="ADD_LABEL_ON_FILE_PACKAGE_COMPILATION" value="true" />
<option name="ADD_LABEL_ON_PROJECT_MAKE" value="true" />
<option name="ADD_LABEL_ON_RUNNING" value="true" />
<option name="ADD_LABEL_ON_DEBUGGING" value="true" />
<option name="ADD_LABEL_ON_UNIT_TEST_PASSED" value="true" />
<option name="ADD_LABEL_ON_UNIT_TEST_FAILED" value="true" />
</component>
<component name="PropertiesComponent">
<property name="MemberChooser.copyJavadoc" value="false" />
<property name="GoToClass.includeLibraries" value="false" />
<property name="MemberChooser.showClasses" value="true" />
<property name="MemberChooser.sorted" value="false" />
<property name="GoToFile.includeJavaFiles" value="false" />
<property name="GoToClass.toSaveIncludeLibraries" value="false" />
</component>
<component name="ToolWindowManager">
<frame x="-4" y="-4" width="1032" height="746" extended-state="6" />
<editor active="false" />
<layout>
<window_info id="CVS" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="-1" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="7" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="0" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="1" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="1" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="-1" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.4" order="6" />
<window_info id="Aspects" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="-1" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="1" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="2" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="2" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.4" order="4" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="sliding" type="sliding" visible="false" weight="0.4" order="0" />
<window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="2" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="0" />
<window_info id="EJB" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="3" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="5" />
</layout>
</component>
<component name="ErrorTreeViewConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
<option name="HIDE_WARNINGS" value="false" />
</component>
<component name="StructureViewFactory">
<option name="SORT_MODE" value="0" />
<option name="GROUP_INHERITED" value="true" />
<option name="AUTOSCROLL_MODE" value="true" />
<option name="SHOW_FIELDS" value="true" />
<option name="AUTOSCROLL_FROM_SOURCE" value="false" />
<option name="GROUP_GETTERS_AND_SETTERS" value="true" />
<option name="SHOW_INHERITED" value="false" />
<option name="HIDE_NOT_PUBLIC" value="false" />
</component>
<component name="ProjectViewSettings">
<navigator currentView="ProjectPane" flattenPackages="false" showMembers="false" showStructure="false" autoscrollToSource="false" splitterProportion="0.5" />
<view id="ProjectPane">
<expanded_node type="directory" url="file://$PROJECT_DIR$" />
</view>
<view id="SourcepathPane" />
<view id="ClasspathPane" />
</component>
<component name="Commander">
<leftPanel view="Project" />
<rightPanel view="Project" />
<splitter proportion="0.5" />
</component>
<component name="AspectsView" />
<component name="SelectInManager" />
<component name="HierarchyBrowserManager">
<option name="SHOW_PACKAGES" value="false" />
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
<option name="SORT_ALPHABETICALLY" value="false" />
</component>
<component name="TodoView" selected-index="0">
<todo-panel id="selected-file">
<are-packages-shown value="false" />
<flatten-packages value="false" />
<is-autoscroll-to-source value="true" />
</todo-panel>
<todo-panel id="all">
<are-packages-shown value="true" />
<flatten-packages value="false" />
<is-autoscroll-to-source value="true" />
</todo-panel>
</component>
<component name="editorManager" />
<component name="editorHistoryManager" />
<component name="DaemonCodeAnalyzer">
<disable_hints />
</component>
<component name="InspectionManager">
<option name="AUTOSCROLL_TO_SOURCE" value="false" />
<option name="SPLITTER_PROPORTION" value="0.5" />
<profile name="Default" />
</component>
<component name="BookmarkManager" />
<component name="DebuggerManager">
<line_breakpoints />
<exception_breakpoints>
<breakpoint_any>
<option name="NOTIFY_CAUGHT" value="true" />
<option name="NOTIFY_UNCAUGHT" value="true" />
<option name="ENABLED" value="false" />
<option name="SUSPEND_VM" value="true" />
<option name="COUNT_FILTER_ENABLED" value="false" />
<option name="COUNT_FILTER" value="0" />
<option name="CONDITION_ENABLED" value="false" />
<option name="CONDITION" />
<option name="LOG_ENABLED" value="false" />
<option name="LOG_EXPRESSION_ENABLED" value="false" />
<option name="LOG_MESSAGE" />
<option name="CLASS_FILTERS_ENABLED" value="false" />
<option name="INVERSE_CLASS_FILLTERS" value="false" />
<option name="SUSPEND_POLICY" value="SuspendAll" />
</breakpoint_any>
</exception_breakpoints>
<field_breakpoints />
<method_breakpoints />
</component>
<component name="DebuggerSettings">
<option name="TRACING_FILTERS_ENABLED" value="true" />
<option name="TOSTRING_CLASSES_ENABLED" value="false" />
<option name="VALUE_LOOKUP_DELAY" value="700" />
<option name="DEBUGGER_TRANSPORT" value="0" />
<option name="FORCE_CLASSIC_VM" value="true" />
<option name="HIDE_DEBUGGER_ON_PROCESS_TERMINATION" value="false" />
<option name="SKIP_SYNTHETIC_METHODS" value="true" />
<option name="SKIP_CONSTRUCTORS" value="false" />
<option name="STEP_THREAD_SUSPEND_POLICY" value="SuspendThread" />
<default_breakpoint_settings>
<option name="NOTIFY_CAUGHT" value="true" />
<option name="NOTIFY_UNCAUGHT" value="true" />
<option name="WATCH_MODIFICATION" value="true" />
<option name="WATCH_ACCESS" value="true" />
<option name="WATCH_ENTRY" value="true" />
<option name="WATCH_EXIT" value="true" />
<option name="ENABLED" value="true" />
<option name="SUSPEND_VM" value="true" />
<option name="COUNT_FILTER_ENABLED" value="false" />
<option name="COUNT_FILTER" value="0" />
<option name="CONDITION_ENABLED" value="false" />
<option name="CONDITION" />
<option name="LOG_ENABLED" value="false" />
<option name="LOG_EXPRESSION_ENABLED" value="false" />
<option name="LOG_MESSAGE" />
<option name="CLASS_FILTERS_ENABLED" value="false" />
<option name="INVERSE_CLASS_FILLTERS" value="false" />
<option name="SUSPEND_POLICY" value="SuspendAll" />
</default_breakpoint_settings>
<filter>
<option name="PATTERN" value="com.sun.*" />
<option name="ENABLED" value="true" />
</filter>
<filter>
<option name="PATTERN" value="java.*" />
<option name="ENABLED" value="true" />
</filter>
<filter>
<option name="PATTERN" value="javax.*" />
<option name="ENABLED" value="true" />
</filter>
<filter>
<option name="PATTERN" value="org.omg.*" />
<option name="ENABLED" value="true" />
</filter>
<filter>
<option name="PATTERN" value="sun.*" />
<option name="ENABLED" value="true" />
</filter>
<filter>
<option name="PATTERN" value="junit.*" />
<option name="ENABLED" value="true" />
</filter>
</component>
<component name="CompilerWorkspaceConfiguration">
<option name="COMPILE_IN_BACKGROUND" value="false" />
<option name="AUTO_SHOW_ERRORS_IN_EDITOR" value="true" />
</component>
<component name="RunManager">
<option name="SHOW_SETTINGS_BEFORE_RUNNING" value="true" />
<option name="COMPILE_BEFORE_RUNNING" value="true" />
<activeType name="Application" />
<configuration name="&lt;template&gt;" type="Application" default="true" selected="false">
<option name="MAIN_CLASS_NAME" />
<option name="VM_PARAMETERS" />
<option name="PROGRAM_PARAMETERS" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
</configuration>
<configuration name="&lt;template&gt;" type="Applet" default="true" selected="false">
<option name="MAIN_CLASS_NAME" />
<option name="HTML_FILE_NAME" />
<option name="HTML_USED" value="false" />
<option name="WIDTH" value="400" />
<option name="HEIGHT" value="300" />
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
<option name="VM_PARAMETERS" />
</configuration>
<configuration name="&lt;template&gt;" type="JUnit" default="true" selected="false">
<option name="PACKAGE_NAME" />
<option name="MAIN_CLASS_NAME" />
<option name="METHOD_NAME" />
<option name="TEST_OBJECT" />
<option name="VM_PARAMETERS" />
<option name="PARAMETERS" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="ADDITIONAL_CLASS_PATH" />
</configuration>
<configuration name="&lt;template&gt;" type="Remote" default="true" selected="false">
<option name="USE_SOCKET_TRANSPORT" value="true" />
<option name="SERVER_MODE" value="false" />
<option name="SHMEM_ADDRESS" value="javadebug" />
<option name="HOST" value="localhost" />
<option name="PORT" value="5005" />
</configuration>
<configuration name="&lt;template&gt;" type="WebApp" default="true" selected="false">
<WebServerIntegration name="" />
<Host>localhost</Host>
<Port>5050</Port>
<LaunchServer>false</LaunchServer>
</configuration>
</component>
<component name="VcsManagerConfiguration">
<option name="ACTIVE_VCS_NAME" value="" /> <!-- TODO: CVS value -->
</component>
<component name="VssConfiguration">
<CheckoutOptions>
<option name="COMMENT" value="" />
<option name="DO_NOT_GET_LATEST_VERSION" value="false" />
<option name="REPLACE_WRITABLE" value="false" />
<option name="RECURSIVE" value="false" />
</CheckoutOptions>
<CheckinOptions>
<option name="COMMENT" value="" />
<option name="KEEP_CHECKED_OUT" value="false" />
<option name="RECURSIVE" value="false" />
</CheckinOptions>
<AddOptions>
<option name="COMMENT" value="" />
<option name="STORE_ONLY_LATEST_VERSION" value="false" />
<option name="CHECK_OUT_IMMEDIATELY" value="false" />
<option name="FILE_TYPE" value="0" />
</AddOptions>
<UndocheckoutOptions>
<option name="MAKE_WRITABLE" value="false" />
<option name="REPLACE_LOCAL_COPY" value="0" />
<option name="RECURSIVE" value="false" />
</UndocheckoutOptions>
<DiffOptions>
<option name="IGNORE_WHITE_SPACE" value="false" />
<option name="IGNORE_CASE" value="false" />
</DiffOptions>
<GetOptions>
<option name="REPLACE_WRITABLE" value="0" />
<option name="MAKE_WRITABLE" value="false" />
<option name="RECURSIVE" value="false" />
</GetOptions>
<option name="CLIENT_PATH" value="" />
<option name="SRCSAFEINI_PATH" value="" />
<option name="USER_NAME" value="" />
<option name="PWD" value="" />
<option name="SHOW_CHECKOUT_OPTIONS" value="true" />
<option name="SHOW_ADD_OPTIONS" value="true" />
<option name="SHOW_UNDOCHECKOUT_OPTIONS" value="true" />
<option name="SHOW_DIFF_OPTIONS" value="true" />
<option name="SHOW_GET_OPTIONS" value="true" />
<option name="USE_EXTERNAL_DIFF" value="false" />
<option name="EXTERNAL_DIFF_PATH" value="" />
<option name="REUSE_LAST_COMMENT" value="false" />
<option name="PUT_FOCUS_INTO_COMMENT" value="false" />
<option name="SHOW_CHECKIN_OPTIONS" value="true" />
<option name="LAST_COMMIT_MESSAGE" value="" />
<option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
</component>
<component name="CheckinPanelState" />
<component name="WebViewSettings">
<webview flattenPackages="false" showMembers="false" autoscrollToSource="false" />
</component>
<component name="EjbViewSettings">
<EjbView showMembers="false" autoscrollToSource="false" />
</component>
<component name="AppServerRunManager" />
<component name="StarteamConfiguration">
<option name="SERVER" value="" />
<option name="PORT" value="49201" />
<option name="USER" value="" />
<option name="PASSWORD" value="" />
<option name="PROJECT" value="" />
<option name="VIEW" value="" />
<option name="ALTERNATIVE_WORKING_PATH" value="" />
<option name="PUT_FOCUS_INTO_COMMENT" value="false" />
<option name="SHOW_CHECKIN_OPTIONS" value="true" />
<option name="LAST_COMMIT_MESSAGE" value="" />
<option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
</component>
</project>
</j:whitespace>

View File

@ -67,11 +67,17 @@
<dependency>
<id>ant</id>
<version>1.5.3-1</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-log</artifactId>
<version>20030211.142821</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>commons-logging</id>
@ -80,10 +86,16 @@
<dependency>
<id>dom4j</id>
<version>1.4</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>xml-apis</id>
<version>1.0.b2</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>junit</id>

View File

@ -1,3 +1,5 @@
<?xml version="1.0"?>
<project
xmlns:ant="jelly:ant">

View File

@ -21,6 +21,9 @@
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-velocity</artifactId>
<version>20030303.205659</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>

View File

@ -6,6 +6,27 @@
xmlns:define="jelly:define"
xmlns:maven="jelly:maven">
<j:choose>
<j:when test="${!pom.build.resources.includes.isEmpty()}">
<ant:property name="maven.has.jar.resource.patterns" value="true"/>
</j:when>
<j:when test="${!pom.build.resources.excludes.isEmpty()}">
<ant:property name="maven.has.jar.resource.patterns" value="true"/>
</j:when>
<j:otherwise>
<ant:property name="maven.has.jar.resource.patterns" value="false"/>
</j:otherwise>
</j:choose>
<ant:patternset id="maven.jar.resources.set">
<j:forEach var="res" items="${pom.build.resources.includes}">
<ant:include name="${res}"/>
</j:forEach>
<j:forEach var="res" items="${pom.build.resources.excludes}">
<ant:exclude name="${res}"/>
</j:forEach>
</ant:patternset>
<!-- ================================================================== -->
<!-- P R E P A R E F I L E S Y S T E M -->
<!-- ================================================================== -->
@ -22,27 +43,26 @@
<goal name="java:compile"
description="Compile the project"
prereqs="java:prepare-filesystem">
<echo>Compiling to ${maven.build.dest}</echo>
<ant:echo>Compiling to ${maven.build.dest}</ant:echo>
<j:choose>
<j:when test="${sourcesPresent}">
<ant:javac
<j:when test="${sourcesPresent == 'true'}">
<ant:javac
destdir="${maven.build.dest}"
excludes="**/package.html"
debug="${plugins.java.compileDebug}"
deprecation="${plugins.java.compileDeprecation}"
target="${plugins.java.compileTarget}"
optimize="${plugins.java.compileOptimize}">
<j:forEach var="path" items="${pom.compileSourceRootsList}">
<ant:src path="${path}"/>
</j:forEach>
debug="${maven.compile.debug}"
deprecation="${maven.compile.deprecation}"
target="${maven.compile.target}"
optimize="${maven.compile.optimize}">
<ant:src>
<ant:path refid="maven.compile.src.set"/>
</ant:src>
<!--
|
| Source Modifications.
|
-->
<j:forEach var="sm" items="${pom.build.sourceModifications}">
<ant:available property="classPresent" classname="${sm.className}"/>
<j:if test="${classPresent != 'true'}">
@ -94,7 +114,7 @@
<goal name="java:jar"
description="Create the deliverable jar file."
prereqs="jar:jar">
<echo>java:jar is deprecated and will be removed. Please use jar:jar</echo>
<ant:echo>java:jar is deprecated and will be removed. Please use jar:jar</ant:echo>
</goal>
<!-- ================================================================== -->

View File

@ -4,7 +4,4 @@
maven.jar.manifest = ${maven.conf.dir}/Manifest.mf
maven.jar.mainclass =
compileTarget = 1.1
compileDebug = on
compileOptimize = off
compileDeprecation = off
maven.compile.target = 1.1

View File

@ -0,0 +1,35 @@
The Maven team is pleased to announce the JBoss plugin 1.2 release!
http://maven.apache.org/reference/plugins/jboss
The Maven JBoss plugin is a plugin containing goals useful for creating
a JBoss server configuration and deploying J2EE modules in it.
Changes in this version include (last changes first):
o Fixed bug when using JBoss 3.0.4/Tomcat 4.1.12 is used. When
jboss:start is executed, it causes a NoClassDefFoundError. This was due
to the working directory not being an absolute filename. Thanks to
Willie Wu.
o Copy dependencies using artifact path to allow jar overrides to work
o The plugin now supports JBoss 3.2.x by default. Support for
JBoss 3.0.x is still available by setting the
maven.jboss.version=3.0 property.
o Added default start/stop script that are packaged into the
generated jboss zip. Custom scripts can also be provided by
overriding the <code>maven.jboss.script.dir</code> property.
o When generating the JBoss server configuration zip, exclude
JBoss tmp and log directories from the zip.
o Change strategy for bunding J2EE modules in the jboss server
configuration. This is now achieved through dependencies in
project.xml. for any J2EE module you want to incude add a
jboss.bundle property in the said dependency definition.
Note that this plugin has been tested with Maven beta 10. Using it with
another version of Maven is at your own risks! :-)
You can download the JBoss Maven plugin here:
http://www.ibiblio.org/maven/maven/jars/maven-jboss-plugin-1.2.jar
Have fun!
-Vincent

View File

@ -163,8 +163,10 @@
</j:when>
<j:otherwise>
<ant:copy todir="${maven.jboss.build.bin.dir}" filtering="on">
<ant:exclude name="*.bat"/>
<ant:exclude name="shutdown*"/>
<ant:fileset dir="${maven.jboss.script.dir}">
<ant:exclude name="*.bat"/>
<ant:exclude name="shutdown*"/>
</ant:fileset>
</ant:copy>
<ant:copy tofile="${maven.jboss.build.bin.dir}/shutdown"
file="${maven.jboss.script.dir}/shutdown.${maven.jboss.version}"
@ -244,6 +246,9 @@
</j:when>
<j:otherwise>
<ant:exec dir="${maven.jboss.home}/bin" executable="sh">
<ant:arg line="${maven.jboss.build.bin.dir}/run"/>
</ant:exec>
</j:otherwise>
</j:choose>
@ -267,6 +272,9 @@
</j:when>
<j:otherwise>
<ant:exec dir="${maven.jboss.home}/bin" executable="sh">
<ant:arg line="${maven.jboss.build.bin.dir}/shutdown"/>
</ant:exec>
</j:otherwise>
</j:choose>

View File

@ -5,7 +5,7 @@
<pomVersion>3</pomVersion>
<id>maven-jboss-plugin</id>
<name>Maven JBoss Plug-in</name>
<currentVersion>1.2-SNAPSHOT</currentVersion>
<currentVersion>1.3-SNAPSHOT</currentVersion>
<description>Plugin for JBoss.</description>
<shortDescription>JBoss plugin</shortDescription>
<url>http://maven.apache.org/reference/plugins/jboss/</url>
@ -31,6 +31,11 @@
<version>
<id>1.2</id>
<name>1.2</name>
<tag>MAVEN_JBOSS_1_2</tag>
</version>
<version>
<id>1.3</id>
<name>1.3</name>
<tag>HEAD</tag>
</version>
</versions>
@ -53,8 +58,8 @@
<email>jcej@tragus.org</email>
</contributor>
<contributor>
<name>Willie Wu</name>
<email>ctwillie@ust.hk</email>
<name>Willie Vu</name>
<email>willievu@yahoo.com</email>
</contributor>
</contributors>

View File

@ -3,5 +3,5 @@
# Default JBoss start up shell script. It calls the default script found
# in JBOSS_HOME/bin.
# ----------------------------------------------------------------------------
JAVA_OPTS="-Djboss.server.home.dir=@jboss.server.home.dir@ -Djboss.server.home.url=@jboss.server.home.url@"
@maven.jboss.home@/bin/run -c @maven.jboss.conf.name@
export JAVA_OPTS="-Djboss.server.home.dir=@jboss.server.home.dir@ -Djboss.server.home.url=@jboss.server.home.url@"
@maven.jboss.home@/bin/run.sh -c @maven.jboss.conf.name@

View File

@ -3,4 +3,4 @@
# Default JBoss shutdown shell script. It calls the default script found
# in JBOSS_HOME/bin.
# ----------------------------------------------------------------------------
@maven.jboss.home@/bin/shutdown @maven.jboss.hostname@
@maven.jboss.home@/bin/shutdown.sh @maven.jboss.hostname@

View File

@ -3,4 +3,4 @@
# Default JBoss shutdown shell script. It calls the default script found
# in JBOSS_HOME/bin.
# ----------------------------------------------------------------------------
@maven.jboss.home@/bin/shutdown -S
@maven.jboss.home@/bin/shutdown.sh -S

View File

@ -7,7 +7,16 @@
<body>
<release version="1.2" date="in CVS">
<release version="1.3" date="in CVS">
<action dev="vmassol" type="fix" due-to="Willie Vu" due-to-email="ctwillie@ust.hk">
Fixes
<a href="http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-570">MAVEN-570</a>.
Make the JBoss plugin work on unix (JBoss scripts have a sh extension
which we were missing).
</action>
</release>
<release version="1.2" date="2003-08-18">
<action dev="vmassol" type="fix">
Fixed bug when using JBoss 3.0.4/Tomcat 4.1.12 is used. When
<code>jboss:start</code> is executed, it causes a

View File

@ -21,6 +21,13 @@
<th>Date</th>
<th>Description</th>
</tr>
<tr>
<td>18 Aug 2003</td>
<td>
Release of version 1.2. Read the
<a href="http://cvs.apache.org/viewcvs.cgi/maven/src/plugins-build/jboss/announcements/1.2.ann?rev=1.1&amp;content-type=text/vnd.viewcvs-markup">announcement</a>.
</td>
</tr>
<tr>
<td>17 Jun 2003</td>
<td>

View File

@ -13,6 +13,7 @@
<item name="Properties" href="/properties.html"/>
</menu>
<menu name="Downloads">
<item name="JBoss Plugin 1.2" href="http://www.ibiblio.org/maven/maven/jars/maven-jboss-plugin-1.2.jar"/>
<item name="JBoss Plugin 1.1" href="http://www.ibiblio.org/maven/maven/jars/maven-jboss-plugin-1.1.jar"/>
<item name="JBoss Plugin 1.0" href="http://www.ibiblio.org/maven/maven/jars/maven-jboss-plugin-1.0.jar"/>
</menu>

View File

@ -1,3 +1,5 @@
<?xml version="1.0"?>
<project
xmlns:j="jelly:core"
xmlns:u="jelly:util"
@ -195,7 +197,7 @@
</class>
<source>
<j:if test="${sourcesPresent}" >
<path><j:expr value="${basedir}/${project.build.sourceDirectory}" /></path>
<path><j:expr value="${project.build.sourceDirectory}" /></path>
</j:if>
</source>
<j:forEach var="lib" items="${project.dependencies}">

View File

@ -2,6 +2,7 @@
<project
xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:ant="jelly:ant">
<goal name="jdee"
@ -28,7 +29,8 @@
(quote (jde-project-name "${pom.artifactId}"))
(quote (jde-project-file-name "${maven.jdee.project.file}"))
<j:if test="${sourcesPresent}">
(quote (jde-sourcepath (quote ("./${pom.build.sourceDirectory}"))))
<maven:make-relative-path var="srcDir" basedir="${basedir}" path="${pom.build.sourceDirectory}" />
(quote (jde-sourcepath (quote ("./${srcDir}"))))
<j:whitespace />
</j:if>
(quote (jde-compile-option-directory "./target/classes"))
@ -45,7 +47,8 @@
</j:if>
(quote (jde-global-classpath (quote ("./target/classes"
<j:if test="${unitTestSourcesPresent}">
"./${pom.build.unitTestSourceDirectory}" <j:whitespace />
<maven:make-relative-path var="srcDir" basedir="${basedir}" path="${pom.build.unitTestSourceDirectory}" />
"./${srcDir}" <j:whitespace />
</j:if>
<!-- now iterate through all dependencies -->
<j:forEach var="lib" items="${pom.artifacts}">

View File

@ -67,24 +67,39 @@
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-jsl</artifactId>
<version>20030211.143151</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>jdepend</id>
<version>2.5</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>xerces</id>
<version>2.4.0</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>xml-apis</id>
<version>1.0.b2</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -2,6 +2,7 @@
<project
xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:ant="jelly:ant">
<!-- ================================================================== -->
@ -30,24 +31,26 @@
<ant:equals arg1="${maven.jdiff.old.tag}" arg2="CURRENT"/>
</ant:condition>
<maven:make-relative-path var="relativeSrcDir" basedir="${basedir}" path="${pom.build.sourceDirectory}" />
<j:choose>
<j:when test="${maven.jdiff.new.current}">
<ant:property name="maven.jdiff.new.src" value="${pom.build.SourceDirectory}"/>
<ant:property name="maven.jdiff.new.src" value="${relativeSrcDir}"/>
</j:when>
<j:otherwise>
<ant:property name="maven.jdiff.new.dir" value="${maven.jdiff.dir}/${maven.jdiff.new.tag}"/>
<ant:mkdir dir="${maven.jdiff.new.dir}"/>
<maven:make-relative-path var="mavenRelativeSrcDir" basedir="${basedir}" path="${maven.build.sourceDirectory}" />
<ant:cvs
cvsRoot="${pom.repository.cvsRoot}"
package="${pom.repository.cvsModule}/${maven.build.sourceDirectory}"
package="${pom.repository.cvsModule}/${mavenRelativeSrcDir}"
dest="${maven.jdiff.new.dir}"
tag="${maven.jdiff.new.tag}"
/>
<ant:property name="maven.jdiff.new.src"
value="${maven.jdiff.new.dir}/${pom.repository.cvsModule}/${pom.build.SourceDirectory}"/>
value="${maven.jdiff.new.dir}/${pom.repository.cvsModule}/${relativeSrcDir}"/>
</j:otherwise>
</j:choose>
@ -55,7 +58,7 @@
<j:choose>
<j:when test="${maven.jdiff.old.current}">
<ant:property name="maven.jdiff.old.src" value="${pom.build.SourceDirectory}"/>
<ant:property name="maven.jdiff.old.src" value="${relativeSrcDir}"/>
</j:when>
<j:otherwise>
@ -63,15 +66,16 @@
value="${maven.jdiff.dir}/${maven.jdiff.old.tag}"/>
<ant:mkdir dir="${maven.jdiff.old.dir}"/>
<maven:make-relative-path var="mavenRelativeSrcDir" basedir="${basedir}" path="${maven.build.sourceDirectory}" />
<ant:cvs
cvsRoot="${pom.repository.cvsRoot}"
package="${pom.repository.cvsModule}/${maven.build.sourceDirectory}"
package="${pom.repository.cvsModule}/${mavenRelativeSrcDir}"
dest="${maven.jdiff.old.dir}"
tag="${maven.jdiff.old.tag}"
/>
<ant:property name="maven.jdiff.old.src"
value="${maven.jdiff.old.dir}/${pom.repository.cvsModule}/${pom.build.SourceDirectory}"/>
value="${maven.jdiff.old.dir}/${pom.repository.cvsModule}/${relativeSrcDir}"/>
</j:otherwise>
</j:choose>

View File

@ -39,6 +39,9 @@
<dependency>
<id>jdiff</id>
<version>1.0.7</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -43,20 +43,32 @@
<artifactId>commons-jelly-tags-jsl</artifactId>
<version>20030211.143151</version>
<url>http://jakarta.apache.org/commons/jelly/tags/jsl/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>javadoc</id>
<version>1.3</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>nekohtml</id>
<version>0.7.1</version>
<version>0.7.7</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<!-- core dependencies which i'd have thought Maven introduced -->

View File

@ -21,4 +21,4 @@
</release>
</body>
</document>
</document>

View File

@ -46,12 +46,18 @@
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-jsl</artifactId>
<version>20030211.143151</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -1,3 +1,5 @@
<?xml version="1.0"?>
<project
xmlns:ant="jelly:ant"
xmlns:j="jelly:core">

View File

@ -72,16 +72,8 @@
<ant:copy file="${maven.jxr.stylesheet}"
tofile="${maven.jxr.destdir}/stylesheet.css"/>
<!-- XXX This is a dirty hack until the semantics of pom.build.sourceDirectory are cleared up -->
<j:set var="sourceDir" value="${pom.build.sourceDirectory}"/>
<util:file var="sourceDirFile" name="${sourceDir}"/>
<j:if test="${!sourceDirFile.isAbsolute()}">
<j:set var="sourceDir" value="${basedir}/${sourceDir}"/>
</j:if>
<jxr:jxr
sourceDir="${sourceDir}"
sourceDir="${pom.build.sourceDirectory}"
destDir="${maven.jxr.destdir}"
templateDir="${maven.jxr.templateDir}"
javadocDir="${javadocDestdir}"
@ -92,15 +84,9 @@
<j:if test="${unitTestSourcesPresent == 'true'}">
<ant:mkdir dir="${maven.jxr.destdir.test}"/>
<j:set var="testSourceDir" value="${pom.build.unitTestSourceDirectory}"/>
<util:file var="testSourceDirFile" name="${testSourceDir}"/>
<j:if test="${!testSourceDirFile.isAbsolute()}">
<j:set var="testSourceDir" value="${basedir}/${testSourceDir}"/>
</j:if>
<jxr:jxr
sourceDir="${testSourceDir}"
sourceDir="${pom.build.unitTestSourceDirectory}"
destDir="${maven.jxr.destdir.test}"
templateDir="${maven.jxr.templateDir}"
javadocDir="${null}"

View File

@ -48,37 +48,61 @@
<dependency>
<id>ant</id>
<version>1.5.3-1</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>commons-jelly</id>
<version>20030724.033229</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-jsl</artifactId>
<version>20030211.143151</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>commons-lang</id>
<version>1.0.1</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>dom4j</id>
<version>1.4</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>xerces</id>
<version>2.4.0</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>oro</id>
<version>2.0.7</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>commons-logging</id>
@ -87,6 +111,9 @@
<dependency>
<id>xml-apis</id>
<version>1.0.b2</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -66,7 +66,7 @@ import org.apache.tools.ant.DirectoryScanner;
* Main entry point into Maven used to kick off the XReference code building.
*
* @author <a href="mailto:burton@apache.org">Kevin A. Burton</a>
* @version $Id: JXR.java,v 1.5 2003/07/31 04:59:32 dion Exp $
* @version $Id: JXR.java,v 1.6 2003/08/19 04:45:06 dion Exp $
*/
public class JXR
{

View File

@ -80,7 +80,7 @@ import org.apache.commons.logging.LogFactory;
* @author <a href="mailto:lucas@collab.net">Josh Lucas</a>
* @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
* @author <a href="mailto:brian@brainslug.com">Brian Leonard</a>
* @version $Id: JxrBean.java,v 1.7 2003/08/04 14:35:36 dion Exp $
* @version $Id: JxrBean.java,v 1.8 2003/08/19 04:45:06 dion Exp $
*/
public class JxrBean
{

View File

@ -31,36 +31,60 @@
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>commons-latka</id>
<version>1.0-dev.20030107.163533</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>commons-httpclient</id>
<version>2.0alpha1-20020829</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>jaxen</id>
<version>1.0-FCS-full</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>jdom</id>
<version>1.0b8</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>junit</id>
<version>3.8.1</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>regexp</id>
<version>1.2</version>
<url>http://jakarta.apache.org/regexp/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>xalan</id>
<version>2.4.1</version>
<url>http://xml.apache.org/xalan-j/</url>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<!-- for samples -->
<!-- html taglib -->
@ -70,10 +94,16 @@
<artifactId>commons-jelly-tags-html</artifactId>
<version>20030317.100924</version>
<url>http://jakarta.apache.org/commons/jelly/libs/html/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>nekohtml</id>
<version>0.7.1</version>
<version>0.7.7</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -47,10 +47,10 @@
<!-- ================================================================== -->
<goal name="maven-license-plugin:register">
<doc:registerReport
name="Project License"
pluginName="maven-license-plugin"
link="license"
description="Displays the primary license for the project."/>
name="Project License"
pluginName="maven-license-plugin"
link="license"
description="Displays the primary license for the project."/>
</goal>
<goal name="maven-license-plugin:deregister">
@ -100,6 +100,7 @@
section="Project License"
output="${genDocs}/license.xml"
inputFile="${licenseFile}"/>
</goal>

View File

@ -19,14 +19,23 @@
<dependency>
<id>commons-beanutils</id>
<version>1.6.1</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>commons-collections</id>
<version>2.1</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>commons-grant</id>
<version>1.0-beta-4</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>commons-httpclient</id>
@ -35,49 +44,79 @@
<dependency>
<id>commons-jelly</id>
<version>20030724.033229</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>commons-util</id>
<version>final</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>commons-lang</id>
<version>1.0.1</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-jsl</artifactId>
<version>20030211.143151</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-ant</artifactId>
<version>20030211.142045</version>
<url>http://jakarta.apache.org/commons/jelly/libs/ant/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>commons-logging</id>
<version>1.0.3</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<!-- Required for commons-httpclient -->
<id>log4j</id>
<version>1.2.8</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>dom4j</id>
<version>1.4</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>jtidy</id>
<version>4aug2000r7-dev</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>maven</id>
@ -87,11 +126,17 @@
<id>rhino</id>
<version>1.5R4-RC3</version>
<jar>js-1.5R4-RC3.jar</jar>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>werkz</id>
<version>1.0-beta-11</version>
<version>1.0-beta-7</version>
<url>http://werkz.sourceforge.net/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -60,7 +60,9 @@
<attainGoal name="multiproject:create-nav"/>
<attainGoal name="multiproject:create-overview-page"/>
<!-- FIXME: This can't use multiproject:goal as it throws away the projects -->
<!-- generate site docs -->
<maven:reactor
basedir="${maven.multiproject.basedir}"
banner="Generating site for "

View File

@ -4,7 +4,7 @@
# MultiProject plugin.
# -------------------------------------------------------------------
maven.multiproject.basedir=${basedir}
maven.multiproject.includes=**/project.xml
maven.multiproject.includes=*/project.xml
maven.multiproject.excludes=
maven.multiproject.ignoreFailures=false
maven.multiproject.templates=${plugin.resources}/templates

View File

@ -31,10 +31,16 @@
<groupId>ant-contrib</groupId>
<artifactId>cpptasks</artifactId>
<version>20030309.134440</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>bcel</id>
<version>5.0</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -55,10 +55,16 @@
<dependency>
<id>xerces</id>
<version>2.4.0</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>xml-apis</id>
<version>1.0.b2</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>xalan</id>

View File

@ -43,10 +43,16 @@
<dependency>
<id>ant</id>
<version>1.5.3-1</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>oro</id>
<version>2.0.7</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -40,18 +40,27 @@
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-http</artifactId>
<version>20030211.143043</version>
<url>http://jakarta.apache.org/commons/jelly/libs/http/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>2.0-rc1</version>
<url>http://jakarta.apache.org/commons/httpclient/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -49,11 +49,17 @@
<dependency>
<id>dom4j</id>
<version>1.4</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>xml-apis</id>
<version>1.0.b2</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
@ -65,17 +71,26 @@
<dependency>
<id>isorelax</id>
<version>20030108</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<!-- validator being used -->
<dependency>
<id>xercesjarv</id>
<version>20020712-DG</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>xerces</id>
<version>2.4.0</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
</dependencies>

View File

@ -33,12 +33,18 @@
<artifactId>commons-jelly-tags-util</artifactId>
<version>20030211.141939</version>
<url>http://jakarta.apache.org/commons/jelly/libs/util/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-xml</artifactId>
<version>20030211.142705</version>
<url>http://jakarta.apache.org/commons/jelly/libs/xml/</url>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -1449,7 +1449,7 @@ Template:
<groupId>tjdo</groupId>
<url>http://tjdo.sourceforge.net/</url>
<file>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/tjdo/tjdo/docs/LICENSE.txt</file>
<comments></comments>
<comments>ASF Style</comments>
</project>
<project>

View File

@ -20,6 +20,9 @@
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-velocity</artifactId>
<version>20030303.205659</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>velocity</id>

View File

@ -14,6 +14,7 @@
<taskdef name="simian" classname="org.apache.maven.simian.FileSimianTask">
<classpath>
<pathelement location="${maven.build.dest}"/>
<pathelement location="${maven.test.dest}"/>
<pathelement location="${pom.getPluginContext('maven-clover-plugin').getVariable('maven.build.clover.classes')}"/>
<pathelement location="${pom.getDependencyPath('redhill:simian')}"/>
</classpath>

View File

@ -170,4 +170,4 @@
</j:whitespace>
</j:file>
</goal>
</project>
</project>

View File

@ -2,7 +2,7 @@
<project>
<extend>${basedir}/../project.xml</extend>
<id>maven-simian-plugin</id>
<name>Simian</name>
<name>Maven Simian Plugin</name>
<currentVersion>1.2-SNAPSHOT</currentVersion>
<description>Simian Plugin for Maven</description>
<shortDescription>Simian Plugin for Maven</shortDescription>
@ -89,14 +89,6 @@
</contributor>
</contributors>
<build>
<unitTest>
<includes>
<include>**/*TestCase.java</include>
</includes>
</unitTest>
</build>
<reports>
<!-- Make sure to run plugin:install before site -->
<report>maven-simian-plugin</report>

View File

@ -47,10 +47,16 @@
<dependency>
<id>statcvs</id>
<version>0.1.2a</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>jfreechart</id>
<version>0.9.2</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -39,6 +39,9 @@
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-log</artifactId>
<version>20030211.142821</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<id>commons-lang</id>
@ -59,10 +62,16 @@
<dependency>
<id>xml-apis</id>
<version>1.0.b2</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>ant</id>
<version>1.5.3-1</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>xerces</id>

View File

@ -1,77 +1,88 @@
<?xml version="1.0"?>
<project
xmlns:ant="jelly:ant"
xmlns:define="jelly:define"
xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:u="jelly:util">
<goal name="test"
<project xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:u="jelly:util"
xmlns:resources="resources"
xmlns:define="jelly:define">
<goal name="test"
description="Test the application"
prereqs="test:test"/>
<goal name="test:prepare-filesystem"
description="Create the needed directory structure">
<mkdir dir="${plugins.test.testDest}"/>
<mkdir dir="${plugins.test.reportsDirectory}"/>
<mkdir dir="${maven.test.dest}"/>
<mkdir dir="${maven.test.reportsDirectory}"/>
</goal>
<goal name="test:compile"
description="Compile the TestCases and TestSuites"
prereqs="java:compile,java:jar-resources,test:prepare-filesystem,test:test-resources">
<j:choose>
<j:when test="${unitTestSourcesPresent}">
<j:if test="${unitTestSourcesPresent == 'true'}">
<echo>Compiling test sources ...</echo>
<ant:javac
destdir="${plugins.test.testDest}"
excludes="**/package.html"
debug="${plugins.test.compileDebug}"
deprecation="${plugins.test.compileDeprecation}"
optimize="${plugins.test.compileOptimize}">
<javac
destdir="${maven.test.dest}"
excludes="**/package.html"
debug="${maven.compile.debug}"
deprecation="${maven.compile.deprecation}"
optimize="${maven.compile.optimize}">
<j:if test="${context.getVariable('maven.test.source') != null}">
<setProperty name="source" value="${maven.test.source}" />
</j:if>
<classpath>
<pathelement path="${maven.build.dest}"/>
<path refid="maven.dependency.classpath"/>
<pathelement path="${plugin.getDependencyPath('junit')}"/>
</classpath>
<src>
<path refid="maven.test.compile.src.set"/>
</src>
<j:if test="${context.getVariable('maven.compile.compilerargs') != null}">
<compilerarg line="${maven.compile.compilerargs}" />
</j:if>
<j:if test="${context.getVariable('maven.compile.encoding') != null}">
<setProperty name="encoding" value="${maven.compile.encoding}" />
</j:if>
<j:if test="${context.getVariable('maven.compile.executable') != null}">
<setProperty name="executable" value="${maven.compile.executable}" />
</j:if>
<j:if test="${context.getVariable('maven.compile.fork') != null}">
<setProperty name="fork" value="${maven.compile.fork}" />
</j:if>
<j:forEach var="path" items="${pom.testCompileSourceRootsList}">
<src path="${path}"/>
</j:forEach>
<j:if test="${context.getVariable('maven.compile.source') != null}">
<setProperty name="source" value="${maven.compile.source}" />
</j:if>
<j:if test="${context.getVariable('maven.compile.verbose') != null}">
<setProperty name="verbose" value="${maven.compile.verbose}" />
</j:if>
</javac>
</j:if>
<j:if test="${context.getVariable('maven.test.source') != null}">
<setProperty name="source" value="${maven.test.source}" />
</j:if>
<classpath>
<pathelement path="${maven.build.dest}"/>
<path refid="maven.dependency.classpath"/>
<pathelement path="${plugin.getDependencyPath('junit')}"/>
</classpath>
</ant:javac>
</j:when>
<j:otherwise>
<echo>No test sources to compile.</echo>
</j:otherwise>
</j:choose>
<j:if test="${!unitTestSourcesPresent}">
<echo>No test source files to compile.</echo>
</j:if>
</goal>
<goal name="test:test"
description="Test the application"
prereqs="test:compile">
<!--
<j:choose>
<j:when test="${unitTestSourcesPresent}">
<j:if test="${!plugins.test.skipTests}">
<j:if test="${unitTestSourcesPresent == 'true' and context.getVariable('maven.test.skip') != 'true'}">
<taskdef
name="junit"
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
<junit printSummary="yes"
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
/>
<junit printSummary="yes"
failureProperty="maven.test.failure"
fork="${maven.junit.fork}"
dir="${maven.junit.dir}">
@ -100,6 +111,7 @@
<j:forEach var="pat" items="${pom.build.unitTest.excludes}">
<exclude name="${pat}"/>
</j:forEach>
<!-- KEEP ALL ABSTRACT TESTS FROM BEING RUN! -->
<exclude name="**/*AbstractTestCase.java"/>
</fileset>
</batchtest>
@ -111,17 +123,12 @@
<fail message="There were test failures."/>
</j:if>
</j:if>
</j:if>
</j:when>
<j:otherwise>
<echo>No tests to run.</echo>
</j:otherwise>
</j:choose>
</j:if>
-->
<j:if test="${!unitTestSourcesPresent}">
<echo>No tests to run.</echo>
</j:if>
</goal>
@ -155,13 +162,13 @@
description="Execute a single test defined using the 'testcase' variable"
prereqs="test:compile">
<j:if test="${unitTestSourcesPresent}">
<j:if test="${unitTestSourcesPresent == 'true'}">
<j:choose>
<j:when test="${empty(testcase)}">
<echo>
You must define the test case to run via -Dtestcase=classname
Example: maven -Dtestcase=MyTest test:single-test
Example: maven -Dtestcase=MyTest test:single
</echo>
</j:when>
@ -217,13 +224,13 @@
description="Execute all the tests matching the given 'testmatch' variable"
prereqs="test:compile">
<j:if test="${unitTestSourcesPresent}">
<j:if test="${unitTestSourcesPresent == 'true'}">
<j:choose>
<j:when test="${empty(testmatch)}">
<echo>
You must define the test case to run via -Dtestmatch=pattern
Example: maven -Dtestmatch=*Foo* test:match-test
Example: maven -Dtestmatch=*Foo* test:match
</echo>
</j:when>

View File

@ -10,13 +10,4 @@ maven.junit.usefile = true
maven.test.dest = ${maven.build.dir}/test-classes
maven.test.reportsDirectory = ${maven.build.dir}/test-reports
maven.test.skip = false
maven.junit.jvmargs=
skipTests = false
compileDebug = on
compileDeprecation = on
compileOptimize = off
testDest = ${basedir}/target/test-classes
reportsDirectory = ${basedir}/target/test-reports
maven.junit.jvmargs=

View File

@ -19,16 +19,25 @@
<dependency>
<id>junit</id>
<version>3.8.1</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>xml-apis</id>
<version>1.0.b2</version>
<url>http://xml.apache.org/xerces2-j/</url>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
<dependency>
<id>xerces</id>
<version>2.0.2</version>
<version>2.4.0</version>
<url>http://xml.apache.org/xerces2-j/</url>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
</dependencies>
</project>

4
tjdo/.cvsignore Normal file
View File

@ -0,0 +1,4 @@
target
maven.log
velocity.log
build.properties

76
tjdo/plugin.jelly Normal file
View File

@ -0,0 +1,76 @@
<?xml version="1.0"?>
<!--
============================================================================
Plugin for Triactive JDO implementation.
============================================================================
-->
<project
xmlns:j="jelly:core"
xmlns:ant="jelly:ant"
xmlns:u="jelly:util"
xmlns:doc="doc">
<!--
========================================================================
Default goal.
========================================================================
-->
<goal name="tjdo"
description="Enhance classes for use with Triactive JDO"
prereqs="tjdo:enhance"/>
<!--
========================================================================
Initializations.
========================================================================
-->
<goal name="tjdo:init">
</goal>
<!--
========================================================================
Run the enhancer on any class files to make the persistable.
========================================================================
-->
<goal name="tjdo:enhance"
prereqs="tjdo:init">
<echo>JDO-enhancing classes for Triactive JDO</echo>
<!-- Construct FileSet of JDO files for enhancing -->
<j:set var="jdo_fileset_dir_var_name" value="maven.tjdo.jdo.fileset.dir"/>
<fileset dir="${context.getVariable(jdo_fileset_dir_var_name)}" id="jdo.files">
<!-- Includes -->
<j:set var="jdo_fileset_include_var_name" value="maven.tjdo.jdo.fileset.include"/>
<j:if test="${context.getVariable(jdo_fileset_include_var_name) != null}">
<include name="${context.getVariable(jdo_fileset_include_var_name)}"/>
</j:if>
<!-- Excludes -->
<j:set var="jdo_fileset_exclude_var_name" value="maven.tjdo.jdo.fileset.exclude"/>
<j:if test="${context.getVariable(jdo_fileset_exclude_var_name) != null}">
<exclude name="${context.getVariable(jdo_fileset_exclude_var_name)}"/>
</j:if>
</fileset>
<pathconvert pathsep=" " property="jdofiles" refid="jdo.files"/>
<!-- Construct CLASSPATH to include TJDO and dependencies -->
<path id="myclasspath">
<path refid="maven.dependency.classpath"/>
<pathelement path="${maven.build.dest}"/>
<pathelement path="${plugin.getDependencyPath('tjdo')}"/>
</path>
<!-- Run enhancer on JDO files -->
<ant:java dir="${maven.build.dest}"
classname="com.triactive.jdo.enhance.SunReferenceEnhancer"
failonerror="true"
fork="true">
<classpath refid="myclasspath"/>
<arg line="${jdofiles}"/>
</ant:java>
<echo>Classes are now JDO-enhanced for Triactive JDO</echo>
</goal>
</project>

18
tjdo/plugin.properties Normal file
View File

@ -0,0 +1,18 @@
# -------------------------------------------------------------------
# P L U G I N P R O P E R T I E S
# -------------------------------------------------------------------
# Triactive JDO plugin
# Author: Andy Jefferson (andy@ajsoft.net)
# -------------------------------------------------------------------
# Parameters for specification of location of JDO files
# Directory root
maven.tjdo.jdo.fileset.dir=${maven.build.dest}
# File Includes
maven.tjdo.jdo.fileset.include=**/*.jdo
# File Excludes
maven.tjdo.jdo.fileset.exclude=
# Location of any JAR containing the JDBC driver for the data store being used
maven.tjdo.jdbc.jar=

7
tjdo/project.properties Normal file
View File

@ -0,0 +1,7 @@
# -------------------------------------------------------------------
# P R O J E C T P R O P E R T I E S
# -------------------------------------------------------------------
maven.xdoc.date=left
maven.xdoc.version=${pom.currentVersion}
maven.license.licenseFile=${basedir}/../../../LICENSE.txt

27
tjdo/project.xml Normal file
View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<extend>${basedir}/../project.xml</extend>
<pomVersion>3</pomVersion>
<id>maven-tjdo-plugin</id>
<name>Maven TJDO plugin</name>
<currentVersion>0.1.1</currentVersion>
<description/>
<shortDescription>Maven TJDO plugin</shortDescription>
<url>http://maven.apache.org/reference/plugins/tjdo/</url>
<siteDirectory>/www/maven.apache.org/reference/plugins/tjdo/</siteDirectory>
<repository>
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/tjdo/</connection>
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/tjdo/</url>
</repository>
<developers/>
<dependencies>
<dependency>
<groupId>tjdo</groupId>
<artifactId>tjdo</artifactId>
<version>2.0-beta</version>
</dependency>
</dependencies>
</project>

15
tjdo/xdocs/changes.xml Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<document>
<properties>
<title>Changes</title>
<author email="andy@ajsoft.net">Andy Jefferson</author>
</properties>
<body>
<release version="0.1" date="2003-08-08">
<action dev="andy" type="add">
New plugin providing support for TJDO "enhance" method.
</action>
</release>
</body>
</document>

23
tjdo/xdocs/goals.xml Normal file
View File

@ -0,0 +1,23 @@
<?xml version="1.0"?>
<document>
<properties>
<title>Maven TJDO Plug-in Goals</title>
<author email="andy@ajsoft.net">Andy Jefferson</author>
</properties>
<body>
<section name="Goals">
<table>
<tr><th>Goal</th><th>Description</th></tr>
<tr>
<td>tjdo:enhance</td>
<td>
This is the default goal of the plugin. It provides the enhancement
of classes to use TJDO for persistence of java classes.
</td>
</tr>
</table>
</section>
</body>
</document>

17
tjdo/xdocs/index.xml Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0"?>
<document>
<properties>
<title>Maven TJDO Plug-in</title>
<author email="andy@ajsoft.net">Andy Jefferson</author>
</properties>
<body>
<section name="Maven TJDO Plugin">
<p>
This plugin provides an interface to the Triactive JDO implementation
(<a href="http://tjdo.sourceforge.net">TJDO</a>) of Sun's JDO spec.
</p>
</section>
</body>
</document>

Some files were not shown because too many files have changed in this diff Show More