The plugin seems to append ${basedir} regardless of the nature of ${pom.build.output.directory}. ------------------------------------------------------------------------------------------------
Key: MECLIPSE-99 URL: http://jira.codehaus.org/browse/MECLIPSE-99 Project: Maven 2.x Eclipse Plugin Type: Bug Versions: 2.2 Environment: Windows 2000 Professional, java -fullversion java full version "1.5.0_06-b05" Reporter: Jan-Helge Bergesen The plugin seems to append ${basedir} regardless of the nature of ${pom.build.output.directory}. In the following example my buildOutputDirectory is an absolute path ---------------- ./mvn.bat -X eclipse:eclipse ..... [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-eclipse-plugin:2.2:eclipse' --> [DEBUG] (s) buildOutputDirectory = D:\stage\TMF814_1.0_DEV\sw\java\tmf814gw\classes [DEBUG] (s) executedProject = [EMAIL PROTECTED] [DEBUG] (s) buildOutputDirectory = D:\stage\TMF814_1.0_DEV\sw\java\tmf814gw\classes [DEBUG] (s) executedProject = [EMAIL PROTECTED] [DEBUG] (s) localRepository = [local] -> file://d:/stage/.maven/repository [DEBUG] (s) project = [EMAIL PROTECTED] [DEBUG] (s) reactorProjects = [EMAIL PROTECTED] [DEBUG] (s) remoteArtifactRepositories = [[local] -> file:///D:/stage/.maven/repository, [vob] -> file://d:\jhb_sn_tmf814_view\axx_gw\java\Tmf814Gw/../lib/repository, [central] -> n.org/maven2] [DEBUG] (s) useProjectReferences = true [DEBUG] (s) wtpversion = none [DEBUG] -- end configuration -- [INFO] [eclipse:eclipse] [DEBUG] no.axxessit.gw.tmf814:tmf814gw:jar:1.0 (selected for null) [WARNING] POM for 'axx:axxcommon:pom:3.0_maint:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [DEBUG] Reason: Not a v4.0.0 POM. [DEBUG] axx:axxcommon:jar:3.0_maint:compile (selected for compile) [DEBUG] commons-collections:commons-collections:jar:3.1:compile (selected for compile) [DEBUG] commons-logging:commons-logging:jar:1.0.4:compile (selected for compile) [DEBUG] jacorb:jacorb:jar:2.2.3:compile (selected for compile) [DEBUG] log4j:log4j:jar:1.2.8:compile (selected for compile) \res [DEBUG] tmf:tmf814-idl:jar:2.1:compile (selected for compile) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Can't canonicalize system path: d:\jhb_sn_tmf814_view\axx_gw\java\Tmf814Gw\D:\stage\TMF814_1.0_DEV\sw\java\tmf814gw\classes\..\res Embedded error: The filename, directory name, or volume label syntax is incorrect [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Can't canonicalize system path: d:\jhb_sn_tmf814_view\axx_gw\java\Tmf814Gw\D:\stage\TMF814_1.0_DEV\sw\java\tmf814gw\classes\.. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) \..\res at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Can't canonicalize system path: d:\jhb_sn_tmf814_view\axx_gw\java\Tmf814Gw\D:\stage\TMF814_1.0_DEV\sw\java\tmf814gw\classes at org.apache.maven.plugin.ide.IdeUtils.getCanonicalPath(IdeUtils.java:60) at org.apache.maven.plugin.ide.IdeUtils.toRelativeAndFixSeparator(IdeUtils.java:72) at org.apache.maven.plugin.eclipse.EclipsePlugin.extractResourceDirs(EclipsePlugin.java:720) at org.apache.maven.plugin.eclipse.EclipsePlugin.buildDirectoryList(EclipsePlugin.java:614) at org.apache.maven.plugin.eclipse.EclipsePlugin.writeConfiguration(EclipsePlugin.java:501) at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:382) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) -- 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