Re: URLs in site.xml banner tags not rendered by site plugin if host not resolved by "nslookup"

2008-06-17 Thread Paul Spencer

Paul Spencer wrote:
The URL's in the banner tags of site.xml are the maven-site-plugin is 
the hostname is not found by nslookup.  In my case the hostname only 
exists in my hosts files on a the Windows machine running "mvn site".


The above should be:

Absolute URL's in the banner tags of site.xml are translated to relative 
URLs by the maven-site-plugin when the hostname is not found by 
nslookup.  In my case the hostname only exists in my hosts files on a 
the Windows machine running "mvn site".


Should I file an JIRA as bug or improvement?



In the example below, the generated URLs for bannerLeft will be absolute 
and the URL's for bannerRight will be relative.  Adding 
"badhost.apache.org" to the hosts file will not change the outcome.




  
Maven
http://maven.apache.org/images/apache-maven-project.png
http://maven.apache.org/
  
  
Maven
http://badhost.apache.org/images/apache-maven-project.png
http://badhost.apache.org/
  


It appears the plugin is validating the hostname.  Is their a way of 
turning this validation off?


Paul Spencer


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



URLs in site.xml banner tags not rendered by site plugin if host not resolved by "nslookup"

2008-06-16 Thread Paul Spencer
The URL's in the banner tags of site.xml are the maven-site-plugin is 
the hostname is not found by nslookup.  In my case the hostname only 
exists in my hosts files on a the Windows machine running "mvn site".


In the example below, the generated URLs for bannerLeft will be absolute 
and the URL's for bannerRight will be relative.  Adding 
"badhost.apache.org" to the hosts file will not change the outcome.




  
Maven
http://maven.apache.org/images/apache-maven-project.png
http://maven.apache.org/
  
  
Maven
http://badhost.apache.org/images/apache-maven-project.png
http://badhost.apache.org/
  


It appears the plugin is validating the hostname.  Is their a way of 
turning this validation off?


Paul Spencer


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]