Skip to content

Please package with maven-bundle-plugin #474

Open
@MushyMiddle

Description

@MushyMiddle

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...

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions