Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Maven Integration (M2E) » [tycho-dev-1819] error while building jar
[tycho-dev-1819] error while building jar [message #21925] Thu, 12 February 2009 08:02 Go to next message
Patrick Roumanoff is currently offline Patrick Roumanoff
Messages: 19
Registered: July 2009
Junior Member
Hi,

Tycho is fantastic: I have been looking for years for a way of integrating
my eclipse RCP build with maven wihtout success, and this one looks like a
winner.

I have managed to successfully build and install a couple of my plugins,
but then I hit this blocker and don't know where to look...
Everything goes fine until the packaginf phase:

[INFO] [osgi-packaging:package-plugin]
[INFO] Building jar:
C:\workspaces\tycho\MyPlugin\target\MyPlugin-1.0.0-SNAPSHOT. jar
[ERROR]
Internal error in the plugin manager executing goal
'org.codehaus.tycho:maven-osgi-packaging-plugin:0.3.0-DEV-18 19:package-plugin':
Mojo execution failed.


with stackTrace turned on (-e) I have the following:

Error stacktrace:
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
the plugin manager executing goal
'org.codehaus.tycho:maven-osgi-packaging-plugin:0.3.0-DEV-18 19:package-plugin':
Mojo execution failed.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHandleFailures(DefaultLifecycleExecutor.java:528)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeT askSegmentForProject(DefaultLifecycleExecutor.java:288)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeT askSegments(DefaultLifecycleExecutor.java:214)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:172)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:218)
at
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedde r.java:899)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnha nced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Lau ncher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithEx itCode(Launcher.java:408)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launc her.java:351)
at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
execution failed.
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(Def aultPluginManager.java:645)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHandleFailures(DefaultLifecycleExecutor.java:521)
... 16 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Error
assembling JAR
at
org.codehaus.tycho.eclipsepackaging.PackagePluginMojo.create PluginJar(PackagePluginMojo.java:151)
at
org.codehaus.tycho.eclipsepackaging.PackagePluginMojo.execut e(PackagePluginMojo.java:93)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(Def aultPluginManager.java:623)
... 17 more
Caused by: org.codehaus.plexus.archiver.ArchiverException: Problem
creating jar: C:\workspaces\tycho\MyPlugin\target\MyPlugin.jar (The
filename, directory name, or volume label syntax is incorrect) (and the
archive is probably corrupt but I could not delete it)
at
org.codehaus.plexus.archiver.AbstractArchiver.createArchive( AbstractArchiver.java:690)
at
org.apache.maven.archiver.MavenArchiver.createArchive(MavenA rchiver.java:332)
at
org.codehaus.tycho.eclipsepackaging.PackagePluginMojo.create PluginJar(PackagePluginMojo.java:147)
... 19 more
Caused by: java.io.FileNotFoundException:
C:\workspaces\tycho\MyPlugin\target\MyPlugin-1.0.0-SNAPSHOT. jar (The
filename, directory name, or volume label syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at
org.codehaus.plexus.archiver.zip.ZipOutputStream.<init>(ZipOutputStream.java:263)
at
org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createA rchiveMain(AbstractZipArchiver.java:322)
at
org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute (AbstractZipArchiver.java:242)
at
org.codehaus.plexus.archiver.AbstractArchiver.createArchive( AbstractArchiver.java:673)
... 21 more

[INFO]
------------------------------------------------------------ ------------
[INFO] BUILD FAILED
[INFO]
------------------------------------------------------------ ------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Thu Feb 12 23:51:46 EST 2009
[INFO] Final Memory: 10M/18M
[INFO]
------------------------------------------------------------ ------------

What would cause such an error ? and most importantly how to fix it!

cheers,
Patrick
Re: [tycho-dev-1819] error while building jar [message #21971 is a reply to message #21925] Thu, 12 February 2009 09:52 Go to previous messageGo to next message
Eclipse User
Originally posted by: igor.ifedorenko.com

This exception does not tell much, unfortunately.

Assuming you checked available disk space and file permissions already,
can you check if C:\workspaces\tycho\MyPlugin\target gets created during
the build? package-plugin mojo does not check/create project output
folder, so it would fail if previously executed mojos did not create the
folder.

Also check bin.includes and bin.excludes in build.properties.

If both target folder and build.properties are okay, then I would like
to see full debug log with stack traces (i.e. -X -e) or a sample project
that demonstrates the problem.

--
Regards,
Igor



Patrick Roumanoff wrote:
> Hi,
>
> Tycho is fantastic: I have been looking for years for a way of
> integrating my eclipse RCP build with maven wihtout success, and this
> one looks like a winner.
>
> I have managed to successfully build and install a couple of my plugins,
> but then I hit this blocker and don't know where to look...
> Everything goes fine until the packaginf phase:
>
> [INFO] [osgi-packaging:package-plugin]
> [INFO] Building jar:
> C:\workspaces\tycho\MyPlugin\target\MyPlugin-1.0.0-SNAPSHOT. jar
> [ERROR]
> Internal error in the plugin manager executing goal
> 'org.codehaus.tycho:maven-osgi-packaging-plugin:0.3.0-DEV-18 19:package-plugin':
> Mojo execution failed.
>
>
> with stackTrace turned on (-e) I have the following:
>
> Error stacktrace:
> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
> in the plugin manager executing goal
> 'org.codehaus.tycho:maven-osgi-packaging-plugin:0.3.0-DEV-18 19:package-plugin':
> Mojo execution failed.
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHandleFailures(DefaultLifecycleExecutor.java:528)
>
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeT askSegmentForProject(DefaultLifecycleExecutor.java:288)
>
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeT askSegments(DefaultLifecycleExecutor.java:214)
>
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:172)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:218)
> at
> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedde r.java:899)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnha nced(Launcher.java:289)
>
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Lau ncher.java:229)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithEx itCode(Launcher.java:408)
>
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launc her.java:351)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
> execution failed.
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(Def aultPluginManager.java:645)
>
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHandleFailures(DefaultLifecycleExecutor.java:521)
>
> ... 16 more
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> assembling JAR
> at
> org.codehaus.tycho.eclipsepackaging.PackagePluginMojo.create PluginJar(PackagePluginMojo.java:151)
>
> at
> org.codehaus.tycho.eclipsepackaging.PackagePluginMojo.execut e(PackagePluginMojo.java:93)
>
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(Def aultPluginManager.java:623)
>
> ... 17 more
> Caused by: org.codehaus.plexus.archiver.ArchiverException: Problem
> creating jar: C:\workspaces\tycho\MyPlugin\target\MyPlugin.jar (The
> filename, directory name, or volume label syntax is incorrect) (and the
> archive is probably corrupt but I could not delete it)
> at
> org.codehaus.plexus.archiver.AbstractArchiver.createArchive( AbstractArchiver.java:690)
>
> at
> org.apache.maven.archiver.MavenArchiver.createArchive(MavenA rchiver.java:332)
>
> at
> org.codehaus.tycho.eclipsepackaging.PackagePluginMojo.create PluginJar(PackagePluginMojo.java:147)
>
> ... 19 more
> Caused by: java.io.FileNotFoundException:
> C:\workspaces\tycho\MyPlugin\target\MyPlugin-1.0.0-SNAPSHOT. jar (The
> filename, directory name, or volume label syntax is incorrect)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
> at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.<init>(ZipOutputStream.java:263)
>
> at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createA rchiveMain(AbstractZipArchiver.java:322)
>
> at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute (AbstractZipArchiver.java:242)
>
> at
> org.codehaus.plexus.archiver.AbstractArchiver.createArchive( AbstractArchiver.java:673)
>
> ... 21 more
>
> [INFO]
> ------------------------------------------------------------ ------------
> [INFO] BUILD FAILED
> [INFO]
> ------------------------------------------------------------ ------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Thu Feb 12 23:51:46 EST 2009
> [INFO] Final Memory: 10M/18M
> [INFO]
> ------------------------------------------------------------ ------------
>
> What would cause such an error ? and most importantly how to fix it!
>
> cheers,
> Patrick
>
Re: [tycho-dev-1819] error while building jar [message #22015 is a reply to message #21971] Thu, 12 February 2009 21:02 Go to previous messageGo to next message
Patrick Roumanoff is currently offline Patrick Roumanoff
Messages: 19
Registered: July 2009
Junior Member
thanks for your quick reply Igor,

I have figured it out: once the pom was genrated, I used Ctrl+F in the
eclipse POM editor to format it and the artifactId was split on two lines
thus reading

<artifactId>MyPlugin
</artifactId>

removing the extra line break solved the problem.

cheers,
Patrick

Igor Fedorenko wrote:

> This exception does not tell much, unfortunately.

> Assuming you checked available disk space and file permissions already,
> can you check if C:workspacestychoMyPlugintarget gets created during
> the build? package-plugin mojo does not check/create project output
> folder, so it would fail if previously executed mojos did not create the
> folder.

> Also check bin.includes and bin.excludes in build.properties.

> If both target folder and build.properties are okay, then I would like
> to see full debug log with stack traces (i.e. -X -e) or a sample project
> that demonstrates the problem.

> --
> Regards,
> Igor



> Patrick Roumanoff wrote:
>> Hi,
>>
>> Tycho is fantastic: I have been looking for years for a way of
>> integrating my eclipse RCP build with maven wihtout success, and this
>> one looks like a winner.
>>
>> I have managed to successfully build and install a couple of my plugins,
>> but then I hit this blocker and don't know where to look...
>> Everything goes fine until the packaginf phase:
>>
>> [INFO] [osgi-packaging:package-plugin]
>> [INFO] Building jar:
>> C:workspacestychoMyPlugintargetMyPlugin-1.0.0-SNAPSHOT.jar
>> [ERROR]
>> Internal error in the plugin manager executing goal
>>
'org.codehaus.tycho:maven-osgi-packaging-plugin:0.3.0-DEV-18 19:package-plugin':
>> Mojo execution failed.
>>
>>
>> with stackTrace turned on (-e) I have the following:
>>
>> Error stacktrace:
>> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
>> in the plugin manager executing goal
>>
'org.codehaus.tycho:maven-osgi-packaging-plugin:0.3.0-DEV-18 19:package-plugin':
>> Mojo execution failed.
>> at
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHandleFailures(DefaultLifecycleExecutor.java:528)
>>
>> at
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeT askSegmentForProject(DefaultLifecycleExecutor.java:288)
>>
>> at
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeT askSegments(DefaultLifecycleExecutor.java:214)
>>
>> at
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:172)
>>
>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:218)
>> at
>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedde r.java:899)
>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>>
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnha nced(Launcher.java:289)
>>
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Lau ncher.java:229)
>> at
>>
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithEx itCode(Launcher.java:408)
>>
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launc her.java:351)
>> at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
>> Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
>> execution failed.
>> at
>>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(Def aultPluginManager.java:645)
>>
>> at
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHandleFailures(DefaultLifecycleExecutor.java:521)
>>
>> ... 16 more
>> Caused by: org.apache.maven.plugin.MojoExecutionException: Error
>> assembling JAR
>> at
>>
org.codehaus.tycho.eclipsepackaging.PackagePluginMojo.create PluginJar(PackagePluginMojo.java:151)
>>
>> at
>>
org.codehaus.tycho.eclipsepackaging.PackagePluginMojo.execut e(PackagePluginMojo.java:93)
>>
>> at
>>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(Def aultPluginManager.java:623)
>>
>> ... 17 more
>> Caused by: org.codehaus.plexus.archiver.ArchiverException: Problem
>> creating jar: C:workspacestychoMyPlugintargetMyPlugin.jar (The
>> filename, directory name, or volume label syntax is incorrect) (and the
>> archive is probably corrupt but I could not delete it)
>> at
>>
org.codehaus.plexus.archiver.AbstractArchiver.createArchive( AbstractArchiver.java:690)
>>
>> at
>>
org.apache.maven.archiver.MavenArchiver.createArchive(MavenA rchiver.java:332)
>>
>> at
>>
org.codehaus.tycho.eclipsepackaging.PackagePluginMojo.create PluginJar(PackagePluginMojo.java:147)
>>
>> ... 19 more
>> Caused by: java.io.FileNotFoundException:
>> C:workspacestychoMyPlugintargetMyPlugin-1.0.0-SNAPSHOT.jar (The
>> filename, directory name, or volume label syntax is incorrect)
>> at java.io.FileOutputStream.open(Native Method)
>> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>> at
>>
org.codehaus.plexus.archiver.zip.ZipOutputStream.<init>(ZipOutputStream.java:263)
>>
>> at
>>
org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createA rchiveMain(AbstractZipArchiver.java:322)
>>
>> at
>>
org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute (AbstractZipArchiver.java:242)
>>
>> at
>>
org.codehaus.plexus.archiver.AbstractArchiver.createArchive( AbstractArchiver.java:673)
>>
>> ... 21 more
>>
>> [INFO]
>> ------------------------------------------------------------ ------------
>> [INFO] BUILD FAILED
>> [INFO]
>> ------------------------------------------------------------ ------------
>> [INFO] Total time: 8 seconds
>> [INFO] Finished at: Thu Feb 12 23:51:46 EST 2009
>> [INFO] Final Memory: 10M/18M
>> [INFO]
>> ------------------------------------------------------------ ------------
>>
>> What would cause such an error ? and most importantly how to fix it!
>>
>> cheers,
>> Patrick
>>
Re: [tycho-dev-1819] error while building jar [message #22060 is a reply to message #22015] Fri, 13 February 2009 12:24 Go to previous message
Eclipse User
Originally posted by: igor.ifedorenko.com

This looks like a bug in tycho or maven. I've opened
http://jira.codehaus.org/browse/MNGECLIPSE-1192 to track it.

Patrick Roumanoff wrote:
> thanks for your quick reply Igor,
>
> I have figured it out: once the pom was genrated, I used Ctrl+F in the
> eclipse POM editor to format it and the artifactId was split on two
> lines thus reading
>
> <artifactId>MyPlugin
> </artifactId>
>
> removing the extra line break solved the problem.
>
> cheers,
> Patrick
>
> Igor Fedorenko wrote:
>
>> This exception does not tell much, unfortunately.
>
>> Assuming you checked available disk space and file permissions already,
>> can you check if C:workspacestychoMyPlugintarget gets created during
>> the build? package-plugin mojo does not check/create project output
>> folder, so it would fail if previously executed mojos did not create
>> the folder.
>
>> Also check bin.includes and bin.excludes in build.properties.
>
>> If both target folder and build.properties are okay, then I would like
>> to see full debug log with stack traces (i.e. -X -e) or a sample
>> project that demonstrates the problem.
>
>> --
>> Regards,
>> Igor
>
>
>
>> Patrick Roumanoff wrote:
>>> Hi,
>>>
>>> Tycho is fantastic: I have been looking for years for a way of
>>> integrating my eclipse RCP build with maven wihtout success, and this
>>> one looks like a winner.
>>>
>>> I have managed to successfully build and install a couple of my
>>> plugins, but then I hit this blocker and don't know where to look...
>>> Everything goes fine until the packaginf phase:
>>>
>>> [INFO] [osgi-packaging:package-plugin]
>>> [INFO] Building jar:
>>> C:workspacestychoMyPlugintargetMyPlugin-1.0.0-SNAPSHOT.jar
>>> [ERROR]
>>> Internal error in the plugin manager executing goal
> 'org.codehaus.tycho:maven-osgi-packaging-plugin:0.3.0-DEV-18 19:package-plugin':
>
>>> Mojo execution failed.
>>>
>>>
>>> with stackTrace turned on (-e) I have the following:
>>>
>>> Error stacktrace:
>>> org.apache.maven.lifecycle.LifecycleExecutionException: Internal
>>> error in the plugin manager executing goal
> 'org.codehaus.tycho:maven-osgi-packaging-plugin:0.3.0-DEV-18 19:package-plugin':
>
>>> Mojo execution failed.
>>> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHandleFailures(DefaultLifecycleExecutor.java:528)
>
>>>
>>> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeT askSegmentForProject(DefaultLifecycleExecutor.java:288)
>
>>>
>>> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeT askSegments(DefaultLifecycleExecutor.java:214)
>
>>>
>>> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:172)
>
>>>
>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:218)
>>> at
>>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedde r.java:899)
>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
>>>
>>> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnha nced(Launcher.java:289)
>
>>>
>>> at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Lau ncher.java:229)
>>>
>>> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithEx itCode(Launcher.java:408)
>
>>>
>>> at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launc her.java:351)
>>>
>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
>>> Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
>>> execution failed.
>>> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(Def aultPluginManager.java:645)
>
>>>
>>> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHandleFailures(DefaultLifecycleExecutor.java:521)
>
>>>
>>> ... 16 more
>>> Caused by: org.apache.maven.plugin.MojoExecutionException: Error
>>> assembling JAR
>>> at
> org.codehaus.tycho.eclipsepackaging.PackagePluginMojo.create PluginJar(PackagePluginMojo.java:151)
>
>>>
>>> at
> org.codehaus.tycho.eclipsepackaging.PackagePluginMojo.execut e(PackagePluginMojo.java:93)
>
>>>
>>> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(Def aultPluginManager.java:623)
>
>>>
>>> ... 17 more
>>> Caused by: org.codehaus.plexus.archiver.ArchiverException: Problem
>>> creating jar: C:workspacestychoMyPlugintargetMyPlugin.jar (The
>>> filename, directory name, or volume label syntax is incorrect) (and
>>> the archive is probably corrupt but I could not delete it)
>>> at
> org.codehaus.plexus.archiver.AbstractArchiver.createArchive( AbstractArchiver.java:690)
>
>>>
>>> at
> org.apache.maven.archiver.MavenArchiver.createArchive(MavenA rchiver.java:332)
>
>>>
>>> at
> org.codehaus.tycho.eclipsepackaging.PackagePluginMojo.create PluginJar(PackagePluginMojo.java:147)
>
>>>
>>> ... 19 more
>>> Caused by: java.io.FileNotFoundException:
>>> C:workspacestychoMyPlugintargetMyPlugin-1.0.0-SNAPSHOT.jar (The
>>> filename, directory name, or volume label syntax is incorrect)
>>> at java.io.FileOutputStream.open(Native Method)
>>> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>>> at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>>> at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.<init>(ZipOutputStream.java:263)
>
>>>
>>> at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createA rchiveMain(AbstractZipArchiver.java:322)
>
>>>
>>> at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute (AbstractZipArchiver.java:242)
>
>>>
>>> at
> org.codehaus.plexus.archiver.AbstractArchiver.createArchive( AbstractArchiver.java:673)
>
>>>
>>> ... 21 more
>>>
>>> [INFO]
>>> ------------------------------------------------------------ ------------
>>> [INFO] BUILD FAILED
>>> [INFO]
>>> ------------------------------------------------------------ ------------
>>> [INFO] Total time: 8 seconds
>>> [INFO] Finished at: Thu Feb 12 23:51:46 EST 2009
>>> [INFO] Final Memory: 10M/18M
>>> [INFO]
>>> ------------------------------------------------------------ ------------
>>>
>>> What would cause such an error ? and most importantly how to fix it!
>>>
>>> cheers,
>>> Patrick
>>>
>
Previous Topic:pluginManagement, extensions versioning issue
Next Topic:Can't run Maven tests
Goto Forum:
  


Current Time: Sat Apr 19 23:29:32 EDT 2014

Powered by FUDForum. Page generated in 0.07820 seconds