Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven Artifacts: Add publish date to index #37

Open
bhermann opened this issue May 22, 2019 · 0 comments
Open

Maven Artifacts: Add publish date to index #37

bhermann opened this issue May 22, 2019 · 0 comments
Assignees
Milestone

Comments

@bhermann
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently, it is not possible to find out when an artifact was published.

Describe the solution you'd like
Add the publish date based on the last modified date from the HTTP header.
Maybe consider other fields as well.

Describe alternatives you've considered
none

Additional context

> curl --head http://repo1.maven.org/maven2/abbot/abbot/1.4.0/abbot-1.4.0.pom
HTTP/1.1 200 OK
ETag: "643667fad16f969edec49157b0cc5480"
Content-Type: text/xml
Last-Modified: Tue, 22 Sep 2015 16:03:12 GMT
X-Checksum-MD5: 643667fad16f969edec49157b0cc5480
X-Checksum-SHA1: c7d371c9363c13073aa5763d7ceb196f78c2d5cb
Via: 1.1 varnish
Content-Length: 1292
Accept-Ranges: bytes
Date: Wed, 22 May 2019 20:15:55 GMT
Via: 1.1 varnish
Age: 1678759
Connection: keep-alive
X-Served-By: cache-iad2144-IAD, cache-fra19179-FRA
X-Cache: HIT, HIT
X-Cache-Hits: 1, 1
X-Timer: S1558556155.144471,VS0,VE0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants