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 1
  • MAVEN-1672

about warning last-modified not specified an 0k donwloaded

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

This is maybe not a maven bug, but i want to tell the solution for a problem that seems to occur from time to time but noone knows a solution.

Sometimes when using dependencies to snapshots of own packages there appear warnings like:
warning: last-modified not specified
0K downloaded

sometimes more than once. Maven prints out a bunch of unzip errors and compile errors.

In my case, i had a snapshot of a own packaged deployed to a local repository. In another project i had a dependency to this package. In my maven.repo.remote i had specified my local repository and then ibiblio.

I got this damn warning two times and the downloaded snapshot in my cache seemed to be empty.

The problem was that maven first looked in my local repo and found the snapshot and downloaded it. But it also looked at ibiblio. But ibiblio didn't have the package (it's a own development). But instead of reporting a 404 HTTP error ibiblio reports a 200 with a normal HTML page. So maven overwrote the package in my cache with this HTML page.

This may also happen, when you have no local repo and only ibiblio and install your dependency packages with ejb:install-snapshot.
maven will always look on ibiblio for newer snapshots.

The solution is currently to switch to another mirror (public.planetmirror.com reports 404 errors).

I think it is at least worth to mention this in the FAQ and switch from ibiblio to another repo server as default.

Regards,
Beffe

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MAVEN-1080 Maven download corrupted jar file into repository

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

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brett Porter added a comment - 25/Aug/05 12:24 AM

thanks for the additional info!

Show
Brett Porter added a comment - 25/Aug/05 12:24 AM thanks for the additional info!

People

  • Assignee:
    Brett Porter
    Reporter:
    Stephan Hartmann
Vote (0)
Watch (0)

Dates

  • Created:
    24/Aug/05 2:24 AM
    Updated:
    08/Mar/06 10:47 PM
    Resolved:
    25/Aug/05 12:24 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.