Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368117

Summary: can't create maven projects from remote archetypes with properties by "Maven Project Wizard"
Product: z_Archived Reporter: Simon Wang <wangyf2001>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED INVALID QA Contact:
Severity: major    
Priority: P3 CC: igor, jurevert, mail.afkl.atlassian.support
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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/