You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2006/04/24 12:25:33 UTC

svn commit: r396502 [1/6] - in /cocoon/trunk/tools/cocoon-maven-eclipse-plugin: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/maven/ src/main/java/org/apache/maven/plugin/ src/main/java/org/apach...

Author: reinhard
Date: Mon Apr 24 03:24:53 2006
New Revision: 396502

URL: http://svn.apache.org/viewcvs?rev=396502&view=rev
Log:
Create a branch of the Maven Eclipse plugin to work on PDE support. The goal is to work on a patch that hopefully gets accepted by the Maven guys - in the meantime we can use the branched version to create Eclipse project files.

Added:
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/revision.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/AddMavenRepoMojo.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseCleanMojo.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseSourceDir.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/Messages.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/AbstractEclipseResourceWriter.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/AbstractWtpResourceWriter.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseClasspathWriter.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseProjectWriter.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseSettingsWriter.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseWtpComponentWriter.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseWtpFacetsWriter.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseWtpmodulesWriter.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/ide/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/ide/AbstractIdeSupportMojo.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/ide/IdeDependency.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/ide/IdeUtils.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/ide/Messages.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/resources/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/resources/org/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/resources/org/apache/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/resources/org/apache/maven/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/resources/org/apache/maven/plugin/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/resources/org/apache/maven/plugin/eclipse/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/resources/org/apache/maven/plugin/eclipse/messages.properties   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/resources/org/apache/maven/plugin/ide/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/resources/org/apache/maven/plugin/ide/messages.properties   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/optional/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/optional/eclipse-config/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/optional/eclipse-config/maven-styles.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/site/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/site/apt/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/site/apt/overview.apt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/site/apt/reactor.apt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/site/apt/wtp.apt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/site/site.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/java/org/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/java/org/apache/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/java/org/apache/maven/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/AbstractEclipsePluginTestCase.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginMasterProjectTest.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-compile/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-compile/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-compile/1.0/deps-direct-compile-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-compile/1.0/deps-direct-compile-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-optional/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-optional/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-optional/1.0/deps-direct-optional-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-optional/1.0/deps-direct-optional-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-provided/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-provided/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-provided/1.0/deps-direct-provided-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-provided/1.0/deps-direct-provided-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-test/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-test/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-test/1.0/deps-direct-test-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-direct-test/1.0/deps-direct-test-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-compile/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-compile/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-compile/1.0/deps-refproject-compile-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-compile/1.0/deps-refproject-compile-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-optional/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-optional/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-optional/1.0/deps-refproject-optional-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-optional/1.0/deps-refproject-optional-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-provided/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-provided/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-provided/1.0/deps-refproject-provided-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-provided/1.0/deps-refproject-provided-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-test/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-test/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-test/1.0/deps-refproject-test-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/deps-refproject-test/1.0/deps-refproject-test-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-compile/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-compile/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-compile/1.0/direct-compile-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-compile/1.0/direct-compile-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-optional/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-optional/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-optional/1.0/direct-optional-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-optional/1.0/direct-optional-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-provided/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-provided/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-provided/1.0/direct-provided-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-provided/1.0/direct-provided-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-test/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-test/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-test/1.0/direct-test-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/direct-test/1.0/direct-test-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-compile/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-compile/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-compile/1.0/refproject-compile-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-compile/1.0/refproject-compile-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-optional/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-optional/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-optional/1.0/refproject-optional-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-optional/1.0/refproject-optional-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-provided/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-provided/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-provided/1.0/refproject-provided-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-provided/1.0/refproject-provided-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-test/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-test/1.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-test/1.0/refproject-test-1.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/eclipsetest/refproject-test/1.0/refproject-test-1.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/junit/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/junit/junit/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/junit/junit/2.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/junit/junit/2.0/junit-2.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/junit/junit/2.0/junit-2.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/junit/junit/3.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/junit/junit/3.0/junit-3.0-javadoc.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/junit/junit/3.0/junit-3.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/junit/junit/3.0/junit-3.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/maven/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/maven/maven-core/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/maven/maven-core/98.0/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/maven/maven-core/98.0/maven-core-98.0-sources.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/maven/maven-core/98.0/maven-core-98.0-tests.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/maven/maven-core/98.0/maven-core-98.0.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/m2repo/maven/maven-core/98.0/maven-core-98.0.pom   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-1/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-1/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-1/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-1/refproject-sysdep.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-1/src/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-1/src/main/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-1/src/main/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-1/src/main/java/DummyClass.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-1/wtpmodules   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-2/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-2/direct-sysdep.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-2/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-2/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-2/src/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-2/src/main/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-2/src/main/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/module-2/src/main/java/DummyClass.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/master-test/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-1/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-1/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-1/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-1/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-1/src/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-1/src/main/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-1/src/main/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-1/src/main/java/DummyClass.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-1/wtpmodules   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-10/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-10/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-10/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-10/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-10/settings   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-10/src/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-10/src/main/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-10/src/main/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-10/src/main/java/DummyClass.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-10/wtpmodules   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-11/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-11/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-11/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-11/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-11/src/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-11/src/main/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-11/src/main/modello/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-11/src/main/modello/dummy.mdo   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-11/wtpmodules   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-12/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-12/component   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-12/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-12/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-13/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-13/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-13/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-13/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-14/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-14/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-14/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-14/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-15/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-15/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-15/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-15/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-16/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-16/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-16/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-16/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-17/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-17/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-17/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-17/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-18/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-18/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-18/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-18/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-18/sysdep.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-19/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-19/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-19/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-19/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/settings   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/src/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/src/main/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/src/main/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/src/main/java/DummyClass.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/src/main/resources/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/src/main/resources/dummy   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/src/test/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/src/test/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/src/test/java/DummyClass.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/src/test/resources/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/src/test/resources/dummy   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-2/wtpmodules   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/src/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/src/main/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/src/main/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/src/main/java/DummyClass.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/src/main/resources/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/src/main/resources/dummy   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/src/test/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/src/test/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/src/test/java/DummyClass.java   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/src/test/resources/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/src/test/resources/dummy   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-3/wtpmodules   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/settings   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/src/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/src/main/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/src/main/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/src/main/java/DummyClass.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/src/main/resources/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/src/main/resources/dummy   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/src/test/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/src/test/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/src/test/java/DummyClass.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/src/test/resources/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/src/test/resources/dummy   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-4/wtpmodules   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-5/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-5/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-5/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-5/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-5/settings   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-5/src/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-5/src/main/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-5/src/main/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-5/src/main/java/DummyClass.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-5/wtpmodules   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-6/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-6/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-6/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-6/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-6/src/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-6/src/main/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-6/src/main/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-6/src/main/java/DummyClass.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-6/wtpmodules   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-7/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-7/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-7/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-7/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-7/wtpmodules   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-8/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-8/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-8/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-8/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-8/sysdep.jar   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-8/wtpmodules   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/classpath   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/pom.xml   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/project   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/src/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/src/main/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/src/main/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/src/main/java/DummyClass.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/src/main/resources/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/src/main/resources/dummy   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/src/test/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/src/test/java/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/src/test/java/DummyClass.txt   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/src/test/resources/   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/src/test/resources/dummy   (with props)
    cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/test/projects/project-9/wtpmodules   (with props)

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Apr 24 03:24:53 2006
@@ -0,0 +1,4 @@
+
+target
+.classpath
+.project

