You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/08/02 07:43:13 UTC
[jira] Moved: (MNGSITE-20) xml mistake in docs
[ http://jira.codehaus.org/browse/MNGSITE-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter moved MNG-3094 to MNGSITE-20:
------------------------------------------
Fix Version/s: (was: Documentation)
Component/s: (was: Documentation: Guides)
Key: MNGSITE-20 (was: MNG-3094)
Project: Maven Project Web Site (was: Maven 2)
> xml mistake in docs
> -------------------
>
> Key: MNGSITE-20
> URL: http://jira.codehaus.org/browse/MNGSITE-20
> Project: Maven Project Web Site
> Issue Type: Improvement
> Reporter: sea.bridges@gmail.com
> Assignee: Dennis Lundberg
>
> 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