Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5780

Invalid Configuration in Axis2 top-level Maven POM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.3
    • 1.7.4
    • None
    • None

    Description

      In the top-level Maven POM under the 1.7.3 branch (pom.xml) the execution phase/goal for the maven-assembly-plugin is incorrectly located within the configuration element.

      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
          <execution>
            <!-- Override the execution defined in org.apache:apache so that the source-release assembly is not built. We define our own source distribution in modules/distribution. -->
            <id>source-release-assembly</id>
            <configuration>
              <phase>package</phase>
              <goals>
                <goal>single</goal>
              </goals>
              <skipAssembly>true</skipAssembly>
            </configuration>
          </execution>
        </executions>
      </plugin>
      

      IMHO it should be:

      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
          <execution>
            <!-- Override the execution defined in org.apache:apache so that the source-release assembly is not built. We define our own source distribution in modules/distribution. -->
            <id>source-release-assembly</id>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
            <configuration>
              <skipAssembly>true</skipAssembly>
            </configuration>
          </execution>
        </executions>
      </plugin>
      

      Attachments

        Activity

          People

            veithen Andreas Veithen
            JWT007 Jeff Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: