[
https://jira.codehaus.org/browse/ARCHETYPE-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed ARCHETYPE-175.
------------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
> archetype returned from local catalog don't have metadata
> ---------------------------------------------------------
>
> Key: ARCHETYPE-175
> URL: https://jira.codehaus.org/browse/ARCHETYPE-175
> Project: Maven Archetype
> Issue Type: Bug
> Reporter: Eugene Kuleshov
>
> Archetype instance returned from the local catalog don't have metadata, such
> as properties. Catalog is obtained like this:
> {code}
> PlexusContainer container = mavenEmbedder.getPlexusContainer();
> org.apache.maven.archetype.Archetype archetype =
> (Archetype)
> container.lookup(org.apache.maven.archetype.Archetype.class);
> ArchetypeCatalog catalog = archetype.getLocalCatalog(getId());
> Properties properties = ((org.apache.maven.archetype.catalog.Archetype)
> catalog.getArchetypes().get(0)).getProperties();
> {code}
> I expected to see non empty properties for the test project attached at
> MNGECLIPSE-612, which I added to the local Archetype catalog like this:
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <archetype-catalog>
> <archetypes>
> <archetype>
> <groupId>org.apache.maven.archetypes</groupId>
> <artifactId>maven-archetype-proptest</artifactId>
> <version>1.0</version>
> <description>Prop test</description>
> </archetype>
> </archetypes>
> </archetype-catalog>
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)