From cdc0b6da872459ee7563ad5abc6122e0edff39cc Mon Sep 17 00:00:00 2001 From: epugh Date: Tue, 19 Oct 2004 14:13:04 +0000 Subject: [PATCH] Turn off the inclusion of pom build resources by default. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116153 13f79535-47bb-0310-9956-ffa450edef68 --- eclipse/plugin.jelly | 2 +- eclipse/plugin.properties | 1 + .../templates/classpath.jelly | 26 +++++++++++++++++-- eclipse/src/plugin-test/maven.xml | 20 ++++++++++++-- eclipse/xdocs/changes.xml | 2 ++ 5 files changed, 46 insertions(+), 5 deletions(-) diff --git a/eclipse/plugin.jelly b/eclipse/plugin.jelly index 32038d52..9e72e5bb 100644 --- a/eclipse/plugin.jelly +++ b/eclipse/plugin.jelly @@ -31,7 +31,7 @@ - + diff --git a/eclipse/plugin.properties b/eclipse/plugin.properties index dcc4f1e5..88794ab5 100644 --- a/eclipse/plugin.properties +++ b/eclipse/plugin.properties @@ -26,3 +26,4 @@ maven.eclipse.goals = plugins maven.gen.src=${maven.build.dir}/generated-sources maven.eclipse.src.extension = zip +maven.eclipse.addResources=false diff --git a/eclipse/src/plugin-resources/templates/classpath.jelly b/eclipse/src/plugin-resources/templates/classpath.jelly index 9f6d97d3..3ae40446 100644 --- a/eclipse/src/plugin-resources/templates/classpath.jelly +++ b/eclipse/src/plugin-resources/templates/classpath.jelly @@ -57,14 +57,25 @@ + + + + + + + + + + - + + @@ -127,14 +138,25 @@ + + + + + + + + + + - + + diff --git a/eclipse/src/plugin-test/maven.xml b/eclipse/src/plugin-test/maven.xml index 6ae683cb..b2b8146d 100644 --- a/eclipse/src/plugin-test/maven.xml +++ b/eclipse/src/plugin-test/maven.xml @@ -20,7 +20,7 @@ xmlns:u="jelly:util" xmlns:x="jelly:xml"> - + @@ -111,7 +111,7 @@ - + @@ -154,5 +154,21 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/eclipse/xdocs/changes.xml b/eclipse/xdocs/changes.xml index d14082be..33023603 100644 --- a/eclipse/xdocs/changes.xml +++ b/eclipse/xdocs/changes.xml @@ -25,6 +25,8 @@ + add property maven.eclipse.addResources=false to prevent the build resources from breaking old Eclipse builds. + Allow includes/excludes in build resources to be used in the classpath generation. Support for Eclipse-Plugin maven projects (or kind="con" classpath). duplicate build path added if resouce directory is the same as java source dir. Simple implementation of handling source artifacts.