simpligility / maven-repository-tools

Tools for interacting with Maven repositories
Eclipse Public License 1.0
137 stars 66 forks source link

Feature/Fix: Handle Snapshots (and ignore .md5 files) #61

Closed marcandre-larochelle-bell closed 2 years ago

marcandre-larochelle-bell commented 2 years ago

There is an issue with snapshots being located under /snapshots/<version>-SNAPSHOT/artifact, where there can be multiple versions of the same snapshots, they do not contain -SNAPSHOT in their name (artifacts), better to just filter on <version>* without -SNAPSHOT (within the <version>-SNAPSHOTfolder)

Note: Also noticed it didn't skip .md5 files

mosabua commented 2 years ago

I am not sure this is sufficient to handle snapshots. Also really sure if copying around snapshots like this is actually a good idea. I need to think about this some more.

mosabua commented 2 years ago

Any insights @cstamas ?

mosabua commented 2 years ago

At this stage I think snapshots should NOT be copied like that. If you really need one specific snapshot .. cut a release.