Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bnd-export-maven-plugin:7.1.0 java.lang.NoSuchMethodError #6389

Closed
fipro78 opened this issue Dec 4, 2024 · 7 comments
Closed

bnd-export-maven-plugin:7.1.0 java.lang.NoSuchMethodError #6389

fipro78 opened this issue Dec 4, 2024 · 7 comments

Comments

@fipro78
Copy link

fipro78 commented Dec 4, 2024

I worked on updating my blog post to the latest Eclipse and Bndtools:

https://vogella.com/blog/building-a-headless-rcp-application-with-tycho/
https://github.com/fipro78/osgi-ds-getting-started-pde

After updating the bnd-export-maven-plugin to 7.0.0 I get the error Default handler for Launcher-Plugin not found in biz.aQute.launcher

To fix this I had to add the dependency to biz.aQute.launcher.

Searching around, I got the impression that this issue was fixed years ago, as I did not encounter it with the version I used before. Is this maybe a regression?
bndtools/bndtools#1294

Then I noticed that Bndtools 7.1.0 was released, so I updated my example to that version. But that fails with the following error:

Execution default of goal biz.aQute.bnd:bnd-export-maven-plugin:7.1.0:export failed: An API incompatibility was encountered while executing biz.aQute.bnd:bnd-export-maven-plugin:7.1.0:export: java.lang.NoSuchMethodError: 'aQute.bnd.osgi.Processor aQute.bnd.build.model.BndEditModel.getOwner()'
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>biz.aQute.bnd:bnd-export-maven-plugin:7.1.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/bnd-export-maven-plugin/7.1.0/bnd-export-maven-plugin-7.1.0.jar
[ERROR] urls[1] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.maven/7.1.0/biz.aQute.bnd.maven-7.1.0.jar
[ERROR] urls[2] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.dto/1.0.0/org.osgi.dto-1.0.0.jar
[ERROR] urls[3] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.resource/1.0.0/org.osgi.resource-1.0.0.jar
[ERROR] urls[4] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.framework/1.8.0/org.osgi.framework-1.8.0.jar
[ERROR] urls[5] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.repository/1.1.0/org.osgi.service.repository-1.1.0.jar
[ERROR] urls[6] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.function/1.2.0/org.osgi.util.function-1.2.0.jar
[ERROR] urls[7] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/osgi.annotation/8.0.1/osgi.annotation-8.0.1.jar
[ERROR] urls[8] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.promise/1.2.0/org.osgi.util.promise-1.2.0.jar
[ERROR] urls[9] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.util/7.1.0/biz.aQute.bnd.util-7.1.0.jar
[ERROR] urls[10] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.tracker/1.5.4/org.osgi.util.tracker-1.5.4.jar
[ERROR] urls[11] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.log/1.3.0/org.osgi.service.log-1.3.0.jar
[ERROR] urls[12] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.serviceloader/1.0.0/org.osgi.service.serviceloader-1.0.0.jar
[ERROR] urls[13] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.resolve/7.1.0/biz.aQute.resolve-7.1.0.jar
[ERROR] urls[14] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.resolver/1.1.1/org.osgi.service.resolver-1.1.1.jar
[ERROR] urls[15] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.repository/7.1.0/biz.aQute.repository-7.1.0.jar
[ERROR] urls[16] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.coordinator/1.0.2/org.osgi.service.coordinator-1.0.2.jar
[ERROR] urls[17] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.embedded-repo/7.1.0/biz.aQute.bnd.embedded-repo-7.1.0.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[project>org.fipro:org.fipro.parent:1.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
@chrisrueger
Copy link
Contributor

chrisrueger commented Dec 4, 2024

I noticed the Number of foreign imports: 1 and I remembered that @laeubi had something similar here in one of the builds in PR #6362:

https://github.com/bndtools/bnd/actions/runs/11756946869/job/32755421072#step:7:4010

There was something with the maven dependencies so that a wrong outdated version was pulled in.
See also here

BndEditModel.getOwner() is definitly a new method added in 7.1.0 and it seems to not find this method (NoSuchMethodError) which sounds like an older version is used.

I think @laeubi or @bjhargrave can explain better.

@bjhargrave
Copy link
Member

Can we get a full stacktrace?

@bjhargrave
Copy link
Member

I am also surprised I don't see biz.aQute.bndlib in the list of URLs since it is a dependency of biz.aQute.bnd.maven and bnd-export-maven-plugin. Is there some exclusion on your plugin configuration?

@laeubi
Copy link
Contributor

laeubi commented Dec 5, 2024

@chrisrueger I have extracted it here:

@fipro78 just to make sure have you run the build with -U flag? Sadly maven (central) is sometimes slow in updating the meta-data and this can lead to strange errors of larger sets of interrelated jars to not fully downloaded into the local repo sometimes.

@fipro78
Copy link
Author

fipro78 commented Dec 5, 2024

Can we get a full stacktrace?

This is the whole output when running with verbose output:

[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class class org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.engine for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class class org.eclipse.equinox.internal.p2.engine.ProfileRegistryComponent and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.engine for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class class org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.engine for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class class org.eclipse.equinox.internal.p2.engine.ProfileRegistryComponent and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.engine for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class class org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.engine for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class class org.eclipse.equinox.internal.p2.engine.ProfileRegistryComponent and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.engine for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class class org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.engine for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class class org.eclipse.equinox.internal.p2.engine.ProfileRegistryComponent and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.engine for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.engine/2.10.200/org.eclipse.equinox.p2.engine-2.10.200.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class interface org.eclipse.equinox.p2.core.IProvisioningAgentProvider and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.core for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class interface org.eclipse.equinox.p2.core.IProvisioningAgent and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.core for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class interface org.eclipse.equinox.p2.core.IProvisioningAgent and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.core for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class interface org.eclipse.equinox.p2.core.IProvisioningAgent and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.core for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class interface org.eclipse.equinox.p2.core.IProvisioningAgent and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.core for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class interface org.eclipse.equinox.p2.core.IProvisioningAgent and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.core for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class interface org.eclipse.equinox.p2.core.IProvisioningAgent and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.core for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class interface org.eclipse.equinox.p2.core.IProvisioningAgent and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.core for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Searching bundle for class interface org.eclipse.equinox.p2.core.IProvisioningAgent and location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[DEBUG] [2ddeb7af-6ab5-4135-bb41-214a5796db1d][extension>org.eclipse.tycho:tycho-maven-plugin:4.0.10] Return bundle org.eclipse.equinox.p2.core for location file:/C:/Users/fad8pl/.m2/repository/org/eclipse/platform/org.eclipse.equinox.p2.core/2.12.100/org.eclipse.equinox.p2.core-2.12.100.jar
[ERROR] Failed to execute goal biz.aQute.bnd:bnd-export-maven-plugin:7.1.0:export (default) on project org.fipro.headless: Execution default of goal biz.aQute.bnd:bnd-export-maven-plugin:7.1.0:export failed: An API incompatibility was encountered while executing biz.aQute.bnd:bnd-export-maven-plugin:7.1.0:export: java.lang.NoSuchMethodError: 'aQute.bnd.osgi.Processor aQute.bnd.build.model.BndEditModel.getOwner()'
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>biz.aQute.bnd:bnd-export-maven-plugin:7.1.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/bnd-export-maven-plugin/7.1.0/bnd-export-maven-plugin-7.1.0.jar
[ERROR] urls[1] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.maven/7.1.0/biz.aQute.bnd.maven-7.1.0.jar
[ERROR] urls[2] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.dto/1.0.0/org.osgi.dto-1.0.0.jar
[ERROR] urls[3] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.resource/1.0.0/org.osgi.resource-1.0.0.jar
[ERROR] urls[4] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.framework/1.8.0/org.osgi.framework-1.8.0.jar
[ERROR] urls[5] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.repository/1.1.0/org.osgi.service.repository-1.1.0.jar
[ERROR] urls[6] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.function/1.2.0/org.osgi.util.function-1.2.0.jar
[ERROR] urls[7] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/osgi.annotation/8.0.1/osgi.annotation-8.0.1.jar
[ERROR] urls[8] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.promise/1.2.0/org.osgi.util.promise-1.2.0.jar
[ERROR] urls[9] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.util/7.1.0/biz.aQute.bnd.util-7.1.0.jar
[ERROR] urls[10] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.tracker/1.5.4/org.osgi.util.tracker-1.5.4.jar
[ERROR] urls[11] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.log/1.3.0/org.osgi.service.log-1.3.0.jar
[ERROR] urls[12] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.serviceloader/1.0.0/org.osgi.service.serviceloader-1.0.0.jar
[ERROR] urls[13] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.resolve/7.1.0/biz.aQute.resolve-7.1.0.jar
[ERROR] urls[14] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.resolver/1.1.1/org.osgi.service.resolver-1.1.1.jar
[ERROR] urls[15] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.repository/7.1.0/biz.aQute.repository-7.1.0.jar
[ERROR] urls[16] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.coordinator/1.0.2/org.osgi.service.coordinator-1.0.2.jar
[ERROR] urls[17] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.embedded-repo/7.1.0/biz.aQute.bnd.embedded-repo-7.1.0.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[project>org.fipro:org.fipro.parent:1.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR]
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal biz.aQute.bnd:bnd-export-maven-plugin:7.1.0:export (default) on project org.fipro.headless: Execution default of goal biz.aQute.bnd:bnd-export-maven-plugin:7.1.0:export failed: An API incompatibility was encountered while executing biz.aQute.bnd:bnd-export-maven-plugin:7.1.0:export: java.lang.NoSuchMethodError: 'aQute.bnd.osgi.Processor aQute.bnd.build.model.BndEditModel.getOwner()'
-----------------------------------------------------
realm =    plugin>biz.aQute.bnd:bnd-export-maven-plugin:7.1.0
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/bnd-export-maven-plugin/7.1.0/bnd-export-maven-plugin-7.1.0.jar
urls[1] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.maven/7.1.0/biz.aQute.bnd.maven-7.1.0.jar
urls[2] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.dto/1.0.0/org.osgi.dto-1.0.0.jar
urls[3] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.resource/1.0.0/org.osgi.resource-1.0.0.jar
urls[4] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.framework/1.8.0/org.osgi.framework-1.8.0.jar
urls[5] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.repository/1.1.0/org.osgi.service.repository-1.1.0.jar
urls[6] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.function/1.2.0/org.osgi.util.function-1.2.0.jar
urls[7] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/osgi.annotation/8.0.1/osgi.annotation-8.0.1.jar
urls[8] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.promise/1.2.0/org.osgi.util.promise-1.2.0.jar
urls[9] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.util/7.1.0/biz.aQute.bnd.util-7.1.0.jar
urls[10] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.tracker/1.5.4/org.osgi.util.tracker-1.5.4.jar
urls[11] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.log/1.3.0/org.osgi.service.log-1.3.0.jar
urls[12] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.serviceloader/1.0.0/org.osgi.service.serviceloader-1.0.0.jar
urls[13] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.resolve/7.1.0/biz.aQute.resolve-7.1.0.jar
urls[14] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.resolver/1.1.1/org.osgi.service.resolver-1.1.1.jar
urls[15] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.repository/7.1.0/biz.aQute.repository-7.1.0.jar
urls[16] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.coordinator/1.0.2/org.osgi.service.coordinator-1.0.2.jar
urls[17] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.embedded-repo/7.1.0/biz.aQute.bnd.embedded-repo-7.1.0.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[project>org.fipro:org.fipro.parent:1.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]

-----------------------------------------------------

    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:569)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal biz.aQute.bnd:bnd-export-maven-plugin:7.1.0:export failed: An API incompatibility was encountered while executing biz.aQute.bnd:bnd-export-maven-plugin:7.1.0:export: java.lang.NoSuchMethodError: 'aQute.bnd.osgi.Processor aQute.bnd.build.model.BndEditModel.getOwner()'
-----------------------------------------------------
realm =    plugin>biz.aQute.bnd:bnd-export-maven-plugin:7.1.0
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/bnd-export-maven-plugin/7.1.0/bnd-export-maven-plugin-7.1.0.jar
urls[1] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.maven/7.1.0/biz.aQute.bnd.maven-7.1.0.jar
urls[2] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.dto/1.0.0/org.osgi.dto-1.0.0.jar
urls[3] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.resource/1.0.0/org.osgi.resource-1.0.0.jar
urls[4] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.framework/1.8.0/org.osgi.framework-1.8.0.jar
urls[5] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.repository/1.1.0/org.osgi.service.repository-1.1.0.jar
urls[6] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.function/1.2.0/org.osgi.util.function-1.2.0.jar
urls[7] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/osgi.annotation/8.0.1/osgi.annotation-8.0.1.jar
urls[8] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.promise/1.2.0/org.osgi.util.promise-1.2.0.jar
urls[9] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.util/7.1.0/biz.aQute.bnd.util-7.1.0.jar
urls[10] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.tracker/1.5.4/org.osgi.util.tracker-1.5.4.jar
urls[11] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.log/1.3.0/org.osgi.service.log-1.3.0.jar
urls[12] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.serviceloader/1.0.0/org.osgi.service.serviceloader-1.0.0.jar
urls[13] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.resolve/7.1.0/biz.aQute.resolve-7.1.0.jar
urls[14] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.resolver/1.1.1/org.osgi.service.resolver-1.1.1.jar
urls[15] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.repository/7.1.0/biz.aQute.repository-7.1.0.jar
urls[16] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.coordinator/1.0.2/org.osgi.service.coordinator-1.0.2.jar
urls[17] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.embedded-repo/7.1.0/biz.aQute.bnd.embedded-repo-7.1.0.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[project>org.fipro:org.fipro.parent:1.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]

-----------------------------------------------------

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:165)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:569)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.apache.maven.plugin.PluginContainerException: An API incompatibility was encountered while executing biz.aQute.bnd:bnd-export-maven-plugin:7.1.0:export: java.lang.NoSuchMethodError: 'aQute.bnd.osgi.Processor aQute.bnd.build.model.BndEditModel.getOwner()'
-----------------------------------------------------
realm =    plugin>biz.aQute.bnd:bnd-export-maven-plugin:7.1.0
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/bnd-export-maven-plugin/7.1.0/bnd-export-maven-plugin-7.1.0.jar
urls[1] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.maven/7.1.0/biz.aQute.bnd.maven-7.1.0.jar
urls[2] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.dto/1.0.0/org.osgi.dto-1.0.0.jar
urls[3] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.resource/1.0.0/org.osgi.resource-1.0.0.jar
urls[4] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.framework/1.8.0/org.osgi.framework-1.8.0.jar
urls[5] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.repository/1.1.0/org.osgi.service.repository-1.1.0.jar
urls[6] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.function/1.2.0/org.osgi.util.function-1.2.0.jar
urls[7] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/osgi.annotation/8.0.1/osgi.annotation-8.0.1.jar
urls[8] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.promise/1.2.0/org.osgi.util.promise-1.2.0.jar
urls[9] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.util/7.1.0/biz.aQute.bnd.util-7.1.0.jar
urls[10] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.util.tracker/1.5.4/org.osgi.util.tracker-1.5.4.jar
urls[11] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.log/1.3.0/org.osgi.service.log-1.3.0.jar
urls[12] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.serviceloader/1.0.0/org.osgi.service.serviceloader-1.0.0.jar
urls[13] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.resolve/7.1.0/biz.aQute.resolve-7.1.0.jar
urls[14] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.resolver/1.1.1/org.osgi.service.resolver-1.1.1.jar
urls[15] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.repository/7.1.0/biz.aQute.repository-7.1.0.jar
urls[16] = file:/C:/Users/fad8pl/.m2/repository/org/osgi/org.osgi.service.coordinator/1.0.2/org.osgi.service.coordinator-1.0.2.jar
urls[17] = file:/C:/Users/fad8pl/.m2/repository/biz/aQute/bnd/biz.aQute.bnd.embedded-repo/7.1.0/biz.aQute.bnd.embedded-repo-7.1.0.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[project>org.fipro:org.fipro.parent:1.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]

