Когда я запускаю цель, которая не включает плагин maven-archetype-plugin, я не вижу любое предупреждение:
Код: Выделить всё
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ maven-archetype-base ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ maven-archetype-base ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
Код: Выделить всё
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ maven-archetype-base-archetype ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 10 resources
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ maven-archetype-base-archetype ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
Есть идеи? Спасибо.
У меня есть следующий pom.xml:
Код: Выделить всё
4.0.0
my.group.id
my-artifact
0.0.1
maven-archetype
1.7
1.7
UTF-8
${encoding}
${encoding}
${encoding}
${encoding}
2.2
2.6
2.2
[...]
org.apache.maven.archetype
archetype-packaging
${maven-archetype-packaging-extension-version}
org.apache.maven.plugins
maven-resources-plugin
${maven-resources-plugin-version}
org.apache.maven.plugins
maven-archetype-plugin
${maven-archetype-plugin-version}
true
src/main/resources
true
Подробнее здесь: https://stackoverflow.com/questions/241 ... t-encoding
Мобильная версия