maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Pizey (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-5047) Child of child without scm causes NPE
Date Mon, 21 Mar 2011 17:32:22 GMT

    [ http://jira.codehaus.org/browse/MNG-5047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260906#action_260906
] 

Tim Pizey commented on MNG-5047:
--------------------------------

I added an scm element and got an error which told me I am not allowed to do what I want to
do: 

[ERROR] Invalid packaging for parent POM org.atombeat:atombeat-integration-tests:0.2-alpha-10-SNAPSHOT,
must be "pom" but is "jar" @ org.atombeat:atombeat-integration-tests:0.2-alpha-10-SNAPSHOT

I would have expected to be able to extend a "jar" pom, so as to override a property for example.


> Child of child without scm causes NPE
> -------------------------------------
>
>                 Key: MNG-5047
>                 URL: http://jira.codehaus.org/browse/MNG-5047
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0
>         Environment: mvn -v
> Apache Maven 3.0-alpha-7 (r921173; 2010-03-09 22:31:07+0000)
> Java version: 1.6.0_24
> Java home: /usr/lib/jvm/java-6-sun-1.6.0.24/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-30-generic" arch: "amd64" Family: "unix"
>            Reporter: Tim Pizey
>            Priority: Minor
>         Attachments: debug.log
>
>
> A grandchild pom, ie a pom with a parent with a parent throws an NPE. 
> The NPE seems to be due to an assumption that the SCM will be present.

-- 
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

        

Mime
View raw message