Uploaded image for project: 'Maven Help Plugin'
  1. Maven Help Plugin
  2. MPH-90

help:effective-pom does not show project properties injected into plugin parameters

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Feedback Received
    • 2.1.1
    • None
    • effective-pom
    • None
    • Maven 2.2.1 and Maven 3.0.3

    Description

      When I define something like this in my POM:

      <properties>
        <maven.compiler.source>1.6</maven.compiler.source>
        <maven.compiler.target>1.6</maven.compiler.target>
      </properties>
      

      the compiler plugin picks this up but this settings is not reflected in the Model and not written out as part of the effective POM.

      Either this is fixed within the system or the docs of this plugin need to mention this clearly.

      This is related to MJAVADOC-310 and MPIR-263.

      I a workaround for now by passing those properties to the plugin but this does not solve this problem.

      Attachments

        1. effective-pom.log
          17 kB
          Michael Osipov
        2. pom.xml
          11 kB
          Michael Osipov
        3. target-option.png
          133 kB
          Michael Osipov
        4. compiler-debug.png
          127 kB
          Michael Osipov

        Activity

          People

            rfscholte Robert Scholte
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: