Maven 2.x Ant Tasks

[PATCH] add central repository only if no remoteRepository set

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0.6
  • Fix Version/s: 2.0.7
  • Component/s: dependencies task
  • Labels:
    None
  • Number of attachments :
    2

Description

as stated in http://maven.apache.org/ant-tasks.html "Declaring Repositories":
"If no remote repositories are specified, the default http://repo1.maven.org/maven2 is used."

But the actual behavior allways adds central.

This patch does was is explained in the doc.

  1. MANTTASKS-65.diff
    16/Apr/07 2:50 PM
    1 kB
    Herve Boutemy
  2. MANTTASKS-65b.diff
    16/Apr/07 4:47 PM
    3 kB
    Herve Boutemy

Issue Links

Activity

Hide
Herve Boutemy added a comment -

forgot to update sample.build.xml to match the change

Show
Herve Boutemy added a comment - forgot to update sample.build.xml to match the change
Hide
Jason van Zyl added a comment -

Patch applied.

Show
Jason van Zyl added a comment - Patch applied.

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: