Uploaded image for project: 'Build'
  1. Build
  2. BUILD-72

Support for m2e / Eclipse Indigo ?

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: POMs 23
    • Component/s: Poms
    • Labels:
      None

      Description

      The latest version of Eclipse (Indigo) introduces m2e 1.0, which seems to cause some problems with plugins that are not "known" by m2e.

      This hits us with our setproperty plugin.

      Background info:

      It would seem that adding the following to our parent pom might "solve" the issue. It doesn't seem like the most elegant thing, though ...

      <pluginManagement>
        <plugins>
          <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
          <plugin>
            <groupId>org.eclipse.m2e</groupId>
            <artifactId>lifecycle-mapping</artifactId>
            <version>1.0.0</version>
            <configuration>
              <lifecycleMappingMetadata>
                <pluginExecutions>
                  <pluginExecution>
                    <pluginExecutionFilter>
                      <groupId>info.magnolia</groupId>
                      <artifactId>maven-setproperty-plugin</artifactId>
                      <versionRange>[1.1.1,)</versionRange>
                      <goals>
                        <goal>set-property</goal>
                      </goals>
                    </pluginExecutionFilter>
                    <action>
                      <execute></execute>
                    </action>
                  </pluginExecution>
                </pluginExecutions>
              </lifecycleMappingMetadata>
            </configuration>
          </plugin>
        </plugins>
      </pluginManagement>

      The bug is being discussed at https://bugs.eclipse.org/bugs/show_bug.cgi?id=350414

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gjoseph Magnolia International
              Reporter:
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: