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/01/10 11:25:01 UTC

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

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


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


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

Posted by "John Allen (JIRA)" <ji...@codehaus.org>.
     [ 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


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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-72?page=comments#action_55383 ] 

Brett Porter commented on MSITE-72:
-----------------------------------

ok, we need inheritence and interpolation of the parent here.

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org