Although I am not using felix plugin, the problem is likely related to
workspace artifact resolution. By default, m2e will resolve dependencies
present in Eclipse workspace projects into projects' output folders. I
have seen number of maven plugins that assume that all dependencies
resolve into JAR files and fail to run in m2e.
You can disable workspace dependency resolution (right-click on the
project, properties, maven, resolve dependencies from workspace
projects) to see if this is the problem.
--
Regards,
Igor
raner wrote:
Hm, having a look at the Error Log view wouldn't have been a bad idea...
Turns out this is the root of the LifecycleExecutionException:
...
Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo execution
failed.
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:601)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
... 28 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Error calculating
classpath for project MavenProject:
com.intuit.eclipse.tcr.ui.quickbase:com.intuit.eclipse.tcr.ui.quickbase:0.0.1-SNAPSHOT
@ C:\dev\workspace\com.intuit.eclipse.tcr.ui.quickbase\pom.xml
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:231)
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:218)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
... 29 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.zip.ZipFile.<init>(ZipFile.java:234)
at aQute.lib.osgi.ZipResource.build(ZipResource.java:39)
at aQute.lib.osgi.ZipResource.build(ZipResource.java:32)
at aQute.lib.osgi.Jar.<init>(Jar.java:35)
at
org.apache.felix.bundleplugin.BundlePlugin.getClasspath(BundlePlugin.java:685)
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:227)
... 31 more
So, I have a stacktrace now, and apparently maven-bundle-plugin is trying to
open some zip file. Please let me know if anybody has any ideas about this.
Thanks!
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email