Graham Leggett wrote:
> We eventually opted to wrap the JNI DLLs / .so files inside a jar, and
> publish the jar in the repository, including a classifier to show both the
> platform (windows / linux / solaris) and architecture (x86, amd64, etc).
> From that point on we only needed to worry about the name of the jar,
> which was consistent across platforms.

We tried this, but found that it didn't work well with uniqueVersioned
snapshots - only one platform's artifacts would be available in the
repository at any one time, because the metadata recording the timestamp
is not classifier-specific.

As a result, we ended up moving the platform/architecture information
into the artifactId instead.

(Does that make sense? It's a bit of a hack, but it seems to work
adequately.)

Max.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to