I have a Dynamic Web Project
that we need to convert to Maven Project
.
I am using Eclipse 2021-03
with Maven Integration for Eclipse v1.17.2
I used a "normal" procedure to convert the project:
src/main/java
, src/main/resources
, src/main/webapp
)/target/classes
Once finished, Maven plugin creates automatically a folder under src/main/webapp/META-INF/maven/{groupId}/{artifactId}/
inside this folder there are two files, specifically pom.properties
and pom.xml
If I try to delete them, Maven plugin recreates them, same story if I try to delete the entire folder structure from /maven
.
This is a screenshot of the folder structure, with the "unwanted" folders and files highlighted.
And this is my pom.xml
:
Is it correct this behaviour? Why are those folders and files created and why can't I make my Eclipse stop to generate them?
Any help would be highly apreciated!
I had the same problem, I solved it by checking the following option under Window -> Preferences -> Maven -> Java EE Integration