[ 
https://issues.apache.org/jira/browse/MNGSITE-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MNGSITE-153.
----------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period 
of time. If you think this issue still applies, retest your problem with the 
most recent version of Maven and the affected component, reopen and post your 
results.

> POM Inheritance section is incorrect
> ------------------------------------
>
>                 Key: MNGSITE-153
>                 URL: https://issues.apache.org/jira/browse/MNGSITE-153
>             Project: Maven Project Web Site
>          Issue Type: Improvement
>            Reporter: Alex Glass
>
> http://maven.apache.org/guides/introduction/introduction-to-the-pom.html
> The sections "Project Inheritance" and "Project Aggregation" fail to mention 
> that inheriting or aggregating requires the parent project to be packaged as 
> pom.
> Currently: 
> <project>
>   <groupId>com.mycompany.app</groupId>
>   <artifactId>my-app</artifactId>
>   <version>1</version>
> </project>
> Becomes
> <project>
>   <groupId>com.mycompany.app</groupId>
>   <artifactId>my-app</artifactId>
>   <version>1</version>
>   <packaging>pom</packaging>
> </project>
> Failure to specify the packaging results in errors like:
> * [ERROR]     'packaging' with value 'jar' is invalid. Aggregator projects 
> require 'pom' as packaging. @ line 1, column 204
> * [ERROR]     Invalid packaging for parent POM com.mycompany.app:my-app:1 
> (...\pom.xml), must be "pom" but is "jar" @ com.mycompany.app:my-app:1, 
> ...\pom.xml



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to