maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Casey <jdca...@commonjava.org>
Subject Re: archetype completely broken or just me?
Date Sun, 22 Feb 2009 16:28:33 GMT
I used it just day before yesterday, with no problems. Maybe you have a 
corrupt file in your .m2 dir somewhere?

Brian E. Fox wrote:
> [WARNING] Error reading archetype catalog http://repo1.maven.org/maven2
> 
> org.apache.maven.archetype.source.ArchetypeDataSourceException: Error
> parsing ar
> 
> chetype catalog.
> 
>         at
> org.apache.maven.archetype.source.CatalogArchetypeDataSource.readCata
> 
> log(CatalogArchetypeDataSource.java:202)
> 
>         at
> org.apache.maven.archetype.source.RemoteCatalogArchetypeDataSource.ge
> 
> tArchetypeCatalog(RemoteCatalogArchetypeDataSource.java:91)
> 
>         at
> org.apache.maven.archetype.DefaultArchetype.getRemoteCatalog(DefaultA
> 
> rchetype.java:197)
> 
>         at
> org.apache.maven.archetype.DefaultArchetype.getRemoteCatalog(DefaultA
> 
> rchetype.java:186)
> 
>         at
> org.apache.maven.archetype.ui.DefaultArchetypeSelector.getArchetypesB
> 
> yCatalog(DefaultArchetypeSelector.java:278)
> 
>         at
> org.apache.maven.archetype.ui.DefaultArchetypeSelector.selectArchetyp
> 
> e(DefaultArchetypeSelector.java:74)
> 
>         at
> org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execu
> 
> te(CreateProjectFromArchetypeMojo.java:183)
> 
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> 
> nManager.java:453)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> 
> ultLifecycleExecutor.java:559)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> 
> Goal(DefaultLifecycleExecutor.java:513)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> 
> ltLifecycleExecutor.java:483)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> 
> dleFailures(DefaultLifecycleExecutor.java:331)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> 
> ts(DefaultLifecycleExecutor.java:228)
> 
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> 
> fecycleExecutor.java:142)
> 
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> 
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> 
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
> 
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> 
> java:39)
> 
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> 
> sorImpl.java:25)
> 
>         at java.lang.reflect.Method.invoke(Method.java:597)
> 
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> 
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> 
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 
>  
> 
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> 
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
> Unrecognise
> 
> d tag: 'html' (position: START_TAG seen <html>... @1:6)
> 
>         at
> org.apache.maven.archetype.catalog.io.xpp3.ArchetypeCatalogXpp3Reader
> 
> .parseArchetypeCatalog(ArchetypeCatalogXpp3Reader.java:529)
> 
>         at
> org.apache.maven.archetype.catalog.io.xpp3.ArchetypeCatalogXpp3Reader
> 
> .read(ArchetypeCatalogXpp3Reader.java:821)
> 
>         at
> org.apache.maven.archetype.catalog.io.xpp3.ArchetypeCatalogXpp3Reader
> 
> .read(ArchetypeCatalogXpp3Reader.java:835)
> 
>         at
> org.apache.maven.archetype.source.CatalogArchetypeDataSource.readCata
> 
> log(CatalogArchetypeDataSource.java:194)
> 
>         ... 24 more
> 
> [INFO] No archetype defined. Using maven-archetype-quickstart
> (org.apache.maven.
> 
> archetypes:maven-archetype-quickstart:1.0)
> 
> Choose archetype:
> 
>  
> 
> ----------------------
> 
> Brian Fox
> 
> Apache Maven PMC
> 
> http://blogs.sonatype.com/brian/
> 
>  
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message