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

Please package with maven-bundle-plugin #474

Open
MushyMiddle opened this issue Dec 5, 2022 · 1 comment
Open

Please package with maven-bundle-plugin #474

MushyMiddle opened this issue Dec 5, 2022 · 1 comment
Assignees

Comments

@MushyMiddle
Copy link

MushyMiddle commented Dec 5, 2022

Most of ArangoDB's dependencies are packaged with an OSGi manifest (e.g. Jackson). I've successfully rebuilt both this driver, and similar for velocypack, with these changes to pom.xml:

<plugins>...
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>com.arangodb,com.arangodb.async,com.arangodb.async.internal,com.arangodb.async.internal.utils,com.arangodb.async.internal.velocystream,com.arangodb.entity,com.arangodb.entity.arangosearch,com.arangodb.entity.arangosearch.analyzer,com.arangodb.internal.cursor,com.arangodb.internal.http,com.arangodb.internal.mapping,com.arangodb.internal.net,com.arangodb.internal.util,com.arangodb.internal.velocypack,com.arangodb.internal.velocystream,com.arangodb.internal.velocystream.internal,com.arangodb.mapping,com.arangodb.model,com.arangodb.model.arangosearch,com.arangodb.util,com.arangodb.velocystream</Export-Package>
</instructions>
</configuration>
</plugin>
...</plugins

Can ArangoDB's Java artifacts be similarly packaged so we don't have to build/maintain them?

(Feel free to edit the Export-Package list if they don't all need to be exported - this was not a scientific list).

Thanks...

@rashtao rashtao self-assigned this Dec 14, 2022
@MushyMiddle
Copy link
Author

It seems like at least with the 6.20.0 release of the driver, this has been resolved. The only remaining artifact missing a bundle manifest is jackson-dataformat-velocypack. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants