-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"[WARNING] CP Don't override file" when generating archetype with jboss-parent 40 #51
Comments
The problem seems to be caused in the moment when the archetype is created and depends on the archetype plugin version. Here is the log for a "archetype:generate" output, when the archetype is built with maven-archetype-plugin 3.2.1:
And this is the log output, when the archetype was built with jboss-parent 39 (archetype plugin 3.1.2):
The jar files differ also in size. The method "getFilesetArchetypeResources" is found here. It simply reads the zip entries. |
Created https://issues.apache.org/jira/browse/ARCHETYPE-649 - let's see if there is some feedback. |
archetype-plugin 3.3.0 brings a new problem: logging of the archetype verification is no longer reported, which is confusing as there is just a long delay after the line "Invoking post-archetype-generation goals: verify" is printed, and you won't see errors that happen during building of the sample project: |
During the build process, there are warnings printed after updating to jboss-parent 40:
They are not shown with 39:
The archetype plugin was updated from 3.1.2 to 3.2.1, which seems to cause this issue.
According to some web research, the reason might be that some filesets in the archetype-metadata.xml are overlapping. I will do further research.
The text was updated successfully, but these errors were encountered: