Maven 1.x JIRA Plugin

Authentication support for access a private Jira instalation

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.2
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    2

Description

Add authentication support for access a restricted Jira instalation based on a password.

  1. jira.tar.gz
    08/Jan/05 11:04 AM
    12 kB
    Dr. Spock
  2. MPJIRA-8.svn-diff
    12/Jan/05 5:07 AM
    16 kB
    Felipe Leme

Issue Links

Activity

Hide
Dr. Spock added a comment -

A modified version of jira plugin based on release 1.1.2 that support authentication to access a restricted jira instalation.
This version contains the following implemented features:

  • Authentication support for access a restricted jira instalation.
  • Web authentication support for restricted web site (like browser authentication).
  • Customized filter property to restrict result issues from jira.
  • Customized properties to define the url base of jira instalation and to define the project id.
  • New properties to support the above features.
  • All new properties well documented into plugin xdoc site.
Show
Dr. Spock added a comment - A modified version of jira plugin based on release 1.1.2 that support authentication to access a restricted jira instalation. This version contains the following implemented features:
  • Authentication support for access a restricted jira instalation.
  • Web authentication support for restricted web site (like browser authentication).
  • Customized filter property to restrict result issues from jira.
  • Customized properties to define the url base of jira instalation and to define the project id.
  • New properties to support the above features.
  • All new properties well documented into plugin xdoc site.
Hide
Dr. Spock added a comment -

The attached archive 'jira.tar.gz' contains all files obtained from cvs with modified files that implement this suggested improvement.

Show
Dr. Spock added a comment - The attached archive 'jira.tar.gz' contains all files obtained from cvs with modified files that implement this suggested improvement.
Hide
Felipe Leme added a comment -

Here is a SVN diff.

I took a look on this patch and it looks fine to me, although I didn't apply the changes because I don't have access to a Jira system that would require the authentication.

– Felipe

Show
Felipe Leme added a comment - Here is a SVN diff. I took a look on this patch and it looks fine to me, although I didn't apply the changes because I don't have access to a Jira system that would require the authentication. – Felipe
Hide
Felipe Leme added a comment -

Dr. Spock,

I tested it in a protected Jira and it works. I also changed some properties:

maven.jira.hostUser => maven.jira.auth.webUsername
maven.jira.hostPassword => maven.jira.auth.webPassword
maven.jira.user => maven.jira.auth.jiraUsername
maven.jira.password => maven.jira.auth.jiraUsername

But I'm still hesitant to apply the patch due to the projectId, url and filter properties - are they really necessary? Couldn't you use the information on the POM?

Generally speaking, we try to avoid adding new properties to the plugins, unless they are strictly necessary.

– Felipe

Show
Felipe Leme added a comment - Dr. Spock, I tested it in a protected Jira and it works. I also changed some properties: maven.jira.hostUser => maven.jira.auth.webUsername maven.jira.hostPassword => maven.jira.auth.webPassword maven.jira.user => maven.jira.auth.jiraUsername maven.jira.password => maven.jira.auth.jiraUsername But I'm still hesitant to apply the patch due to the projectId, url and filter properties - are they really necessary? Couldn't you use the information on the POM? Generally speaking, we try to avoid adding new properties to the plugins, unless they are strictly necessary. – Felipe
Hide
Carlos Sanchez added a comment -

Fixed as part of MPJIRA-13

Show
Carlos Sanchez added a comment - Fixed as part of MPJIRA-13

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: