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 & 3
  • MNG-2126

Snapshot plugin repositories are not searched for plugins that do not explicitly specify a snapshot version.

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Artifacts and Repositories
  • Labels:
    None
  • Complexity:
    Intermediate

Description

Only release repositories are queried for version-unscoped plugins.

Deploy a plugin (say x-maven-plugin, version 1-SNAPSHOT) to a snapshot repository via mvn -P performRelease deploy.

clear local repository so client has no copy of the snapshot.

Build a project that tries to use the x-maven-plugin but does not specify the plugin's version.

Results in client searching release respository only, does not query the snapshot repository or attempt to merge the metadata in any way.

Is this as designed?

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. MNG-2525 SNAPSHOT dependencies aren't found when repository has 'release' disabled and a version range is used

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Bug - A problem which impairs or prevents the functions of the product. MNG-2974 Unable to resolve & download snapshot versions from CLI

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Carlos Sanchez added a comment - 06/Mar/06 11:25 AM

I think this is the right behaviour

Show
Carlos Sanchez added a comment - 06/Mar/06 11:25 AM I think this is the right behaviour
Hide
Permalink
Brett Porter added a comment - 06/Mar/06 6:52 PM

no, its not the right behaviour, but I've seen it work.

I suspect you have <releases><enabled>false on your snapshot repo. That bug is already known, in which case thsi is a dupe. Is that the case?

Show
Brett Porter added a comment - 06/Mar/06 6:52 PM no, its not the right behaviour, but I've seen it work. I suspect you have <releases><enabled>false on your snapshot repo. That bug is already known, in which case thsi is a dupe. Is that the case?
Hide
Permalink
Brett Porter added a comment - 07/Sep/07 1:55 AM

I think it's fair to have to specify a snapshot version, you shouldn't grab that automagically.

Show
Brett Porter added a comment - 07/Sep/07 1:55 AM I think it's fair to have to specify a snapshot version, you shouldn't grab that automagically.

People

  • Assignee:
    Brett Porter
    Reporter:
    John Allen
Vote (0)
Watch (1)

Dates

  • Created:
    06/Mar/06 11:21 AM
    Updated:
    16/Dec/08 5:02 AM
    Resolved:
    07/Sep/07 1:55 AM
  • 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.