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

[jira] Created: (MSITE-81) Site descriptor resolution never falls back to site.xml

Site descriptor resolution never falls back to site.xml
-------------------------------------------------------

         Key: MSITE-81
         URL: http://jira.codehaus.org/browse/MSITE-81
     Project: Maven 2.x Site Plugin
        Type: Bug

    Reporter: Indrajit Raychaudhuri
    Priority: Critical
 Attachments: sitemojo.patch

For default locale (i.e., Locale.getDefault() is "en") site descriptor for parent project attempt to resolve site_en.xml.
But it doesn't fallback to site.xml.


-- 
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-81) Site descriptor resolution never falls back to site.xml

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

Brett Porter commented on MSITE-81:
-----------------------------------

I don't think this patch is correct. If the site descriptor is not found (as originally), it will fallback. This change would fall back if there is any kind of error. I believe if there is an error, it should be reported. What exception are you getting that causes it to fail on site_en?


> Site descriptor resolution never falls back to site.xml
> -------------------------------------------------------
>
>          Key: MSITE-81
>          URL: http://jira.codehaus.org/browse/MSITE-81
>      Project: Maven 2.x Site Plugin
>         Type: Bug

>     Reporter: Indrajit Raychaudhuri
>     Priority: Critical
>  Attachments: sitemojo.patch
>
>
> For default locale (i.e., Locale.getDefault() is "en") site descriptor for parent project attempt to resolve site_en.xml.
> But it doesn't fallback to site.xml.

-- 
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-81) Site descriptor resolution never falls back to site.xml

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

Brett Porter updated MSITE-81:
------------------------------

    Fix Version: 2.0

> Site descriptor resolution never falls back to site.xml
> -------------------------------------------------------
>
>          Key: MSITE-81
>          URL: http://jira.codehaus.org/browse/MSITE-81
>      Project: Maven 2.x Site Plugin
>         Type: Bug

>     Reporter: Indrajit Raychaudhuri
>     Priority: Critical
>      Fix For: 2.0
>  Attachments: site.log, sitemojo.patch
>
>
> For default locale (i.e., Locale.getDefault() is "en") site descriptor for parent project attempt to resolve site_en.xml.
> But it doesn't fallback to site.xml.

-- 
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-81) Site descriptor resolution never falls back to site.xml

Posted by "Indrajit Raychaudhuri (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-81?page=comments#action_57309 ] 

Indrajit Raychaudhuri commented on MSITE-81:
--------------------------------------------

BTW, what's the issue id you mentioned in [MSITE-81#action_57268]?

> Site descriptor resolution never falls back to site.xml
> -------------------------------------------------------
>
>          Key: MSITE-81
>          URL: http://jira.codehaus.org/browse/MSITE-81
>      Project: Maven 2.x Site Plugin
>         Type: Bug

>     Reporter: Indrajit Raychaudhuri
>     Priority: Critical
>  Attachments: site.log, sitemojo.patch
>
>
> For default locale (i.e., Locale.getDefault() is "en") site descriptor for parent project attempt to resolve site_en.xml.
> But it doesn't fallback to site.xml.

-- 
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-81) Site descriptor resolution never falls back to site.xml

Posted by "Indrajit Raychaudhuri (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-81?page=all ]

Indrajit Raychaudhuri updated MSITE-81:
---------------------------------------

    Attachment: site.log

> Site descriptor resolution never falls back to site.xml
> -------------------------------------------------------
>
>          Key: MSITE-81
>          URL: http://jira.codehaus.org/browse/MSITE-81
>      Project: Maven 2.x Site Plugin
>         Type: Bug

>     Reporter: Indrajit Raychaudhuri
>     Priority: Critical
>  Attachments: site.log, sitemojo.patch
>
>
> For default locale (i.e., Locale.getDefault() is "en") site descriptor for parent project attempt to resolve site_en.xml.
> But it doesn't fallback to site.xml.

-- 
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-81) Site descriptor resolution never falls back to site.xml

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

Brett Porter commented on MSITE-81:
-----------------------------------

so you'd like the build to continue offline, ignoring the unknown host exception?

I don't think that's what we need here. Falling back to site.xml will *also* fail, since the host is not known. It should continue to other repositories, however - that is worth checking. Other than that, I think this is a duplicate of the other issue that states that it should look on the local filesystem first.

> Site descriptor resolution never falls back to site.xml
> -------------------------------------------------------
>
>          Key: MSITE-81
>          URL: http://jira.codehaus.org/browse/MSITE-81
>      Project: Maven 2.x Site Plugin
>         Type: Bug

>     Reporter: Indrajit Raychaudhuri
>     Priority: Critical
>  Attachments: site.log, sitemojo.patch
>
>
> For default locale (i.e., Locale.getDefault() is "en") site descriptor for parent project attempt to resolve site_en.xml.
> But it doesn't fallback to site.xml.

-- 
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-81) Site descriptor resolution never falls back to site.xml

Posted by "Indrajit Raychaudhuri (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-81?page=comments#action_57307 ] 

Indrajit Raychaudhuri commented on MSITE-81:
--------------------------------------------

The patch is more of a circumvention that a solution.

Yes, it's essentially a case of looking into the local filesystem (meaning the ~/.m2/repository) for site.xml when site_en.xml is not available in the same location.

I'd imagine mvn --ofline is not same as online mvn without the remote repo avaialble.
When we have the second scenario, the regular artifacts build and resolve their dependencies provided I do an 'install' on the dependencies beforehand. Shouldn't it same when building site of the artifact?


> Site descriptor resolution never falls back to site.xml
> -------------------------------------------------------
>
>          Key: MSITE-81
>          URL: http://jira.codehaus.org/browse/MSITE-81
>      Project: Maven 2.x Site Plugin
>         Type: Bug

>     Reporter: Indrajit Raychaudhuri
>     Priority: Critical
>  Attachments: site.log, sitemojo.patch
>
>
> For default locale (i.e., Locale.getDefault() is "en") site descriptor for parent project attempt to resolve site_en.xml.
> But it doesn't fallback to site.xml.

-- 
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-81) Site descriptor resolution never falls back to site.xml

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

Brett Porter commented on MSITE-81:
-----------------------------------

MSITE-77

> Site descriptor resolution never falls back to site.xml
> -------------------------------------------------------
>
>          Key: MSITE-81
>          URL: http://jira.codehaus.org/browse/MSITE-81
>      Project: Maven 2.x Site Plugin
>         Type: Bug

>     Reporter: Indrajit Raychaudhuri
>     Priority: Critical
>  Attachments: site.log, sitemojo.patch
>
>
> For default locale (i.e., Locale.getDefault() is "en") site descriptor for parent project attempt to resolve site_en.xml.
> But it doesn't fallback to site.xml.

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