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-resolver-maven-plugin fails to resolve with Java 15 project #4137

Closed
rotty3000 opened this issue Jun 4, 2020 · 6 comments · Fixed by #4138
Closed

bnd-resolver-maven-plugin fails to resolve with Java 15 project #4137

rotty3000 opened this issue Jun 4, 2020 · 6 comments · Fixed by #4138
Assignees
Labels
maint-candidate Issues or pull requests that are candidates for a maintenance release
Milestone

Comments

@rotty3000
Copy link
Contributor

an example failure is:

[ERROR] Resolution failed. Capabilities satisfying the following requirements could not be found:
    [<<INITIAL>>]
      ⇒ osgi.identity: (osgi.identity=org.apache.aries.jax.rs.itests)
          ⇒ [org.apache.aries.jax.rs.itests version=1.0.9.202006041558]
              ⇒ osgi.wiring.package: (osgi.wiring.package=javax.ws.rs.client)
                  ⇒ [org.apache.geronimo.specs.geronimo-jaxrs_2.1_spec version=1.1.0]
                      ⇒ osgi.serviceloader: (osgi.serviceloader=javax.ws.rs.ext.RuntimeDelegate)
                          ⇒ [org.apache.aries.jax.rs.whiteboard version=1.0.9.202006041558]
                              ⇒ osgi.wiring.package: (osgi.wiring.package=javax.crypto)

Note that this issue does not appear when running on any previous versions of Java.

The issue appears to be in the EE enum where starting at Java 15 the _0 suffix was dropped while the properties file was not updated the same way.

@rotty3000
Copy link
Contributor Author

this should be targeted for a maintenance release.

rotty3000 added a commit to rotty3000/bnd that referenced this issue Jun 4, 2020
fixes  bndtools#4137

Signed-off-by: Raymond Augé <raymond.auge@liferay.com>
@bjhargrave bjhargrave added this to the 5.2 milestone Jun 4, 2020
@bjhargrave bjhargrave added the maint-candidate Issues or pull requests that are candidates for a maintenance release label Jun 4, 2020
@bjhargrave
Copy link
Member

this should be targeted for a maintenance release.

Do we know if the packages and modules lists in the properties files are correct for Java 15?

rotty3000 added a commit that referenced this issue Jun 4, 2020
bnd-resolver-maven-plugin fails to resolve with Java 15 project
@rotty3000
Copy link
Contributor Author

I'll double check.

@rotty3000
Copy link
Contributor Author

modules needs a minor update. doing that. How did we normally generate the package list?

@bjhargrave
Copy link
Member

How did we normally generate the package list?

By hand :-/

@bjhargrave
Copy link
Member

How did we normally generate the package list?

By hand :-/

https://github.com/bjhargrave/java-platform-packages can do it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maint-candidate Issues or pull requests that are candidates for a maintenance release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants