myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Korherr (JIRA)" <>
Subject [jira] Created: (EXTVAL-122) Fix relative paths on site
Date Fri, 10 Dec 2010 15:15:01 GMT
Fix relative paths on site

                 Key: EXTVAL-122
             Project: MyFaces Extensions Validator
          Issue Type: Task
    Affects Versions: 1.1.4, 2.0.4, 1.2.4
            Reporter: Jakob Korherr
            Assignee: Jakob Korherr

After deploying the site for ExtVal x.x.4, I noticed that the relative site urls of the logos
and the modules are wrong. This has currently the effect that modules which are in the first
level (like e.g. core) do not display the logos correctly and modules which are in the second
level (e.g. validation-modules/bean-validation) render wrong links to all other modules.

I did a lot of digging in the site configuration and also in the code of the maven-site-plugin
and eventually I found myself at this code on
final URL baseUrl, final String path ):

// the params are: 
baseUrl = new URL("");
path = "images/extval_logo2.png");

return new URL( baseUrl, path );

However, this creates the following URL:

--> adding a / at the end of the baseUrl solved this problem.

Unfortunately this did not fix the problem with the wrong relative links of the modules in
the second level. However, I found out that if you put a correct <url> entry into the
direct (!!!) parent projects of those projects, it works. Or to be more specific: just add
a <url></url>
in the component-support-modules-project pom.xml and the paths of all of its direct subprojects
(generic-support and trinidad-support) are correct!

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message