eclipse-ee4j / eclipse-ee4j/jersey

Archetype-generated project does not compile on Windows

Open
#3,583 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

It seems there is a bug in the Archetype which not happens on Linux but on Windows: You cannot compile the generated project due to missing folder "etc".

Steps to reproduce:
* Use Windows
* Perform:
```
mvn archetype:generate -DinteractiveMode=false -Dpackage=war -DprojectAuthor=me -DprojectName=pr -DprojectDescription=pr -DartifactId=pr -DarchetypeArtifactId=jersey-example-java8-webapp -DarchetypeGroupId=org.glassfish.jersey.archetypes -DarchetypeVersion=2.26-b05
cd pr
mvn compile
```

Expected result:
* Maven compiles without errors

Actual result:
* Maven stops with error
```
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.16:check (verify) on project jersey-example-java8-webapp: Failed during checkstyle execution: Unable to find suppressions file at location: etc/config/checkstyle-suppressions.xml: Could not find resource 'etc/config/checkstyle-suppressions.xml'. -> [Help 1]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.