bnd-maven-plugin build zip resource

54 views
Skip to first unread message

Stephen Kahmann

unread,
Apr 10, 2015, 3:24:56 PM4/10/15
to bndtool...@googlegroups.com
[ERROR] Failed to execute goal biz.aQute.bnd:bnd-maven-plugin:2.4.1:bnd-process (default) on project web.rya.osgi: bnd error: The JAR/ZIP file (/Users/stephen/.m2/repository/com/opensahara/useekm-postgis/1.2.0-a5/useekm-postgis-1.2.0-a5.pom) seems corrupted, error: error in opening zip file -> [Help 1]

This looks like a regular pom to me. Why is it giving a zip file error? This error does not occur when not using the bnd-maven-plugin. POM attached.
useekm-postgis-1.2.0-a5.pom

Stephen Kahmann

unread,
Apr 29, 2015, 10:32:01 AM4/29/15
to bndtool...@googlegroups.com
Is there a way to fix this? As a correction, this error is caused by the bnd-maven-plugin, but is not an issue with the maven-bundle-plugin.

BJ Hargrave

unread,
Apr 29, 2015, 11:12:02 AM4/29/15
to bndtool...@googlegroups.com
On Apr 29, 2015, at 10:32 , Stephen Kahmann <skahm...@gmail.com> wrote:

Is there a way to fix this? As a correction, this error is caused by the bnd-maven-plugin, but is not an issue with the maven-bundle-plugin.

There is very little detail here, but the plugin uses the maven project getArtifacts() method as a list of jar files to program the classpath for bnd. See https://github.com/bndtools/bnd/blob/master/bnd-maven-plugin/src/main/java/aQute/bnd/maven/plugin/BndMavenPlugin.java#L91.

Perhaps this pom file is part of the project’s artifacts? Instead of the corresponding jar file?


On Friday, April 10, 2015 at 3:24:56 PM UTC-4, Stephen Kahmann wrote:
[ERROR] Failed to execute goal biz.aQute.bnd:bnd-maven-plugin:2.4.1:bnd-process (default) on project web.rya.osgi: bnd error: The JAR/ZIP file (/Users/stephen/.m2/repository/com/opensahara/useekm-postgis/1.2.0-a5/useekm-postgis-1.2.0-a5.pom) seems corrupted, error: error in opening zip file -> [Help 1]

This looks like a regular pom to me. Why is it giving a zip file error? This error does not occur when not using the bnd-maven-plugin. POM attached.

--
You received this message because you are subscribed to the Google Groups "bndtools-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bndtools-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 

BJ



Reply all
Reply to author
Forward
0 new messages