Generated outputpath is outside the eclipse project
---------------------------------------------------
Key: MNG-1695
URL: http://jira.codehaus.org/browse/MNG-1695
Project: Maven 2
Type: Bug
Components: maven-eclipse-plugin
Versions: 2.0.1
Environment: plugin revision 349173, windows xp, running from a partition
mounted at 'R'
Reporter: Barry Kaplan
Attachments: eclipse-plugin-test-project.zip
In the sample multi-project attached, the generated eclipse project outputpath
will have the drive letter appended.
In iris-env/pom.xml I have tried several different variants of
<configuration>
<outputDirectory>...</outputDirectory>
</configuration>
These are the summarized results for the iris-infra project:
1) outputDirectory = "target/eclipse-classes" --> eclipse output =
"R:/eclipse-plugin-test-project/target/eclipse-classes"
2) outputDirectory = "/target/eclipse-classes" --> eclipse output =
"R:/target/eclipse-classes"
3) outputDirectory = "//target/eclipse-classes" --> eclipse output =
"//target/eclipse-classes"
- eclipse complains with the error "Path '/target/eclipse-classes' must denote
location inside project iris-infra"
- the plugin generates these warnings:
[INFO] [eclipse:eclipse]
[WARNING] This plugin currently doesn't support include patterns for resources.
Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources.
Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources.
Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources.
Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources.
Adding the entire directory.
4) outputDirectory = "//${project.artifactId}/target/eclipse-classes" -->
eclipse output = "//iris-infra/target/eclipse-classes"
- this path works for eclipse
- the plugin generates these warnings, and runs very slowly
[INFO] [eclipse:eclipse]
[WARNING] This plugin currently doesn't support include patterns for resources.
Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources.
Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources.
Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources.
Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources.
Adding the entire directory.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]