Skip to content

jme3-testdata depends on nifty #1926

Closed
@stephengold

Description

@stephengold

The published POM file for "jme3-testdata" indicates dependencies on "nifty-examples" and "nifty-style-black":

<dependency>
<groupId>com.github.nifty-gui</groupId>
<artifactId>nifty-examples</artifactId>
<version>1.4.3</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.github.nifty-gui</groupId>
<artifactId>nifty-style-black</artifactId>
<version>1.4.3</version>
<scope>runtime</scope>
</dependency>

"jme3-examples" contains only resources; neither of these is a valid dependency.

This mistake causes "nifty-examples" (20 MBytes) and "nifty-style-black" (74 kBytes) to be unnecessarily incorporated into projects that use "jme3-testdata" (for the Jaime model, for instance) --- even if they don't use Nifty GUI.

  • "nifty-style-black" already appears as a dependency of "jme3-niftygui", so the dependency is redundant
  • "nifty-examples" is used by "TestNiftyExamples.java" and "TestNiftyToMesh.java" apps in "jme3-examples, so that dependency should be moved from "jme3-testdata" to "jme3-examples"

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildscriptAn issue with the buildscript

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions