eclipse-ee4j / eclipse-ee4j/jersey
Archetype-generated project does not compile on Windows
- 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
Assessment
This issue has not been assessed yet.