Added: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/tools/cocoon-maven-eclipse-plugin/pom.xml?rev=396502&view=auto
==============================================================================
--- cocoon/trunk/tools/cocoon-maven-eclipse-plugin/pom.xml (added)
+++ cocoon/trunk/tools/cocoon-maven-eclipse-plugin/pom.xml Mon Apr 24 03:24:53 2006
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  
+  <parent>
+    <groupId>org.apache.cocoon</groupId>
+    <artifactId>cocoon-tools-modules</artifactId>
+    <version>1-SNAPSHOT</version>
+  </parent>
+  
+  <modelVersion>4.0.0</modelVersion>
+
+  <artifactId>cocoon-maven-eclipse-plugin</artifactId>
+  <packaging>maven-plugin</packaging>
+  
+  <name>Maven Eclipse Plugin</name>
+  <version>2.3-SNAPSHOT</version>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-plugin-plugin</artifactId>
+        <configuration>
+          <goalPrefix>c-eclipse</goalPrefix>
+          <extensions>true</extensions>
+        </configuration>
+      </plugin>     
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>**/Abstract*TestCase.java</exclude>
+            <exclude>**/EclipsePluginMasterProjectTest.java</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-project</artifactId>
+      <version>2.0.1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-settings</artifactId>
+      <version>2.0.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-plugin-api</artifactId>
+      <version>2.0.1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-model</artifactId>
+      <version>2.0.1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-artifact-manager</artifactId>
+      <version>2.0.1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-embedder</artifactId>
+      <version>2.0.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-artifact</artifactId>
+      <version>2.0.1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-utils</artifactId>
+      <version>1.0.5</version>
+    </dependency>
+  </dependencies>
+</project>
\ No newline at end of file

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/pom.xml
------------------------------------------------------------------------------
    eol:style = 'native'

Added: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/revision.txt
URL: http://svn.apache.org/viewcvs/cocoon/trunk/tools/cocoon-maven-eclipse-plugin/revision.txt?rev=396502&view=auto
==============================================================================
--- cocoon/trunk/tools/cocoon-maven-eclipse-plugin/revision.txt (added)
+++ cocoon/trunk/tools/cocoon-maven-eclipse-plugin/revision.txt Mon Apr 24 03:24:53 2006
@@ -0,0 +1,9 @@
+URL: http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin
+UUID des Projektarchivs: 13f79535-47bb-0310-9956-ffa450edef68
+Revision: 395669
+Knotentyp: Verzeichnis
+Plan: normal
+Letzter Autor: fgiust
+Letzte geänderte Rev: 393604
+Letztes Änderungsdatum: 2006-04-12 22:44:24 +0200 (Mi, 12 Apr 2006)
+Eigenschaften zuletzt geändert: 2005-12-08 17:10:01 +0100 (Do, 08 Dez 2005)
\ No newline at end of file

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/revision.txt
------------------------------------------------------------------------------
    eol:style = 'native'

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/
------------------------------------------------------------------------------
    eol:style = 'native'

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/
------------------------------------------------------------------------------
    eol:style = 'native'

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/
------------------------------------------------------------------------------
    eol:style = 'native'

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/
------------------------------------------------------------------------------
    eol:style = 'native'

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/
------------------------------------------------------------------------------
    eol:style = 'native'

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/
------------------------------------------------------------------------------
    eol:style = 'native'

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/
------------------------------------------------------------------------------
    eol:style = 'native'

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/
------------------------------------------------------------------------------
    eol:style = 'native'