-----------------------------------------------------

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:163)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:569)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: java.lang.NoSuchMethodError: 'aQute.bnd.osgi.Processor aQute.bnd.build.model.BndEditModel.getOwner()'
    at biz.aQute.resolve.Bndrun.<init> (Bndrun.java:86)
    at biz.aQute.resolve.Bndrun.createBndrun (Bndrun.java:71)
    at aQute.bnd.maven.lib.resolve.BndrunContainer.init (BndrunContainer.java:197)
    at aQute.bnd.maven.lib.resolve.BndrunContainer.execute (BndrunContainer.java:170)
    at aQute.bnd.maven.export.plugin.ExportMojo.execute (ExportMojo.java:144)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:569)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)

I am also surprised I don't see biz.aQute.bndlib in the list of URLs since it is a dependency of biz.aQute.bnd.maven and bnd-export-maven-plugin. Is there some exclusion on your plugin configuration?

None that I am aware of.

just to make sure have you run the build with -U flag?

Tried it right now, the result stays the same.

@laeubi
Could it be a side effect of trying to combine a Tycho build with the bnd-export-maven-plugin?

@laeubi
Copy link
Contributor

laeubi commented Dec 5, 2024

Could it be a side effect of trying to combine a Tycho build with the bnd-export-maven-plugin?

You can try out the current tycho snapshot build that was just updated to bnd-lib 7.1 a few days ago.

If you use the extension make sure that is updated as well.

@fipro78
Copy link
Author

fipro78 commented Dec 5, 2024

OK, after updating to Bndtools 7.1.0 and Tycho to 4.0.11-SNAPSHOT, the build succeeds.

So it is a side effect of combining a Tycho build with Bndtools and not an issue with Bndtools. I therefore close this ticket.

@fipro78 fipro78 closed this as completed Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants