Ability to skip generated-resources/rad6 folder creation while executing
eclipse:rad
------------------------------------------------------------------------------------
Key: MECLIPSE-286
URL: http://jira.codehaus.org/browse/MECLIPSE-286
Project: Maven 2.x Eclipse Plugin
Issue Type: Improvement
Affects Versions: 2.3
Environment: maven 2.0.5
windows xp
Reporter: Christian Blavier
Attachments: maven-eclipse-plugin-rad.patch
Hello,
eclipse:rad goal always generate a target/generated-resources/rad6 folder for
jar components and add it into eclipse classpath.
The problem is that after any mvn clean, the folder is deleted and eclipse
complains about a missing classpath entry.
That's why, I would like to be able to skip this folder creation (which is
useless for my purpose) or at least change the destination directory (not in
target)
I attached a patch that do followings :
- added a generatedResourceDirname parameter
- added a default value for this parameter : DEFAULT_GENERATED_RESOURCE_DIRNAME
- added a NONE value for this parameter : NO_GENERATED_RESOURCE_DIRNAME
- added a test that skip folder generation (and classpath modification) when
generatedResourceDirname == NO_GENERATED_RESOURCE_DIR
That's all ! :)
Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira