You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With java.configuration.updateBuildConfiguration set to automatic, the src/main/resources/archetype-resources/pom.xml is built, creating a src/main/resources/archetype-resources/target folder that is then included into the packaged archetype jar. It's nice to have the Eclipse project files (.settings folder, .classpath, and .project) created inside the archetype-resources so that projects generated from my archetypes are Eclipse-ready out of the box, but the target folder definitely doesn't belong.
Environment
Operating System: Windows
JDK version:
Visual Studio Code version:
Java extension version:
Steps To Reproduce
Create a project with mvn archetype:generate -DarchetypeArtifactId=maven-archetype-archetype
Open project in VS Code and set to automatically update build configuration when build files are changed.
I can't get it to create src/main/resources/archetype-resources/target (which would be wrong), however setting java.configuration.updateBuildConfiguration to automatic makes jdt.ls go into an infinite loop of project updates, which is definitely wayyyy more wrong
With
java.configuration.updateBuildConfiguration
set to automatic, thesrc/main/resources/archetype-resources/pom.xml
is built, creating asrc/main/resources/archetype-resources/target
folder that is then included into the packaged archetype jar. It's nice to have the Eclipse project files (.settings folder, .classpath, and .project) created inside the archetype-resources so that projects generated from my archetypes are Eclipse-ready out of the box, but the target folder definitely doesn't belong.Environment
Steps To Reproduce
mvn archetype:generate -DarchetypeArtifactId=maven-archetype-archetype
Additional Informations
https://maven.apache.org/archetype/maven-archetype-plugin/specification/archetype.html
The text was updated successfully, but these errors were encountered: