apache / apache/maven-archetype

[ARCHETYPE-486] create-from-project should filter out the archetype plugin from the created archetype

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

Description

**[Jordan Zimmerman](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=randgalt)** opened **[ARCHETYPE-486](https://issues.apache.org/jira/browse/ARCHETYPE-486?redirect=false)** and commented

A common scenario for the archetype plugin is to create a sample project. The sample's POM has the archetype plugin specified with create-from-project executing on package. However, the resulting archetype then has the archetype plugin specified when it isn't needed. This doesn't cause any problems but it is crud and might be confusing to users of the archetype.

E.g.

```

4.0.0

group
artifact
1.0


...




maven-archetype-plugin
2.4


deploy
deploy

create-from-project


deploy



package
package

create-from-project


install





```

---

**Affects:** 2.4

**Attachments:**
- [archetype-486.patch](https://issues.apache.org/jira/secure/attachment/12750888/archetype-486.patch) (_12.54 kB_)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.