jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x and 3.x Site Plugin
  • MSITE-310

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

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Incomplete
  • Affects Version/s: 2.0-beta-5
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

The parent POM has:

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

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

The module POM has:

<parent>
		<relativePath>../MavenRoot/pom.xml</relativePath>
		<groupId>genomix</groupId>
		<artifactId>LeadTracker</artifactId>
		<version>0.1</version>
	</parent>
...

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

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:

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

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Dennis Lundberg added a comment - 20/Jul/08 9:27 AM

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.

Show
Dennis Lundberg added a comment - 20/Jul/08 9:27 AM 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.

People

  • Assignee:
    Unassigned
    Reporter:
    Mike Hanafey
Vote (0)
Watch (1)

Dates

  • Created:
    26/Mar/08 2:00 PM
    Updated:
    04/Nov/08 2:07 PM
    Resolved:
    04/Nov/08 2:07 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.