laat / mvn-dl

Download maven artifacts
12 stars 11 forks source link

Add support for timestamped snapshot versions #7

Closed navdeepsekhon closed 7 years ago

navdeepsekhon commented 7 years ago

Example: com.expample:example:1.0-SNAPSHOT will have jars under /com/example/example/1.0-SNAPSHOT but the jar names will be 1.0-20170411.125827-1.jar

laat commented 7 years ago

Thanks! On vacation atm, will review when I get the time.

laat commented 7 years ago

Thank you for the pull request.

Just out of curiosity, @navdeepsekhon what is your usecase for this feature?

I merged it largely unchanged, but updated the README files to reflect your changes and reindented the test files where the indentation was changed. I also removed describe.only from the tests 😃

It would be cool if @jan-molak could test the changes before I publish new major versions, as he is the only known consumer of these packages other than you @navdeepsekhon.

Will publish new versions soon, poke me again if I forget.

navdeepsekhon commented 7 years ago

One of my teams publishes their jar as snapshot versions that update every 2-3 days and I need to get some files out of the most up to date jar to use in my js

laat commented 7 years ago

Published

jan-molak commented 7 years ago

Apologies, @laat, I didn't manage to find the time to check the changes. I'll update to the latest version and let you know if there are any problems.