maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Möller (JIRA) <j...@codehaus.org>
Subject [jira] Commented: (MNG-3729) Maven 2.0.10-RC10 fails with NPE on assembly:assembly
Date Wed, 27 Aug 2008 08:15:48 GMT

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

Thorsten Möller commented on MNG-3729:
--------------------------------------

Yes, you can check out the entire project here: 
http://on.cs.unibas.ch/svn/repos/on/trunk 

For building you might need to add -DskipTests since one JUnit test sporadically fails (bug
in the test which hasn't been fixed yet). 

Best regards, 
Thorsten

> Maven 2.0.10-RC10 fails with NPE on assembly:assembly
> -----------------------------------------------------
>
>                 Key: MNG-3729
>                 URL: http://jira.codehaus.org/browse/MNG-3729
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.10
>         Environment: Mac OS X 10.5.4
>            Reporter: Thorsten Möller
>             Fix For: 2.0.10
>
>         Attachments: bin.xml, pom.xml
>
>
> Multi-module project fails with NPE on assembly:assembly (assembly plugin used 2.2-beta-1;
2.2-beta-2 can not be used because of http://jira.codehaus.org/browse/MASSEMBLY-314 bug)
> Command used was "mvn clean install assembly:assembly eclipse:eclipse".
> Same configuration (see attached POM) works with Maven 2.0.9. Below you will find relevant
excerpt from the build trace.
> Note: Some internal/irrelevant information were removed from attached POM. Additionally,
assembly descriptor of default assembly is attached.
> Best regards,
> Thorsten
> [INFO] ------------------------------------------------------------------------ 
> [INFO] Building OSIRIS Next 
> [INFO]    task-segment: [assembly:assembly] (aggregator-style) 
> [INFO] ------------------------------------------------------------------------ 
> [INFO] Preparing assembly:assembly 
> [INFO] ------------------------------------------------------------------------ 
> [INFO] Building OSIRIS Next 
> [INFO] ------------------------------------------------------------------------ 
> [INFO] [enforcer:enforce {execution: enforce-maven}] 
> [INFO] [tools:copy-legal-files {execution: install-legal-files}] 
> [INFO] [site:attach-descriptor] 
> [INFO] Preparing source:jar 
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. 
> [INFO] ------------------------------------------------------------------------ 
> [ERROR] FATAL ERROR 
> [INFO] ------------------------------------------------------------------------ 
> [INFO] null 
> [INFO] ------------------------------------------------------------------------ 
> [INFO] Trace 
> java.lang.NullPointerException 
>         at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1426)

>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:410)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:682)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1194)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1037)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:634)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1194)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1032)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:634)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:559)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:377)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:274)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:189)

>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) 
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) 
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:302) 
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

>         at java.lang.reflect.Method.invoke(Method.java:585) 
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) 
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) 
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) 
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375) 
> [INFO] ------------------------------------------------------------------------ 
> [INFO] Total time: 55 minutes 18 seconds 
> [INFO] Finished at: Mon Aug 25 17:18:11 CEST 2008 
> [INFO] Final Memory: 36M/126M 
> [INFO] ------------------------------------------------------------------------ 

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