Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368117 - can't create maven projects from remote archetypes with properties by "Maven Project Wizard"
Summary: can't create maven projects from remote archetypes with properties by "Maven ...
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 02:19 EST by Simon Wang CLA
Modified: 2021-04-19 13:23 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Wang CLA 2012-01-09 02:19:38 EST
Build Identifier: 20110916-0149

m2eclipse's version: 1.0.100.20110804-1717

1. we don't want to include archetype catalog url and repository's url into settings.xml.
2. we want to use m2eclipse's "maven project wizard" to create project by remote archetypes.
we added remote archetype catalog url into archetype-catalog.properties already.

For those archetypes without properties, it works fine.
But for those with required properties, eclipse throw below error messages:

Could not resolve archetype test.archetypes:web-with-samples:0.1.0 from any of the configured repositories.
Could not resolve artifact test.archetypes:web-with-samples:pom:0.1.0
Missing test.archetypes:web-with-samples:pom:0.1.0

could we have a bug fix for it?


Reproducible: Always

Steps to Reproduce:
1.not include archetype catalog url and repository's url into settings.xml.
2.File | New | Project | Maven Project, create project from archetype url(select one archetype with properties).
3. click "finish"

will show error mesasges:
Could not resolve archetype test.archetypes:web-with-samples:0.1.0 from any of the configured repositories.
Could not resolve artifact test.archetypes:web-with-samples:pom:0.1.0
Missing test.archetypes:web-with-samples:pom:0.1.0
Comment 1 Igor Fedorenko CLA 2012-01-09 06:44:17 EST
(In reply to comment #0)
> Build Identifier: 20110916-0149
> 
> m2eclipse's version: 1.0.100.20110804-1717
> 
> 1. we don't want to include archetype catalog url and repository's url into
> settings.xml.
> 2. we want to use m2eclipse's "maven project wizard" to create project by
> remote archetypes.
> we added remote archetype catalog url into archetype-catalog.properties
> already.
> 
> For those archetypes without properties, it works fine.
> But for those with required properties, eclipse throw below error messages:
> 
> Could not resolve archetype test.archetypes:web-with-samples:0.1.0 from any of
> the configured repositories.
> Could not resolve artifact test.archetypes:web-with-samples:pom:0.1.0
> Missing test.archetypes:web-with-samples:pom:0.1.0
> 
> could we have a bug fix for it?
> 

m2e development team does not have immediate plans to investigate this issue.
Comment 2 Igor Fedorenko CLA 2014-01-23 20:39:52 EST
Closing old/stale bugzilla entries.
Comment 3 Denis Roy CLA 2021-04-19 13:23:16 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/