You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/16 19:52:36 UTC

[jira] Commented: (MPCRUISECONTROL-8) External link for report should not include artifactId

The following comment has been added to this issue:

     Author: Paul Spencer
    Created: Fri, 16 Jul 2004 1:50 PM
       Body:
A better solution it to calculate the URL in properties.  This gives the user more control, while allowing reasonable defaults.  By calculating maven.cruisecontrol.buildresults.url in properties, then CruiseControls LinkEmailPublisher instead of the HTMLEmailPublisher can be used.

maven.cruisecontrol.buildresults.site=${pom.url}/cruisecontrol
maven.cruisecontrol.buildresults.url=${maven.cruisecontrol.buildresults.site}/buildresults/${pom.artifactId}

I am assuming pom.url is the from <project><url>

Paul Spencer
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPCRUISECONTROL-8?page=comments#action_21864

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCRUISECONTROL-8

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCRUISECONTROL-8
    Summary: External link for report should not include artifactId
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-cruisecontrol-plugin
   Versions:
             1.4

   Assignee: Brett Porter
   Reporter: Paul Spencer

    Created: Fri, 16 Jul 2004 1:28 PM
    Updated: Fri, 16 Jul 2004 1:50 PM

Description:
I am using one instance of CruiseControl to may maven projects.  I would like to use the CruiseControl report, but the externalLink is includes the artifact Id.  Since the property maven.cruisecontrol.buildresults.url can be defined for each project, I dot see a reason for the plugin to append the artifactId.

My request is to change the maven-cruisecontrol-plugin:register goal in plugin.jelly from:

  <goal name="maven-cruisecontrol-plugin:register">
    <doc:registerReport 
      name="CC Build Results"
      pluginName="maven-cruisecontrol-plugin" externalLink="${maven.cruisecontrol.buildresults.url}/${pom.artifactId}"
      description="See the cruise control build results page for this project." />
  </goal>

To:

  <goal name="maven-cruisecontrol-plugin:register">
    <doc:registerReport 
      name="CC Build Results"
      pluginName="maven-cruisecontrol-plugin"
externalLink="${maven.cruisecontrol.buildresults.url}"
      description="See the cruise control build results page for this project." />
  </goal>

Also the properties.xml and goals.xml need to be updated.



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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