Maven 1.x Eclipse Plugin
  1. Maven 1.x Eclipse Plugin
  2. MPECLIPSE-111

heterogeneous configuration when used from mutliproject

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.11
    • Fix Version/s: 1.11
    • Labels:
      None
    • Number of attachments :
      0

      Description

      I'm using maven 1.1b2 + eclipse plugin from CVS (snapshot)

      I'm using mutliproject to build the .classpath/.project of all my subprojects.
      To make it run as expceted, I have to set :
      maven.eclipse.output.dir = bin/classes
      maven.eclipse.test.output.dir = $

      {basedir}/bin/test-classes

      I need to set "${basedir}

      " in test.output.dir, and to avoid it in output.dir

      $

      {basedir}

      is required to make relative path to point to current sub-project when ran from a multiproject goal.
      In .classpath template, <maven:makeRelativePath> is used to build a project-root relative path.

      this transform is ALWAYS applied to testOutputDir.
      this transform is applied to outputDir ONLY if it has not been set from properties.

      I think makeRelativePath should be always applied.

        Activity

        Hide
        Stéphane Nicoll added a comment -

        This is fixed, output and testOutput dir configuration is now consistent.

        Show
        Stéphane Nicoll added a comment - This is fixed, output and testOutput dir configuration is now consistent.

          People

          • Assignee:
            Stéphane Nicoll
            Reporter:
            nicolas de loof
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: