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

Brett Porter updated MSITE-72:
------------------------------

    Fix Version: 2.0

> 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

>
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to