You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mike Hanafey (JIRA)" <ji...@codehaus.org> on 2008/03/26 20:00:58 UTC

[jira] Created: (MSITE-310) Macro in url of parent project is not expanded if only the site for a subproject is built

Macro in url of parent project is not expanded if only the site for a subproject is built
-----------------------------------------------------------------------------------------

                 Key: MSITE-310
                 URL: http://jira.codehaus.org/browse/MSITE-310
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
    Affects Versions: 2.0-beta-5
            Reporter: Mike Hanafey
            Priority: Minor


The parent POM has:

{code:xml}
	<url>${gxSite}/${project.build.finalName}</url>
{code}

where "gxSite" is defined in settings.xml as "http://dna.dupont.com/site"

The module POM has:

{code:xml}
	<parent>
		<relativePath>../MavenRoot/pom.xml</relativePath>
		<groupId>genomix</groupId>
		<artifactId>LeadTracker</artifactId>
		<version>0.1</version>
	</parent>
...

	<url>${project.artifactId}</url>
{code}

and the "site.xml" in the module includes a menu with ref="parent".

If goals "site site:deploy" is run from the parent, the link back to the parent is fine, but if the same goal is run from the module, the link back to the parent is generated as follows:

{code}
http://dna.dupont.com/site/LeadTracker-0.1/${gxSite}/LeadTracker-0.1/index.html
{code}


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

        

[jira] Commented: (MSITE-310) Macro in url of parent project is not expanded if only the site for a subproject is built

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=142511#action_142511 ] 

Dennis Lundberg commented on MSITE-310:
---------------------------------------

Have you tried this with 2.0-beta-7? A lot of fixes to parent/child relationships were solved in that version.

If that doesn't solve it, please provide us with a sample project that can be used for testing.

> Macro in url of parent project is not expanded if only the site for a subproject is built
> -----------------------------------------------------------------------------------------
>
>                 Key: MSITE-310
>                 URL: http://jira.codehaus.org/browse/MSITE-310
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-5
>            Reporter: Mike Hanafey
>            Priority: Minor
>
> The parent POM has:
> {code:xml}
> 	<url>${gxSite}/${project.build.finalName}</url>
> {code}
> where "gxSite" is defined in settings.xml as "http://dna.dupont.com/site"
> The module POM has:
> {code:xml}
> 	<parent>
> 		<relativePath>../MavenRoot/pom.xml</relativePath>
> 		<groupId>genomix</groupId>
> 		<artifactId>LeadTracker</artifactId>
> 		<version>0.1</version>
> 	</parent>
> ...
> 	<url>${project.artifactId}</url>
> {code}
> and the "site.xml" in the module includes a menu with ref="parent".
> If goals "site site:deploy" is run from the parent, the link back to the parent is fine, but if the same goal is run from the module, the link back to the parent is generated as follows:
> {code}
> http://dna.dupont.com/site/LeadTracker-0.1/${gxSite}/LeadTracker-0.1/index.html
> {code}

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

        

[jira] Closed: (MSITE-310) Macro in url of parent project is not expanded if only the site for a subproject is built

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MSITE-310.
---------------------------------

    Resolution: Incomplete

> Macro in url of parent project is not expanded if only the site for a subproject is built
> -----------------------------------------------------------------------------------------
>
>                 Key: MSITE-310
>                 URL: http://jira.codehaus.org/browse/MSITE-310
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-5
>            Reporter: Mike Hanafey
>            Priority: Minor
>
> The parent POM has:
> {code:xml}
> 	<url>${gxSite}/${project.build.finalName}</url>
> {code}
> where "gxSite" is defined in settings.xml as "http://dna.dupont.com/site"
> The module POM has:
> {code:xml}
> 	<parent>
> 		<relativePath>../MavenRoot/pom.xml</relativePath>
> 		<groupId>genomix</groupId>
> 		<artifactId>LeadTracker</artifactId>
> 		<version>0.1</version>
> 	</parent>
> ...
> 	<url>${project.artifactId}</url>
> {code}
> and the "site.xml" in the module includes a menu with ref="parent".
> If goals "site site:deploy" is run from the parent, the link back to the parent is fine, but if the same goal is run from the module, the link back to the parent is generated as follows:
> {code}
> http://dna.dupont.com/site/LeadTracker-0.1/${gxSite}/LeadTracker-0.1/index.html
> {code}

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