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)
  • Continuum
  • CONTINUUM-1721

SCM connection url should be optional when adding m2 projects

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.1
  • Fix Version/s: Backlog
  • Component/s: Integration - Maven 2
  • Labels:
    None
  • Complexity:
    Intermediate

Description

Currently when you add a Maven 2 project to Continuum, it complains if you don't have a scm connection url in the pom.

The scm elements are only really required for releasing, and not everyone uses the release feature of Maven/Continuum, so this should be optional.

We could...

  • assume that the url you were given to fetch the pom from is also the scm url.
  • default to Subversion, and make the prefix (scm:svn configurable

Related thread: http://www.nabble.com/Making-scm-connection-optional-td16570945.html

Issue Links

is related to

New Feature - A new feature of the product, which has yet to be developed. CONTINUUM-836 Improve HTTP access to POMs for adding a multi-module project

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Improvement - An improvement or enhancement to an existing feature or task. CONTINUUM-1716 POM URL should accept maven "scm" known protocols

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.
relates to

New Feature - A new feature of the product, which has yet to be developed. CONTINUUM-2188 Update Policy for BuilDefinition

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Open - The issue is open and ready for the assignee to start work on it.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Wendy Smoak added a comment - 21/Sep/08 10:13 PM

There is a branch for this: https://svn.apache.org/repos/asf/continuum/branches/CONTINUUM-1721

Originally, the scm username and password were inserted into the pom url very early-- in the action-- and the original pom url entered by the user was lost.

I've removed that code, so currently on the branch you can't add a project that requires authentication to retrieve the pom. I think the code that inserts the credentials in the url belongs in a utility method somewhere closer to where the url-with-credentials actually gets used. In addition, I ran across code that pulls the username and password back out of the url.

I started down the path of passing the url, username and password separately, but it's turning into quite a big change. (not committed)

I need the original url preserved and available at the point where the Continuum scm url is set. Comments welcome.

Show
Wendy Smoak added a comment - 21/Sep/08 10:13 PM There is a branch for this: https://svn.apache.org/repos/asf/continuum/branches/CONTINUUM-1721 Originally, the scm username and password were inserted into the pom url very early-- in the action-- and the original pom url entered by the user was lost. I've removed that code, so currently on the branch you can't add a project that requires authentication to retrieve the pom. I think the code that inserts the credentials in the url belongs in a utility method somewhere closer to where the url-with-credentials actually gets used. In addition, I ran across code that pulls the username and password back out of the url. I started down the path of passing the url, username and password separately, but it's turning into quite a big change. (not committed) I need the original url preserved and available at the point where the Continuum scm url is set. Comments welcome.
Hide
Permalink
Brett Porter added a comment - 22/Apr/09 4:42 AM

it'd be good if we fixed this in a way that is consistent with CONTINUUM-1716 also, and the fact that updating from POMs could be optional via CONTINUUM-2188

Show
Brett Porter added a comment - 22/Apr/09 4:42 AM it'd be good if we fixed this in a way that is consistent with CONTINUUM-1716 also, and the fact that updating from POMs could be optional via CONTINUUM-2188

People

  • Assignee:
    Unassigned
    Reporter:
    Wendy Smoak
Vote (1)
Watch (3)

Dates

  • Created:
    09/Apr/08 12:44 PM
    Updated:
    23/Feb/10 9:05 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.