Maven 2.x Ant Tasks

miss RemoteRepository sub-element for tasks pom and install-provider

Details

  • Type: Wish Wish
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.6
  • Fix Version/s: 2.0.7
  • Labels:
    None
  • Environment:
    Ant 1.6.5 / Maven Ant Task 2.0.6
  • Testcase included:
    yes
  • Patch Submitted:
    Yes
  • Number of attachments :
    2

Description

My pom have parent pom which is not in the repo1.maven.org. And i can't initialize it because maven task ant pom doesn't find parent pom.

I need to have possibility to specify the remote repository like in the dependencies task

<artifact:pom id="pom" file="${pom.location}" settingsFile="${settings.file}">
	*<remoteRepository refid="remote.repository" />*
	<localRepository location="${local.repository}" />
</artifact:pom>

I have the same problem with the install-provider to download my dependencies. I can't specify the remote repository, so i can't download all dependencies which is not in repo1.maven.org.

<artifact:install-provider artifactId="wagon-ftp" version="1.0-beta-2">
	*<remoteRepository refid="remote.repository" />*
</artifact:install-provider>
  1. MANTTASKS-73.diff
    23/Jun/07 2:01 PM
    19 kB
    Herve Boutemy
  2. MANTTASKS-73.tgz
    23/Jun/07 2:01 PM
    3 kB
    Herve Boutemy

Activity

Hide
Herve Boutemy added a comment -

Here is remoteRepository support for pom and install-provider tasks

Show
Herve Boutemy added a comment - Here is remoteRepository support for pom and install-provider tasks
Hide
Jason van Zyl added a comment -

Patch applied.

Show
Jason van Zyl added a comment - Patch applied.
Hide
MArtin Schumacher added a comment -

the documentation at http://maven.apache.org/ant-tasks.html should be completed

Show
MArtin Schumacher added a comment - the documentation at http://maven.apache.org/ant-tasks.html should be completed
Hide
Dennis Lundberg added a comment -

Documentation has already been updated, but not yet published. This is being tracked in MANTTASKS-114.

Show
Dennis Lundberg added a comment - Documentation has already been updated, but not yet published. This is being tracked in MANTTASKS-114.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: