I've been running it from the same dir since working with 1.8.2 -
[dspace-src].  I saw this happening late on Friday, and thought some one
was doing something to the repository and that it would be fixed today, but
not the case.  Here are more details:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-1:attached
(default) on project dspace-lni-client: Failed to create assembly: Error
adding file-set for 'javax.activation:activation:jar:1.1' to archive:
/tmp/archived-file-set.1701910094.tmp isn't a directory. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-1:attached
(default) on project dspace-lni-client: Failed to create assembly: Error
adding file-set for 'javax.activation:activation:jar:1.1' to archive:
/tmp/archived-file-set.1701910094.tmp isn't a directory.
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:134)
        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:597)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to create
assembly: Error adding file-set for 'javax.activation:activation:jar:1.1'
to archive: /tmp/archived-file-set.1701910094.tmp isn't a directory.
        at
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:302)
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
        ... 19 more
Caused by:
org.apache.maven.plugin.assembly.archive.ArchiveCreationException: Error
adding file-set for 'javax.activation:activation:jar:1.1' to archive:
/tmp/archived-file-set.1701910094.tmp isn't a directory.
        at
org.apache.maven.plugin.assembly.archive.task.AddArtifactTask.execute(AddArtifactTask.java:87)
        at
org.apache.maven.plugin.assembly.archive.task.AddDependencySetsTask.addDependencySet(AddDependencySetsTask.java:140)
        at
org.apache.maven.plugin.assembly.archive.task.AddDependencySetsTask.execute(AddDependencySetsTask.java:90)
        at
org.apache.maven.plugin.assembly.archive.phase.DependencySetAssemblyPhase.execute(DependencySetAssemblyPhase.java:54)
        at
org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:98)
        at
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:278)
        ... 21 more
Caused by: org.codehaus.plexus.archiver.ArchiverException:
/tmp/archived-file-set.1701910094.tmp isn't a directory.
        at
org.codehaus.plexus.archiver.AbstractArchiver.addDirectory(AbstractArchiver.java:154)
        at
org.codehaus.plexus.archiver.AbstractArchiver.addArchivedFileSet(AbstractArchiver.java:336)
        at
org.apache.maven.plugin.assembly.archive.task.AddArtifactTask.execute(AddArtifactTask.java:83)
        ... 26 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :dspace-lni-client


On Mon, Jul 16, 2012 at 12:24 PM, Tim Donohue <[email protected]>wrote:

> Hi Jose,
>
> Can you re-run Maven with the "-e" flag (as it mentions in the error
> message that you pasted below)?  Sometimes that gives more information
> as to the underlying error message.
>
> So, you'd want to run:
>
> mvn -e package
>
> Also, what directory are you running 'mvn package' from?  Are you
> running it from [dspace-src]? or [dspace-src]/dspace/?
>
> - Tim
>
> On 7/16/2012 9:49 AM, Jose Blanco wrote:
> > I just tried 'mvn package' and am getting this error:
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-1:attached
> > (default) on project dspace-lni-client: Failed to create assembly: Error
> > adding file-set for 'javax.activation:activation:jar:1.1' to archive:
> > /tmp/archived-file-set.721246988.tmp isn't a directory. -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> > -e switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR]   mvn <goals> -rf :dspace-lni-client
> >
> > Any ideas?
> > Jose
> >
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >
> >
> >
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to