Skip to content

Install platform-specific natives into subdirectories #19

Closed

Description

@ctrueden

Some projects package platform-specific native binaries into JARs with a naming convention like foo-1.2.3-native-macosx.jar or bar-4.5.6-natives-win32.jar. We need to teach copy-jars to put these into specific subdirectories of the application. I propose creating a property for defining a list of mappings for such artifacts: keys are regex strings, values are destination folders. And set some sensible defaults for the patterns we have already seen.

We will need to think carefully about how this might interact with scijava.app.subDirectory when it is set to a non-empty value.

Activity

  1. ctrueden commented on May 27, 2020

    @ctrueden
    MemberAuthor

    This is implemented in 35aa813, expanded upon in 2992176, and made more general in d99e14b, with some native-classifier-related improvements also in cca73a7. All available in the new scijava-maven-plugin 2.0.0 release.

    TL;DR: I consider this issue to be thoroughly addressed now! 🚀

  2. tinevez commented on May 27, 2020

    @tinevez
    Member

    🥳

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions