You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Allen (JIRA)" <ji...@codehaus.org> on 2006/02/01 12:46:06 UTC

[jira] Updated: (MSITE-72) new non reactor populateModules SiteMojo code assumes each POM declares its own URL

     [ http://jira.codehaus.org/browse/MSITE-72?page=all ]

John Allen updated MSITE-72:
----------------------------

    Attachment: SiteMojo.diff

> new non reactor populateModules SiteMojo code assumes each POM declares its own URL
> -----------------------------------------------------------------------------------
>
>          Key: MSITE-72
>          URL: http://jira.codehaus.org/browse/MSITE-72
>      Project: Maven 2.x Site Plugin
>         Type: Bug

>     Reporter: John Allen
>      Fix For: 2.0
>  Attachments: SiteMojo.diff
>
>
> In populateModules() :-
> SiteMojo.java +523
>                     File f = new File( project.getBasedir(), module + "/pom.xml" );
>                     if ( f.exists() )
>                     {
>                         MavenXpp3Reader reader = new MavenXpp3Reader();
>                         FileReader fileReader = null;
>                         try
>                         {
>                             fileReader = new FileReader( f );
>                             model = reader.read( fileReader );
> This code assumes that a modules POM declares a URL. All my modules rely upon a parent in the ancestry to define their URL resulting in an empty modules menu.

-- 
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


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