You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/08/26 05:19:02 UTC

[jira] Updated: (MNG-755) Remove the dysfunctional command line arguments

     [ http://jira.codehaus.org/browse/MNG-755?page=all ]

Brett Porter updated MNG-755:
-----------------------------

    Priority: Critical  (was: Major)
     Summary: Remove the dysfunctional command line arguments  (was: Remove the disfunctional command line arguments)

> Remove the dysfunctional command line arguments
> -----------------------------------------------
>
>          Key: MNG-755
>          URL: http://jira.codehaus.org/browse/MNG-755
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-beta-1
>  Environment: SVN revision 233464 on Linux
>     Reporter: Bob Allison
>     Priority: Critical
>      Fix For: 2.0-beta-1

>
>
> I ran "m2 -fae clean:clean package site:site" on my top level package to clean up all targets, rebuild the artifacts, and generate a site for every project (I used -fae since I have a problem building the site in one sub-project).  The banner displayed when it started processing was:
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [clean:clean, package, site:site]
> [INFO] ----------------------------------------------------------------------------
> even though I have a different name in the POM.
> A little later, the build fails with:
> [INFO] [jar:jar]
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] Diagnosis: Error assembling JAR
> [INFO] ----------------------------------------------------------------------------
> [ERROR] Cause:
> org.apache.maven.plugin.MojoExecutionException: Error assembling JAR
>         at org.apache.maven.plugin.jar.JarMojo.execute(JarMojo.java:107)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:364)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:470)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:443)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:429)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:266)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:125)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:186)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:316)
>         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)
> Caused by: java.lang.NullPointerException
>         at org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:238)
>         at org.apache.maven.plugin.jar.JarMojo.execute(JarMojo.java:100)
>         ... 16 more
> which is caused by not having any sources in the project (since it is a POM project).  The build also did not run any of the modules.

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