← All tasks
javailuwatar/java-design-patterns #2565Not a task: already works

Executable jar problem

envgap__iluwatar__java-design-patterns-2565

01 / FAILURE SIGNATURE

As reported upstream

- An error message `no main manifest attribute, in spatial-partition/target/spatial-partition-1.26.0-SNAPSHOT.jar` is printed
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
82e30ab7176fc5657c3d26b9401c3769560de516
Manifest
pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

iluwatar/java-design-patterns #2565 · read the original issue
The project includes Maven Assembly plugin to produce executable jars out of all the submodules (individual patterns). However, there currently seems to be a problem with the intended behaviour. 

Steps to reproduce:

1. At the project root build everything, i.e. `mvn clean package -DskipTests=true`
2. Execute one of the produced jars, e.g. `java -jar spatial-partition/target/spatial-partition-1.26.0-SNAPSHOT.jar`

Expected behaviour

- The spatial partition jar is executed and the pattern example runs without problems

Actual behavior

- An error message `no main manifest attribute, in spatial-partition/target/spatial-partition-1.26.0-SNAPSHOT.jar` is printed
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]