Maven 1

Maven isn't able to download a distribution dependency

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.0-beta-10
  • Fix Version/s: None
  • Component/s: core
  • Labels:
    None
  • Number of attachments :
    1

Description

If you have a dependency of type distribution, maven attepts to download the dep as a .distribution file instead of downlowading the .zip and .tar.gz files. Since the distribution plugin is creating .zip and .tar.gz files in the distrbution directory, maven should be smart enough to know how to download them.

Activity

Hide
Jason Chaffee added a comment -

I have supplied a patch for this bug and MAVEN-751

Show
Jason Chaffee added a comment - I have supplied a patch for this bug and MAVEN-751
Hide
rasta man added a comment -

This is a HUGE bug for us. Is there any way to get this patch into the 1.0 release??

Show
rasta man added a comment - This is a HUGE bug for us. Is there any way to get this patch into the 1.0 release??
Hide
Brett Porter added a comment -

this patch isn't really appropriate.

For Maven1, you are just going to have to specify
<type>distribution</type>
<jar>apache_1.3.29.tar.gz</jar>

Uploading works just fine.

Show
Brett Porter added a comment - this patch isn't really appropriate. For Maven1, you are just going to have to specify <type>distribution</type> <jar>apache_1.3.29.tar.gz</jar> Uploading works just fine.

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: