Maven 1.x IDEA Plugin

Incorrectly assues that generated source is in the target directory.

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

For historical reasons, our projects build to a directory called "build" not "target". this is controlled by setting the maven property maven.build.dir. The IDEA plugin ignores the setting of this. I would suggest that module.jelly use the expression

<maven:makeRelativePath var="value" basedir="${basedir}" path="${maven.build.dir}" separator="/" />
<sourceFolder url="file://$$MODULE_DIR$$/${value}/${genSource}" isTestSource="false"/>

instead of
<sourceFolder url="file://$$MODULE_DIR$$/target/${genSource}" isTestSource="false"/>

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: