[
https://issues.apache.org/jira/browse/AXIS2-5780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322026#comment-15322026
]
Jeff Thomas commented on AXIS2-5780:
------------------------------------
Hi Andreas, actually my IDE (IntelliJ) complains when I remove the *goals*
block because the goal determines which configuration options are valid.
I would suggest putting at least the goal the in the execution block to resolve
the configuration problem.
As far as I can tell from the maven-assembly-plugin source-code, the Mojo is
also not bound to any default phase...so specifying the phase is probably also
a good idea (although optional because as you said it is specified in the
parent POM).
> Invalid Configuration in Axis2 top-level Maven POM
> --------------------------------------------------
>
> Key: AXIS2-5780
> URL: https://issues.apache.org/jira/browse/AXIS2-5780
> Project: Axis2
> Issue Type: Bug
> Affects Versions: 1.7.3
> Reporter: Jeff Thomas
> Priority: Minor
> Fix For: 1.7.4, 1.8.0
>
>
> 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.
> {code:xml}
> <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>
> {code}
> IMHO it should be:
> {code:xml}
> <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>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]