apache / apache/maven-archetype

[ARCHETYPE-500] create from project with resources plugin

Open
#788 0 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
148
Forks
181
Avg merge
1d 20h
Merged PRs (30d)
8

Description

**[joseph](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=lzxianren)** opened **[ARCHETYPE-500](https://issues.apache.org/jira/browse/ARCHETYPE-500?redirect=false)** and commented

when i run:mvn archetype:create-from-project with one of my project,it give me a warning :[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
At first,i thougt i have wrong maven-resources-plugin in pom,but when i run mvn install, it's ok without the error.I find that when i run mvn archetype:create-from-project,the maven-resources-plugin's version is 2.7,but when i run mvn install ,it was 2.6. It's interesting for me,so i run mvn help:effective-pom, the version is still 2.6. I don't understand why the version is different and what should i do to remove the warning. Thank you!

---

**Affects:** 2.3

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported difference between mvn archetype:create-from-project and mvn install, noting the maven-resources-plugin versions 2.7 and 2.6 and the platform-encoding warning. Compare those results with mvn help:effective-pom; done means the version discrepancy and warning have a confirmed explanation and an appropriate documented or tested resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.