Added: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/AddMavenRepoMojo.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/AddMavenRepoMojo.java?rev=396502&view=auto
==============================================================================
--- cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/AddMavenRepoMojo.java (added)
+++ cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/AddMavenRepoMojo.java Mon Apr 24 03:24:53 2006
@@ -0,0 +1,147 @@
+package org.apache.maven.plugin.eclipse;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.util.Properties;
+
+import org.apache.maven.artifact.repository.ArtifactRepository;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+
+/**
+ * Adds the classpath variable MAVEN_REPO to Eclipse.
+ * 
+ * @goal add-maven-repo
+ * @requiresProject false
+ */
+public class AddMavenRepoMojo
+    extends AbstractMojo
+{
+
+    /**
+     * Path under Eclipse workspace where Eclipse Plugin metadata/config is
+     * stored.
+     */
+    private static final String DIR_ECLIPSE_PLUGINS_METADATA = ".metadata/.plugins"; //$NON-NLS-1$
+
+    /**
+     * Path under {@value #DIR_ECLIPSE_PLUGINS_METADATA } folder where Eclipse
+     * Workspace Runtime settings are stored.
+     */
+    private static final String DIR_ECLIPSE_CORE_RUNTIME_SETTINGS = DIR_ECLIPSE_PLUGINS_METADATA
+        + "/org.eclipse.core.runtime/.settings"; //$NON-NLS-1$
+
+    /**
+     * File that stores the Eclipse JDT Core preferences.
+     */
+    private static final String FILE_ECLIPSE_JDT_CORE_PREFS = "org.eclipse.jdt.core.prefs"; //$NON-NLS-1$
+
+    /**
+     * Property constant under which Variable 'M2_REPO' is setup.
+     */
+    private static final String CLASSPATH_VARIABLE_M2_REPO = "org.eclipse.jdt.core.classpathVariable.M2_REPO"; //$NON-NLS-1$
+
+    /**
+     * Location of the <code>Eclipse</code> workspace that holds your
+     * configuration and source. On Windows, this will be the
+     * <code>workspace</code> directory under your eclipse installation. For
+     * example, if you installed eclipse into <code>c:\eclipse</code>, the
+     * workspace is <code>c:\eclipse\workspace</code>.
+     * 
+     * @parameter expression="${eclipse.workspace}"
+     * @required
+     */
+    private String workspace;
+
+    /**
+     * @parameter expression="${localRepository}"
+     * @required
+     * @readonly
+     */
+    private ArtifactRepository localRepository;
+
+    public void execute()
+        throws MojoExecutionException
+    {
+
+        File workDir = new File( workspace, DIR_ECLIPSE_CORE_RUNTIME_SETTINGS );
+        workDir.mkdirs();
+
+        Properties props = new Properties();
+
+        File f = new File( workDir, FILE_ECLIPSE_JDT_CORE_PREFS );
+
+        // preserve old settings
+        if ( f.exists() )
+        {
+            try
+            {
+                props.load( new FileInputStream( f ) );
+            }
+            catch ( FileNotFoundException e )
+            {
+                throw new MojoExecutionException( Messages
+                    .getString( "EclipsePlugin.cantreadfile", f.getAbsolutePath() ), e ); //$NON-NLS-1$
+            }
+            catch ( IOException e )
+            {
+                throw new MojoExecutionException( Messages
+                    .getString( "EclipsePlugin.cantreadfile", f.getAbsolutePath() ), e ); //$NON-NLS-1$
+            }
+        }
+
+        props.put( CLASSPATH_VARIABLE_M2_REPO, localRepository.getBasedir() ); //$NON-NLS-1$  //$NON-NLS-2$
+
+        try
+        {
+            OutputStream os = new FileOutputStream( f );
+            props.store( os, null );
+            os.close();
+        }
+        catch ( IOException ioe )
+        {
+            throw new MojoExecutionException( Messages.getString( "EclipsePlugin.cantwritetofile", //$NON-NLS-1$
+                                                                  f.getAbsolutePath() ) );
+        }
+    }
+
+    public ArtifactRepository getLocalRepository()
+    {
+        return localRepository;
+    }
+
+    public void setLocalRepository( ArtifactRepository localRepository )
+    {
+        this.localRepository = localRepository;
+    }
+
+    public String getWorkspace()
+    {
+        return workspace;
+    }
+
+    public void setWorkspace( String workspace )
+    {
+        this.workspace = workspace;
+    }
+}

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/AddMavenRepoMojo.java
------------------------------------------------------------------------------
    eol:style = 'native'

Added: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseCleanMojo.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseCleanMojo.java?rev=396502&view=auto
==============================================================================
--- cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseCleanMojo.java (added)
+++ cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseCleanMojo.java Mon Apr 24 03:24:53 2006
@@ -0,0 +1,158 @@
+package org.apache.maven.plugin.eclipse;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.File;
+import java.io.IOException;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.codehaus.plexus.util.FileUtils;
+
+/**
+ * Deletes the .project, .classpath, .wtpmodules files and .settings folder used by Eclipse.
+ * 
+ * @goal clean
+ */
+public class EclipseCleanMojo
+    extends AbstractMojo
+{
+
+    /**
+     * Definition file for Eclipse Web Tools project.
+     */
+    private static final String FILE_DOT_WTPMODULES = ".wtpmodules"; //$NON-NLS-1$
+
+    /**
+     * Classpath definition file for an Eclipse Java project.
+     */
+    private static final String FILE_DOT_CLASSPATH = ".classpath"; //$NON-NLS-1$
+
+    /**
+     * Project definition file for an Eclipse Project.
+     */
+    private static final String FILE_DOT_PROJECT = ".project"; //$NON-NLS-1$
+
+    /**
+     * Web Project definition file for Eclipse Web Tools Project (Release 1.0x).
+     */
+    private static final String DIR_DOT_SETTINGS = ".settings"; //$NON-NLS-1$
+
+    /**
+     * File name where the WTP component settings will be stored for our Eclipse Project.
+     */
+    private static final String FILE_DOT_COMPONENT = ".settings/.component"; //$NON-NLS-1$
+
+    /**
+     * File name where Eclipse Project's Facet configuration will be stored.
+     */
+    private static final String FILE_FACET_CORE_XML = ".settings/org.eclipse.wst.common.project.facet.core.xml"; //$NON-NLS-1$
+
+    /**
+     * Packaging for the current project.
+     * @parameter expression="${project.packaging}"
+     * @required
+     * @readonly
+     */
+    private String packaging;
+
+    /**
+     * @parameter expression="${basedir}"
+     */
+    private File basedir;
+
+    /**
+     * @see org.apache.maven.plugin.AbstractMojo#execute()
+     */
+    public void execute()
+        throws MojoExecutionException
+    {
+
+        // since the eclipse plugin doesn't generate configuration for POM projects, it should neither delete it
+        if ( "pom".equals( packaging ) ) //$NON-NLS-1$
+        {
+            getLog().info( Messages.getString( "EclipsePlugin.pompackaging" ) ); //$NON-NLS-1$
+            return;
+        }
+
+        delete( new File( basedir, FILE_DOT_PROJECT ) );
+        delete( new File( basedir, FILE_DOT_CLASSPATH ) );
+        delete( new File( basedir, FILE_DOT_WTPMODULES ) );
+
+        delete( new File( basedir, FILE_DOT_COMPONENT ) );
+        delete( new File( basedir, FILE_FACET_CORE_XML ) );
+
+        File settingsDir = new File( basedir, DIR_DOT_SETTINGS );
+        if ( settingsDir.exists() && settingsDir.isDirectory() && settingsDir.list().length == 0 )
+        {
+            delete( settingsDir );
+        }
+    }
+
+    /**
+     * Delete a file, handling log messages and exceptions
+     * 
+     * @param f File to be deleted
+     * @throws MojoExecutionException only if a file exists and can't be deleted
+     */
+    private void delete( File f )
+        throws MojoExecutionException
+    {
+        getLog().info( Messages.getString( "EclipseCleanMojo.deleting", f.getName() ) ); //$NON-NLS-1$
+
+        if ( f.exists() )
+        {
+            if ( !f.delete() )
+            {
+                try
+                {
+                    FileUtils.forceDelete( f );
+                }
+                catch ( IOException e )
+                {
+                    throw new MojoExecutionException( Messages.getString( "EclipseCleanMojo.failedtodelete", //$NON-NLS-1$
+                                                                          new Object[] {
+                                                                              f.getName(),
+                                                                              f.getAbsolutePath() } ) );
+                }
+            }
+        }
+        else
+        {
+            getLog().debug( Messages.getString( "EclipseCleanMojo.nofilefound", f.getName() ) ); //$NON-NLS-1$
+        }
+    }
+
+    /**
+     * Getter for <code>basedir</code>.
+     * @return Returns the basedir.
+     */
+    public File getBasedir()
+    {
+        return this.basedir;
+    }
+
+    /**
+     * Setter for <code>basedir</code>.
+     * @param basedir The basedir to set.
+     */
+    public void setBasedir( File basedir )
+    {
+        this.basedir = basedir;
+    }
+
+}

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseCleanMojo.java
------------------------------------------------------------------------------
    eol:style = 'native'

Added: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java?rev=396502&view=auto
==============================================================================
--- cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java (added)
+++ cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java Mon Apr 24 03:24:53 2006
@@ -0,0 +1,752 @@
+package org.apache.maven.plugin.eclipse;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
+import java.util.TreeSet;
+
+import org.apache.maven.artifact.handler.ArtifactHandler;
+import org.apache.maven.model.Resource;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.eclipse.writers.EclipseClasspathWriter;
+import org.apache.maven.plugin.eclipse.writers.EclipseProjectWriter;
+import org.apache.maven.plugin.eclipse.writers.EclipseSettingsWriter;
+import org.apache.maven.plugin.eclipse.writers.EclipseWtpComponentWriter;
+import org.apache.maven.plugin.eclipse.writers.EclipseWtpFacetsWriter;
+import org.apache.maven.plugin.eclipse.writers.EclipseWtpmodulesWriter;
+import org.apache.maven.plugin.ide.AbstractIdeSupportMojo;
+import org.apache.maven.plugin.ide.IdeDependency;
+import org.apache.maven.plugin.ide.IdeUtils;
+import org.apache.maven.project.MavenProject;
+import org.codehaus.plexus.util.StringUtils;
+
+/**
+ * Generates the following eclipse configuration files:
+ * <ul>
+ *   <li><code>.project</code> and <code>.classpath</code> files</li>
+ *   <li><code>.setting/org.eclipse.jdt.core.prefs</code> with project specific compiler settings</li>
+ *   <li>various configuration files for WTP (Web Tools Project), if the parameter <code>wtpversion</code> is set to a
+ *   valid version (WTP configuration is not generated by default)</li>
+ * </ul>
+ * If this goal is run on a multiproject root, dependencies between modules will be configured as direct project
+ * dependencies in Eclipse (unless <code>useProjectReferences</code> is set to <code>false</code>)
+ *
+ * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
+ * @author <a href="mailto:fgiust@apache.org">Fabrizio Giustina</a>
+ * @version $Id: EclipsePlugin.java 391954 2006-04-06 10:21:29Z fgiust $
+ * @goal eclipse
+ * @execute phase="generate-resources"
+ */
+public class EclipsePlugin
+    extends AbstractIdeSupportMojo
+{
+
+    private static final String NATURE_WST_FACET_CORE_NATURE = "org.eclipse.wst.common.project.facet.core.nature"; //$NON-NLS-1$
+
+    private static final String BUILDER_WST_COMPONENT_STRUCTURAL_DEPENDENCY_RESOLVER = "org.eclipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver"; //$NON-NLS-1$
+
+    private static final String BUILDER_WST_VALIDATION = "org.eclipse.wst.validation.validationbuilder"; //$NON-NLS-1$
+
+    private static final String BUILDER_JDT_CORE_JAVA = "org.eclipse.jdt.core.javabuilder"; //$NON-NLS-1$
+
+    private static final String BUILDER_WST_COMPONENT_STRUCTURAL = "org.eclipse.wst.common.modulecore.ComponentStructuralBuilder"; //$NON-NLS-1$
+    
+    private static final String BUILDER_PDE_MANIFEST = "org.eclipse.pde.ManifestBuilder";  //$NON-NLS-1$
+    
+    private static final String BUILDER_PDE_SCHEMA = "org.eclipse.pde.SchemaBuilder";  //$NON-NLS-1$
+
+    private static final String NATURE_WST_MODULE_CORE_NATURE = "org.eclipse.wst.common.modulecore.ModuleCoreNature"; //$NON-NLS-1$
+
+    private static final String NATURE_JDT_CORE_JAVA = "org.eclipse.jdt.core.javanature"; //$NON-NLS-1$
+
+    private static final String NATURE_JEM_WORKBENCH_JAVA_EMF = "org.eclipse.jem.workbench.JavaEMFNature"; //$NON-NLS-1$
+    
+    private static final String NATURE_PDE_PLUGIN = "org.eclipse.pde.PluginNature";  //$NON-NLS-1$
+
+    private static final String COMMON_PATH_JDT_LAUNCHING_JRE_CONTAINER = "org.eclipse.jdt.launching.JRE_CONTAINER"; //$NON-NLS-1$
+
+    //  warning, order is important for binary search
+    public static final String[] WTP_SUPPORTED_VERSIONS = new String[] { "1.0", "R7", "none" }; //$NON-NLS-1$ //$NON-NLS-2$  //$NON-NLS-3$
+
+    /**
+     * Constant for 'artifactId' element in POM.xml.
+     */
+    private static final String POM_ELT_ARTIFACT_ID = "artifactId"; //$NON-NLS-1$
+
+    /**
+     * Constant for 'groupId' element in POM.xml.
+     */
+    private static final String POM_ELT_GROUP_ID = "groupId"; //$NON-NLS-1$
+
+    /**
+     * List of eclipse project natures. By default the
+     * <code>org.eclipse.jdt.core.javanature</code> nature plus the needed WTP
+     * natures are added. Natures added using this property <strong>replace</strong> the default list.
+     * 
+     * <pre>
+     * &lt;projectnatures&gt;
+     *    &lt;projectnature&gt;org.eclipse.jdt.core.javanature&lt;/projectnature&gt;
+     *    &lt;projectnature&gt;org.eclipse.wst.common.modulecore.ModuleCoreNature&lt;/projectnature&gt;
+     * &lt;/projectnatures&gt;
+     * </pre>
+     * 
+     * @parameter
+     */
+    private List projectnatures;
+
+    /**
+     * List of eclipse project natures to be added to the default ones.
+     * 
+     * <pre>
+     * &lt;additionalProjectnatures&gt;
+     *    &lt;projectnature&gt;org.springframework.ide.eclipse.core.springnature&lt;/projectnature&gt;
+     * &lt;/additionalProjectnatures&gt;
+     * </pre>
+     * 
+     * @parameter
+     */
+    private List additionalProjectnatures;
+
+    /**
+     * List of eclipse build commands. By default the <code>org.eclipse.jdt.core.javabuilder</code> builder plus the needed
+     * WTP builders are added. Configuration example:
+     * 
+     * <pre>
+     * &lt;buildcommands&gt;
+     *    &lt;buildcommand&gt;org.eclipse.wst.common.modulecore.ComponentStructuralBuilder&lt;/buildcommand&gt;
+     *    &lt;buildcommand&gt;org.eclipse.jdt.core.javabuilder&lt;/buildcommand&gt;
+     *    &lt;buildcommand&gt;org.eclipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver&lt;/buildcommand&gt;
+     * &lt;/buildcommands&gt;
+     * </pre>
+     * 
+     * @parameter
+     */
+    private List buildcommands;
+
+    /**
+     * List of eclipse build commands to be added to the default ones.
+     * 
+     * <pre>
+     * &lt;additionalBuildcommands&gt;
+     *    &lt;buildcommand&gt;org.springframework.ide.eclipse.core.springbuilder&lt;/buildcommand&gt;
+     * &lt;/additionalBuildcommands&gt;
+     * </pre>
+     * 
+     * @parameter
+     */
+    private List additionalBuildcommands;
+
+    /**
+     * List of container classpath entries. By default the <code>org.eclipse.jdt.launching.JRE_CONTAINER</code> classpath
+     * container is added. Configuration example: 
+     * <pre>
+     * &lt;classpathContainers&gt;
+     *    &lt;buildcommand&gt;org.eclipse.jdt.launching.JRE_CONTAINER&lt;/buildcommand&gt;
+     *    &lt;buildcommand&gt;org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v5.5&lt;/buildcommand&gt;
+     *    &lt;buildcommand&gt;org.eclipse.jst.j2ee.internal.web.container/artifact&lt;/buildcommand&gt;
+     * &lt;/classpathContainers&gt;
+     * </pre>
+     * 
+     * @parameter
+     */
+    private List classpathContainers;
+
+    /**
+     * @parameter expression="${eclipse.downloadSources}"
+     * @deprecated use <code>downloadSources</code>
+     */
+    private boolean eclipseDownloadSources;
+
+    /**
+     * Eclipse workspace directory.
+     * 
+     * @parameter expression="${eclipse.workspace}" alias="outputDir"
+     */
+    private File eclipseProjectDir;
+
+    /**
+     * When set to false, the plugin will not create sub-projects and instead
+     * reference those sub-projects using the installed package in the local
+     * repository
+     * 
+     * @parameter expression="${eclipse.useProjectReferences}" default-value="true"
+     * @required
+     */
+    private boolean useProjectReferences;
+
+    /**
+     * The default output directory
+     * 
+     * @parameter expression="${outputDirectory}" alias="outputDirectory" default-value="${project.build.outputDirectory}"
+     * @required
+     */
+    private File buildOutputDirectory;
+
+    /**
+     * The version of WTP for which configuration files will be generated.
+     * The default value is "none" (don't generate WTP configuration), supported versions are "R7" and "1.0"
+     * 
+     * @parameter expression="${wtpversion}" default-value="none"
+     */
+    private String wtpversion;
+
+    /**
+     * Not a plugin parameter. Are we working with wtp r7?
+     */
+    private boolean wtpR7;
+
+    /**
+     * Not a plugin parameter. Are we working with wtp 1.0?
+     */
+    private boolean wtp10;
+
+    /**
+     * Not a plugin parameter. Is this a java project?
+     */
+    private boolean isJavaProject;
+    
+    /**
+     * Is it an PDE project?
+     * 
+     * @parameter expression="${eclipse.pde}" default-value="false"
+     */
+    private boolean pde;    
+
+    /**
+     * Getter for <code>buildcommands</code>.
+     * @return Returns the buildcommands.
+     */
+    public List getBuildcommands()
+    {
+        return this.buildcommands;
+    }
+
+    /**
+     * Setter for <code>buildcommands</code>.
+     * @param buildcommands The buildcommands to set.
+     */
+    public void setBuildcommands( List buildcommands )
+    {
+        this.buildcommands = buildcommands;
+    }
+
+    /**
+     * Getter for <code>buildOutputDirectory</code>.
+     * @return Returns the buildOutputDirectory.
+     */
+    public File getBuildOutputDirectory()
+    {
+        return this.buildOutputDirectory;
+    }
+
+    /**
+     * Setter for <code>buildOutputDirectory</code>.
+     * @param buildOutputDirectory The buildOutputDirectory to set.
+     */
+    public void setBuildOutputDirectory( File buildOutputDirectory )
+    {
+        this.buildOutputDirectory = buildOutputDirectory;
+    }
+
+    /**
+     * Getter for <code>classpathContainers</code>.
+     * @return Returns the classpathContainers.
+     */
+    public List getClasspathContainers()
+    {
+        return this.classpathContainers;
+    }
+
+    /**
+     * Setter for <code>classpathContainers</code>.
+     * @param classpathContainers The classpathContainers to set.
+     */
+    public void setClasspathContainers( List classpathContainers )
+    {
+        this.classpathContainers = classpathContainers;
+    }
+
+    /**
+     * Getter for <code>eclipseProjectDir</code>.
+     * @return Returns the eclipseProjectDir.
+     */
+    public File getEclipseProjectDir()
+    {
+        return this.eclipseProjectDir;
+    }
+
+    /**
+     * Setter for <code>eclipseProjectDir</code>.
+     * @param eclipseProjectDir The eclipseProjectDir to set.
+     */
+    public void setEclipseProjectDir( File eclipseProjectDir )
+    {
+        this.eclipseProjectDir = eclipseProjectDir;
+    }
+
+    /**
+     * Getter for <code>projectnatures</code>.
+     * @return Returns the projectnatures.
+     */
+    public List getProjectnatures()
+    {
+        return this.projectnatures;
+    }
+
+    /**
+     * Setter for <code>projectnatures</code>.
+     * @param projectnatures The projectnatures to set.
+     */
+    public void setProjectnatures( List projectnatures )
+    {
+        this.projectnatures = projectnatures;
+    }
+
+    /**
+     * Getter for <code>useProjectReferences</code>.
+     * @return Returns the useProjectReferences.
+     */
+    public boolean getUseProjectReferences()
+    {
+        return this.useProjectReferences;
+    }
+
+    /**
+     * Setter for <code>useProjectReferences</code>.
+     * @param useProjectReferences The useProjectReferences to set.
+     */
+    public void setUseProjectReferences( boolean useProjectReferences )
+    {
+        this.useProjectReferences = useProjectReferences;
+    }
+
+    /**
+     * Getter for <code>wtpversion</code>.
+     * @return Returns the wtpversion.
+     */
+    public String getWtpversion()
+    {
+        return this.wtpversion;
+    }
+
+    /**
+     * Setter for <code>wtpversion</code>.
+     * @param wtpversion The wtpversion to set.
+     */
+    public void setWtpversion( String wtpversion )
+    {
+        this.wtpversion = wtpversion;
+    }
+
+    /**
+     * Getter for <code>additionalBuildcommands</code>.
+     * @return Returns the additionalBuildcommands.
+     */
+    public List getAdditionalBuildcommands()
+    {
+        return this.additionalBuildcommands;
+    }
+
+    /**
+     * Setter for <code>additionalBuildcommands</code>.
+     * @param additionalBuildcommands The additionalBuildcommands to set.
+     */
+    public void setAdditionalBuildcommands( List additionalBuildcommands )
+    {
+        this.additionalBuildcommands = additionalBuildcommands;
+    }
+
+    /**
+     * Getter for <code>additionalProjectnatures</code>.
+     * @return Returns the additionalProjectnatures.
+     */
+    public List getAdditionalProjectnatures()
+    {
+        return this.additionalProjectnatures;
+    }
+
+    /**
+     * Setter for <code>additionalProjectnatures</code>.
+     * @param additionalProjectnatures The additionalProjectnatures to set.
+     */
+    public void setAdditionalProjectnatures( List additionalProjectnatures )
+    {
+        this.additionalProjectnatures = additionalProjectnatures;
+    }
+
+    /**
+     * @see org.apache.maven.plugin.Mojo#execute()
+     */
+    public boolean setup()
+        throws MojoExecutionException
+    {
+
+        if ( eclipseDownloadSources )
+        {
+            // deprecated warning
+            getLog().warn( Messages.getString( "EclipsePlugin.deprecatedpar", new Object[] { //$NON-NLS-1$
+                                               "eclipse.downloadSources", //$NON-NLS-1$
+                                                   "downloadSources" } ) ); //$NON-NLS-1$
+            downloadSources = true;
+        }
+
+        if ( Arrays.binarySearch( WTP_SUPPORTED_VERSIONS, wtpversion ) < 0 )
+        {
+            throw new MojoExecutionException( Messages
+                .getString( "EclipsePlugin.unsupportedwtp", new Object[] { //$NON-NLS-1$
+                            wtpversion, StringUtils.join( WTP_SUPPORTED_VERSIONS, " " ) } ) ); //$NON-NLS-1$
+        }
+
+        if ( "R7".equalsIgnoreCase( wtpversion ) ) //$NON-NLS-1$
+        {
+            wtpR7 = true;
+        }
+        else if ( "1.0".equalsIgnoreCase( wtpversion ) ) //$NON-NLS-1$
+        {
+            wtp10 = true;
+        }
+        if ( !"none".equalsIgnoreCase( wtpversion ) )
+        {
+            getLog().info( Messages.getString( "EclipsePlugin.wtpversion", wtpversion ) );
+        }
+
+        String packaging = executedProject.getPackaging();
+
+        // validate sanity of the current m2 project
+        assertNotEmpty( executedProject.getGroupId(), POM_ELT_GROUP_ID ); //$NON-NLS-1$
+        assertNotEmpty( executedProject.getArtifactId(), POM_ELT_ARTIFACT_ID ); //$NON-NLS-1$
+
+        if ( executedProject.getFile() == null || !executedProject.getFile().exists() )
+        {
+            throw new MojoExecutionException( Messages.getString( "EclipsePlugin.missingpom" ) ); //$NON-NLS-1$
+        }
+
+        if ( "pom".equals( packaging ) && eclipseProjectDir == null ) //$NON-NLS-1$
+        {
+            getLog().info( Messages.getString( "EclipsePlugin.pompackaging" ) ); //$NON-NLS-1$
+            return false;
+        }
+
+        if ( eclipseProjectDir == null )
+        {
+            eclipseProjectDir = executedProject.getFile().getParentFile();
+        }
+        else if ( !eclipseProjectDir.equals( executedProject.getFile().getParentFile() ) )
+        {
+            if ( !eclipseProjectDir.isDirectory() )
+            {
+                throw new MojoExecutionException( Messages.getString( "EclipsePlugin.notadir", eclipseProjectDir ) ); //$NON-NLS-1$
+            }
+            eclipseProjectDir = new File( eclipseProjectDir, executedProject.getArtifactId() );
+            if ( !eclipseProjectDir.isDirectory() && !eclipseProjectDir.mkdirs() )
+            {
+                throw new MojoExecutionException( Messages.getString( "EclipsePlugin.cantcreatedir", eclipseProjectDir ) ); //$NON-NLS-1$
+            }
+        }
+
+        // end validate
+
+        ArtifactHandler artifactHandler = this.project.getArtifact().getArtifactHandler();
+        // ear projects don't contain java sources
+        isJavaProject = "java".equals( artifactHandler.getLanguage() ) && !"ear".equals( packaging );
+
+        // defaults
+        if ( projectnatures == null )
+        {
+            fillDefaultNatures( packaging );
+        }
+
+        if ( additionalProjectnatures != null )
+        {
+            projectnatures.addAll( additionalProjectnatures );
+        }
+
+        if ( buildcommands == null )
+        {
+            fillDefaultBuilders( packaging );
+        }
+
+        if ( additionalBuildcommands != null )
+        {
+            buildcommands.addAll( additionalBuildcommands );
+        }
+
+        if ( classpathContainers == null )
+        {
+            fillDefaultClasspathContainers( packaging );
+        }
+        else if ( !classpathContainers.contains( COMMON_PATH_JDT_LAUNCHING_JRE_CONTAINER ) ) //$NON-NLS-1$
+        {
+            getLog().warn( Messages.getString( "EclipsePlugin.missingjrecontainer" ) ); //$NON-NLS-1$
+            classpathContainers.add( 0, COMMON_PATH_JDT_LAUNCHING_JRE_CONTAINER );
+        }
+
+        // ready to start
+        return true;
+    }
+
+    public void writeConfiguration( IdeDependency[] deps )
+        throws MojoExecutionException
+    {
+        File projectBaseDir = executedProject.getFile().getParentFile();
+
+        // build a list of UNIQUE source dirs (both src and resources) to be
+        // used in classpath and wtpmodules
+        EclipseSourceDir[] sourceDirs = buildDirectoryList( executedProject, eclipseProjectDir, buildOutputDirectory );
+
+        if ( wtpR7 )
+        {
+            new EclipseWtpmodulesWriter( getLog(), eclipseProjectDir, project, deps ).write( sourceDirs,
+                                                                                             localRepository,
+                                                                                             buildOutputDirectory );
+        }
+        else if ( wtp10 )
+        {
+            new EclipseWtpFacetsWriter( getLog(), eclipseProjectDir, project, deps ).write( sourceDirs,
+                                                                                            localRepository,
+                                                                                            buildOutputDirectory );
+            new EclipseWtpComponentWriter( getLog(), eclipseProjectDir, project, deps ).write( sourceDirs,
+                                                                                               localRepository,
+                                                                                               buildOutputDirectory );
+        }
+
+        new EclipseProjectWriter( getLog(), eclipseProjectDir, project, deps ).write( projectBaseDir, executedProject,
+                                                                                      projectnatures, buildcommands );
+
+        new EclipseSettingsWriter( getLog(), eclipseProjectDir, project, deps ).write();
+
+        if ( isJavaProject )
+        {
+            new EclipseClasspathWriter( getLog(), eclipseProjectDir, project, deps ).write( projectBaseDir, sourceDirs,
+                                                                                            classpathContainers,
+                                                                                            localRepository,
+                                                                                            buildOutputDirectory,
+                                                                                            pde );
+        }
+
+        getLog().info( Messages.getString( "EclipsePlugin.wrote", new Object[] { //$NON-NLS-1$
+                                           project.getArtifactId(), eclipseProjectDir.getAbsolutePath() } ) );
+    }
+
+    private void assertNotEmpty( String string, String elementName )
+        throws MojoExecutionException
+    {
+        if ( string == null )
+        {
+            throw new MojoExecutionException( Messages.getString( "EclipsePlugin.missingelement", elementName ) ); //$NON-NLS-1$
+        }
+    }
+
+    private void fillDefaultNatures( String packaging )
+    {
+        projectnatures = new ArrayList();
+
+        if ( wtp10 )
+        {
+            projectnatures.add( NATURE_WST_FACET_CORE_NATURE ); // WTP 1.0 nature
+        }
+
+        if ( isJavaProject )
+        {
+            projectnatures.add( NATURE_JDT_CORE_JAVA );
+        }
+
+        if ( wtpR7 || wtp10 )
+        {
+            projectnatures.add( NATURE_WST_MODULE_CORE_NATURE ); // WTP 0.7/1.0 nature
+
+            if ( isJavaProject )
+            {
+                projectnatures.add( NATURE_JEM_WORKBENCH_JAVA_EMF ); // WTP 0.7/1.0 nature
+            }
+        }
+        
+        if( pde ) 
+        {
+        	projectnatures.add( NATURE_PDE_PLUGIN );
+        }
+
+    }
+
+    private void fillDefaultClasspathContainers( String packaging )
+    {
+        classpathContainers = new ArrayList();
+        classpathContainers.add( COMMON_PATH_JDT_LAUNCHING_JRE_CONTAINER );
+    }
+
+    private void fillDefaultBuilders( String packaging )
+    {
+        buildcommands = new ArrayList();
+
+        if ( wtpR7 )
+        {
+            buildcommands.add( BUILDER_WST_COMPONENT_STRUCTURAL ); // WTP 0.7 builder
+        }
+
+        if ( isJavaProject )
+        {
+            buildcommands.add( BUILDER_JDT_CORE_JAVA );
+        }
+
+        if ( wtpR7 || wtp10 )
+        {
+            buildcommands.add( BUILDER_WST_VALIDATION ); // WTP 0.7/1.0 builder
+        }
+
+        if ( wtpR7 )
+        {
+            buildcommands.add( BUILDER_WST_COMPONENT_STRUCTURAL_DEPENDENCY_RESOLVER ); // WTP 0.7 builder
+        }
+        
+        if ( pde )
+        {
+            buildcommands.add( BUILDER_PDE_MANIFEST );
+            buildcommands.add( BUILDER_PDE_SCHEMA );            
+        }
+    }
+
+    public EclipseSourceDir[] buildDirectoryList( MavenProject project, File basedir, File buildOutputDirectory )
+        throws MojoExecutionException
+    {
+        File projectBaseDir = project.getFile().getParentFile();
+
+        // avoid duplicated entries
+        Set directories = new TreeSet();
+
+        extractSourceDirs( directories, project.getCompileSourceRoots(), basedir, projectBaseDir, false, null );
+
+        String relativeOutput = IdeUtils.toRelativeAndFixSeparator( projectBaseDir, buildOutputDirectory, false );
+
+        extractResourceDirs( directories, project.getBuild().getResources(), project, basedir, projectBaseDir, false,
+                             relativeOutput );
+
+        // If using the standard output location, don't mix the test output into it.
+        String testOutput = null;
+        boolean useFixedOutputDir = !buildOutputDirectory.equals( new File( project.getBuild().getOutputDirectory() ) );
+        if ( !useFixedOutputDir )
+        {
+            testOutput = IdeUtils.toRelativeAndFixSeparator( projectBaseDir, new File( project.getBuild()
+                .getTestOutputDirectory() ), false );
+        }
+
+        extractSourceDirs( directories, project.getTestCompileSourceRoots(), basedir, projectBaseDir, true, testOutput );
+
+        extractResourceDirs( directories, project.getBuild().getTestResources(), project, basedir, projectBaseDir,
+                             true, testOutput );
+
+        return (EclipseSourceDir[]) directories.toArray( new EclipseSourceDir[directories.size()] );
+    }
+
+    private static void extractSourceDirs( Set directories, List sourceRoots, File basedir, File projectBaseDir,
+                                           boolean test, String output )
+        throws MojoExecutionException
+    {
+        for ( Iterator it = sourceRoots.iterator(); it.hasNext(); )
+        {
+
+            File sourceRootFile = new File( (String) it.next() );
+
+            if ( sourceRootFile.isDirectory() )
+            {
+                String sourceRoot = IdeUtils.toRelativeAndFixSeparator( projectBaseDir, sourceRootFile, !projectBaseDir
+                    .equals( basedir ) );
+
+                directories.add( new EclipseSourceDir( sourceRoot, output, test, null, null ) );
+            }
+        }
+    }
+
+    private void extractResourceDirs( Set directories, List resources, MavenProject project, File basedir,
+                                      File projectBaseDir, boolean test, String output )
+        throws MojoExecutionException
+    {
+        for ( Iterator it = resources.iterator(); it.hasNext(); )
+        {
+            Resource resource = (Resource) it.next();
+            String includePattern = null;
+            String excludePattern = null;
+
+            if ( resource.getIncludes().size() != 0 )
+            {
+                // @todo includePattern = ?
+                getLog().warn( Messages.getString( "EclipsePlugin.includenotsupported" ) ); //$NON-NLS-1$
+            }
+
+            if ( resource.getExcludes().size() != 0 )
+            {
+                // @todo excludePattern = ?
+                getLog().warn( Messages.getString( "EclipsePlugin.excludenotsupported" ) ); //$NON-NLS-1$
+            }
+
+            // Example of setting include/exclude patterns for future reference.
+            //
+            // TODO: figure out how to merge if the same dir is specified twice
+            // with different in/exclude patterns. We can't write them now,
+            // since only the the first one would be included.
+            //
+            // if ( resource.getIncludes().size() != 0 )
+            // {
+            // writer.addAttribute(
+            // "including", StringUtils.join( resource.getIncludes().iterator(),
+            // "|" )
+            // );
+            // }
+            //
+            // if ( resource.getExcludes().size() != 0 )
+            // {
+            // writer.addAttribute(
+            // "excluding", StringUtils.join( resource.getExcludes().iterator(),
+            // "|" )
+            // );
+            // }
+
+            File resourceDirectory = new File( resource.getDirectory() );
+
+            if ( !resourceDirectory.exists() || !resourceDirectory.isDirectory() )
+            {
+                continue;
+            }
+
+            String resourceDir = IdeUtils.toRelativeAndFixSeparator( projectBaseDir, resourceDirectory, !projectBaseDir
+                .equals( basedir ) );
+
+            if ( output != null )
+            {
+                File outputFile = new File( projectBaseDir, output );
+                // create output dir if it doesn't exist
+                outputFile.mkdirs();
+
+                if ( !StringUtils.isEmpty( resource.getTargetPath() ) )
+                {
+                    outputFile = new File( outputFile, resource.getTargetPath() );
+                    // create output dir if it doesn't exist
+                    outputFile.mkdirs();
+                }
+
+                output = IdeUtils.toRelativeAndFixSeparator( projectBaseDir, outputFile, false );
+            }
+
+            directories.add( new EclipseSourceDir( resourceDir, output, test, includePattern, excludePattern ) );
+        }
+    }
+
+}

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java
------------------------------------------------------------------------------
    eol:style = 'native'

