maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Casey (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MASSEMBLY-210) repository does not include the parent pom
Date Tue, 12 Jun 2007 17:18:59 GMT

     [ http://jira.codehaus.org/browse/MASSEMBLY-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Casey updated MASSEMBLY-210:
---------------------------------


If I build with 2.1-snapshot of maven, I get:

org.apache.maven.BuildFailureException
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:296)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:112)
        at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:906)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:367)
        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:324)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
Caused by: java.lang.NullPointerException
        at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:94)
        at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:278)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:643)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:354)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:255)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:141)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
        ... 11 more

> repository does not include the parent pom
> ------------------------------------------
>
>                 Key: MASSEMBLY-210
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-210
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: Stephane Nicoll
>            Assignee: John Casey
>             Fix For: 2.2-beta-2
>
>
> I am running the assembly on a project with a parent pom. <?xml version="1.0" encoding="ISO-8859-15"?>
<assembly> <id>dist</id> <formats> <format>zip</format>
</formats> <includeBaseDirectory>true</includeBaseDirectory> <baseDirectory>foo-${version}</baseDirectory>
<fileSets> <fileSet> <directory>.</directory> <outputDirectory>foo-base</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes> <excludes> <exclude>/target/</exclude>
</excludes> </fileSet> </fileSets> <repositories> <repository>
<outputDirectory>repository</outputDirectory> <scope>test</scope>
</repository> </repositories> </assembly> 
> The parent pom is not included at all.

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