You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2005/07/13 19:53:57 UTC
[jira] Commented: (MNG-573) Last artifactId under project/plugins/plugin overrides project/artifactId
[ http://jira.codehaus.org/browse/MNG-573?page=comments#action_42778 ]
Carlos Sanchez commented on MNG-573:
------------------------------------
Seems that the <build> tag is missing, but m2 should throw an error of xml validation, not take that artifactId
> Last artifactId under project/plugins/plugin overrides project/artifactId
> -------------------------------------------------------------------------
>
> Key: MNG-573
> URL: http://jira.codehaus.org/browse/MNG-573
> Project: Maven 2
> Type: Bug
> Components: maven-artifact
> Versions: 2.0-beta-1, 2.0-alpha-3
> Environment: m2 alpha 3 and latest from SVN
> Reporter: Carlos Sanchez
>
>
> When calling install with this pom it gets installed under $REPO/org\apache\maven\plugins\maven-surefire-plugin\1.2.1\maven-surefire-plugin-1.2.1.pom
> <project>
> <modelVersion>4.0.0</modelVersion>
> <groupId>springframework</groupId>
> <artifactId>spring-parent</artifactId>
> <version>1.2.1</version>
> <packaging>pom</packaging>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <configuration>
> <source>1.5</source>
> <target>1.5</target>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <goals>
> <goal>
> <id>test</id>
> <configuration>
> <includes>
> <include implementation="java.lang.String">**/*Tests.*</include>
> </includes>
> </configuration>
> </goal>
> </goals>
> </plugin>
> </plugins>
> </project>
> The bug also happens when removing the packaging tag.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org