Added: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseSourceDir.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseSourceDir.java?rev=396502&view=auto
==============================================================================
--- cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseSourceDir.java (added)
+++ cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseSourceDir.java Mon Apr 24 03:24:53 2006
@@ -0,0 +1,177 @@
+package org.apache.maven.plugin.eclipse;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Represent an eclipse source dir. Eclipse has no "main", "test" or "resource" concepts, so two source dirs with the
+ * same path are equal.
+ * @author <a href="mailto:fgiust@users.sourceforge.net">Fabrizio Giustina</a>
+ * @version $Id: EclipseSourceDir.java 359477 2005-12-28 10:51:19Z fgiust $
+ */
+public class EclipseSourceDir
+    implements Comparable
+{
+
+    private String path;
+
+    private String output;
+
+    private String include;
+
+    private String exclude;
+
+    private boolean test;
+
+    public EclipseSourceDir( String path, String output, boolean test, String include, String exclude )
+    {
+        this.path = path;
+        this.output = output;
+        this.test = test;
+        this.include = include;
+        this.exclude = exclude;
+    }
+
+    /**
+     * Getter for <code>exclude</code>.
+     * 
+     * @return Returns the exclude.
+     */
+    public String getExclude()
+    {
+        return this.exclude;
+    }
+
+    /**
+     * Setter for <code>exclude</code>.
+     * 
+     * @param exclude
+     *            The exclude to set.
+     */
+    public void setExclude( String exclude )
+    {
+        this.exclude = exclude;
+    }
+
+    /**
+     * Getter for <code>include</code>.
+     * 
+     * @return Returns the include.
+     */
+    public String getInclude()
+    {
+        return this.include;
+    }
+
+    /**
+     * Setter for <code>include</code>.
+     * 
+     * @param include
+     *            The include to set.
+     */
+    public void setInclude( String include )
+    {
+        this.include = include;
+    }
+
+    /**
+     * Getter for <code>output</code>.
+     * 
+     * @return Returns the output.
+     */
+    public String getOutput()
+    {
+        return this.output;
+    }
+
+    /**
+     * Setter for <code>output</code>.
+     * 
+     * @param output
+     *            The output to set.
+     */
+    public void setOutput( String output )
+    {
+        this.output = output;
+    }
+
+    /**
+     * Getter for <code>path</code>.
+     * 
+     * @return Returns the path.
+     */
+    public String getPath()
+    {
+        return this.path;
+    }
+
+    /**
+     * Setter for <code>path</code>.
+     * 
+     * @param path
+     *            The path to set.
+     */
+    public void setPath( String path )
+    {
+        this.path = path;
+    }
+
+    /**
+     * Getter for <code>test</code>.
+     * 
+     * @return Returns the test.
+     */
+    public boolean isTest()
+    {
+        return this.test;
+    }
+
+    /**
+     * Setter for <code>test</code>.
+     * 
+     * @param test
+     *            The test to set.
+     */
+    public void setTest( boolean test )
+    {
+        this.test = test;
+    }
+
+    /**
+     * @see java.lang.Object#equals(java.lang.Object)
+     */
+    public boolean equals( Object obj )
+    {
+        return this.path.equals( ( (EclipseSourceDir) obj ).path );
+    }
+
+    /**
+     * @see java.lang.Object#hashCode()
+     */
+    public int hashCode()
+    {
+        return this.path.hashCode();
+    }
+
+    /**
+     * @see java.lang.Comparable#compareTo(java.lang.Object)
+     */
+    public int compareTo( Object obj )
+    {
+        return this.path.compareTo( ( (EclipseSourceDir) obj ).path );
+    }
+
+}

Propchange: cocoon/trunk/tools/cocoon-maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseSourceDir.java
------------------------------------------------------------------------------
    eol:style = 'native'