[ http://jira.codehaus.org/browse/MASSEMBLY-49?page=comments#action_54740 ]
Brett Porter commented on MASSEMBLY-49: --------------------------------------- I'd getting this with 2.0.2-SNAPSHOT, attachAssemblyId=false, fullName used to change the end id, not attached. > InvalidArtifactRTException is thrown when appendAssemblyId=false > ---------------------------------------------------------------- > > Key: MASSEMBLY-49 > URL: http://jira.codehaus.org/browse/MASSEMBLY-49 > Project: Maven 2.x Assembly Plugin > Type: Bug > Environment: xp, maven 2.0, latest maven-assembly-plugin > Reporter: Dan Tran > Priority: Blocker > > > packaging=pom > appendAssemblyId=false > bind assembly:attached goal to package phase > here the build ouput > --- > [INFO] [assembly:attached {execution: default}] > [INFO] Building zip: > C:\Temp\m2test\archiver-maven-plugin-test\target\archiver-m > aven-plugin-test-1.0-beta-1-SNAPSHOT.zip > [INFO] > ------------------------------------------------------------------------- > --- > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] An invalid artifact was detected. > This artifact might be in your project's POM, or it might have been included > tra > nsitively during the resolution process. Here is the information we do have > for > this artifact: > o GroupID: org.codehaus.mojo.test > o ArtifactID: archiver-maven-plugin-test > o Version: 1.0-beta-1-SNAPSHOT > o Type: zip > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Trace > org.apache.maven.artifact.InvalidArtifactRTException: For artifact > {org.codehaus > .mojo.test:archiver-maven-plugin-test:1.0-beta-1-SNAPSHOT:zip}: Attached > artifac > ts must specify a classifier. > at > org.apache.maven.project.artifact.AttachedArtifact.<init>(AttachedArt > ifact.java:52) > at > org.apache.maven.project.DefaultMavenProjectHelper.attachArtifact(Def > aultMavenProjectHelper.java:32) > at > org.apache.maven.plugin.assembly.AbstractAssemblyMojo.execute(Abstrac > tAssemblyMojo.java:216) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:399) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:519) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > fecycle(DefaultLifecycleExecutor.java:469) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:448) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:301) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:268) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:137) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > 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: 1 second > [INFO] Finished at: Mon Jan 02 02:32:50 CST 2006 > [INFO] Final Memory: 2M/5M > [INFO] > ------------------------------------------------------------------------- > --- > I think the root cause is in ProjectHelper plexus component -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
