Mojo

Setting buildDirectory in eclipseBuildScriptProperties does not work (but setting it in buildProperties does)

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: pde (retired)
  • Labels:
    None
  • Environment:
    maven-2.0.4, jdk 1.5.0_11, linux, Ubuntu 7.10, Intel Pentium M
  • Complexity:
    Intermediate
  • Number of attachments :
    1

Description

This does not work:
<eclipseBuildScriptProperties>
<buildDirectory>${project.build.directory}</buildDirectory>
</eclipseBuildScriptProperties>
(though that's what I expected from the documentation http://mojo.codehaus.org/pde-maven-plugin/attach-mojo.html )
However this works:
<buildProperties>
<buildDirectory>${project.build.directory}</buildDirectory>
</buildProperties>

It sets the buildDirectory twice in the java command line, first to ../.. from the POM directory (with a full path), and then later to POM directory + "/target".

Activity

Hide
Alin Dreghiciu added a comment -

Here is a patch to the current trunk.head that handles the pdeBuildDirectory problem. The fix allows you to set the pdeBuildDirectory as a property for plugin. If the property is not set then it uses the default way (as right now = project.build.directory/../..

Show
Alin Dreghiciu added a comment - Here is a patch to the current trunk.head that handles the pdeBuildDirectory problem. The fix allows you to set the pdeBuildDirectory as a property for plugin. If the property is not set then it uses the default way (as right now = project.build.directory/../..
Hide
Robert Scholte added a comment -

Project has been retired, so won't fix

Show
Robert Scholte added a comment - Project has been retired, so won't fix

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: