← Back to issue list

Java plugin should not copy all jar files

View original Github issue

Metadata

Project
craft-parts
Number
#893
Type
issue
State
open
Author
vpa1977
Labels
Created
2024-10-31 15:32:28+00:00
Updated
2025-03-11 14:28:48+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done Java plugin copies all jar files found in the build output. This includes test dependencies which should not be present in the resulting image. Java plugin is unable to distinguish between test and runtime dependencies as it is build-system specific. We need to design a way to determine the test dependencies,. ### Why it needs to get done By default Java plugin deploys all the jar files including test dependencies.

Evaluation history

No evaluation history available.