[ 
http://jira.codehaus.org/browse/MNG-3094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg closed MNG-3094.
--------------------------------

         Assignee: Dennis Lundberg
       Resolution: Fixed
    Fix Version/s: Documentation

Thanks for spotting this.
Fixed in SVN r554184.

> xml mistake in docs
> -------------------
>
>                 Key: MNG-3094
>                 URL: http://jira.codehaus.org/browse/MNG-3094
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Documentation: Guides
>            Reporter: [EMAIL PROTECTED]
>            Assignee: Dennis Lundberg
>             Fix For: Documentation
>
>
> This xml example 
>    <repositories>
>      <repository>
>       <id>my-internal-site</id>
>       <url>http://myserver/repo</url>
>      <repository>
>    </repositories>
> On this page,
> http://maven.apache.org/guides/introduction/introduction-to-repositories.html
> Is not valid   The second <repository> should read </repository>
> As a second note. the error that maven reports  seems to be a schema 
> validation error,
> org.apache.maven.reactor.MavenExecutionException: Parse error reading POM. 
> Reason: Unrecognised tag: 'repository' (position: START_TAG see
> n ...</url>\n     <repository>... @32:18)
>         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         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)
>  It would be more useful if you did encounter an error, to report well 
> formededness exceptions first.  If the error had said something like missing 
> end tag, I would know what the problem was right away.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to