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)
  • Sonar
  • SONAR-2849

Remove declarations of third-party repositories from root POM

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.10
  • Fix Version/s: 2.12
  • Component/s: Maven Plugin
  • Labels:
    None

Description

See http://markmail.org/message/iijs5numf2eylvgw

During execution of Sonar analysis by Maven 2.2.1 , it tries to access http://repository.sonarsource.org/content/repositories/sonar/ even if this repository was not declared explicitly by user. And in fact currently this repository is required only to build Sonar, so even if we cannot fully remove it, then we can try to avoid it's usage during analysis.

Also would be cool to enforce during release that third-party repositories not declared.

Issue Links

is related to

Improvement - An improvement or enhancement to an existing feature or task. SONAR-2938 Remove declarations of third-party repositories

  • 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
Freddy Mallet added a comment - 25/Oct/11 2:26 PM

Hi Evgeny, is it still possible to fix this issue as SONAR-1836 has been postponed to Sonar 2.13 ?

Show
Freddy Mallet added a comment - 25/Oct/11 2:26 PM Hi Evgeny, is it still possible to fix this issue as SONAR-1836 has been postponed to Sonar 2.13 ?
Hide
Permalink
Evgeny Mandrikov added a comment - 25/Oct/11 3:17 PM

Hi Freddy,

Into which repository we will deploy new artifacts for PMD and Checkstyle ?
If answer is Codehaus ( using groupId org.codehaus.sonar ), then we definitely can resolve this ticket, since Codehaus synced to Central.
But I suppose that answer would be - into our internal repository. In that case as I said in description : "if we cannot fully remove it, then we can avoid it's usage during analysis". So I can create another ticket for 2.13 about full removal of third-party repositories and this one can be done in 2.12.

Show
Evgeny Mandrikov added a comment - 25/Oct/11 3:17 PM Hi Freddy, Into which repository we will deploy new artifacts for PMD and Checkstyle ? If answer is Codehaus ( using groupId org.codehaus.sonar ), then we definitely can resolve this ticket, since Codehaus synced to Central. But I suppose that answer would be - into our internal repository. In that case as I said in description : "if we cannot fully remove it, then we can avoid it's usage during analysis". So I can create another ticket for 2.13 about full removal of third-party repositories and this one can be done in 2.12.
Hide
Permalink
Evgeny Mandrikov added a comment - 26/Oct/11 3:29 AM

As was discussed today with Freddy and Simon : in version 2.12 declaration should be moved from root pom (in order to remove side effects in Maven plugins) to the place where it's used (i.e. sonar-checkstyle-plugin) and it should be fully removed later when all dependencies would be available in Central (see SONAR-2938).

Show
Evgeny Mandrikov added a comment - 26/Oct/11 3:29 AM As was discussed today with Freddy and Simon : in version 2.12 declaration should be moved from root pom (in order to remove side effects in Maven plugins) to the place where it's used (i.e. sonar-checkstyle-plugin) and it should be fully removed later when all dependencies would be available in Central (see SONAR-2938).
Hide
Permalink
Evgeny Mandrikov added a comment - 26/Oct/11 12:40 PM

Done in eb20690.

Show
Evgeny Mandrikov added a comment - 26/Oct/11 12:40 PM Done in eb20690.
Hide
Permalink
Simon Brandhof added a comment - 01/Nov/11 3:24 AM

Tested

Show
Simon Brandhof added a comment - 01/Nov/11 3:24 AM Tested
Hide
Permalink
Evgeny Mandrikov added a comment - 01/Nov/11 12:06 PM

No need for integration tests.

Show
Evgeny Mandrikov added a comment - 01/Nov/11 12:06 PM No need for integration tests.

People

  • Assignee:
    Evgeny Mandrikov
    Reporter:
    Evgeny Mandrikov
Vote (0)
Watch (0)

Dates

  • Created:
    30/Sep/11 2:06 PM
    Updated:
    01/Nov/11 12:06 PM
    Resolved:
    26/Oct/11 12:40 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.