Re: Puzzling Aether behaviour

2018-12-23 Thread Robert Scholte
AFAIK once downloaded it is only checking its existence every next time. I do think that things can be improved in the Maven Artifact Resolver[1] similar to this idea. Although you probably still need to re-download the jar and calculate the checksum(s), trusting the remote camel-core-2.23.0.j

Re: Puzzling Aether behaviour

2018-12-23 Thread Robert Scholte
On Sat, 22 Dec 2018 23:39:55 +0100, Thomas Broyer wrote: https://blog.autsoft.hu/a-confusing-dependency/ Yes, that was the one, thanks! - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands,

Re: Puzzling Aether behaviour

2018-12-22 Thread Thomas Broyer
Le ven. 21 déc. 2018 20:23, Robert Scholte a écrit : > There are a couple of things happening here. > > 1. dependencies are checked even though they are downloaded > This ensures that the build doesn't rely on *your* *local* repository. At > any time anybody should be able to build the project, i

Re: Puzzling Aether behaviour

2018-12-22 Thread Zoran Regvart
Hi Robert, thanks for taking the time to reply. Do you think it would make sense to put the hash value of the artifact in `_remote.repositories`. For example I see this for camel-core: camel-core-2.23.0.jar>maven.central= It can become: camel-core-2.23.0.jar>maven.central=2f67a52f3c0aea7a8e2d53a

Re: Puzzling Aether behaviour

2018-12-22 Thread JackZi
How many times are the dependencies checked, Robert? Just out of interest. - Hi! -- Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additi

Re: Puzzling Aether behaviour

2018-12-21 Thread Robert Scholte
There are a couple of things happening here. 1. dependencies are checked even though they are downloaded This ensures that the build doesn't rely on *your* *local* repository. At any time anybody should be able to build the project, it even should be possible that you remove your own local re

Puzzling Aether behaviour

2018-12-21 Thread Zoran Regvart
Hi Mavenistas, I was recently quite puzzled on why Maven is trying to download a dependency already present in the local repository and I tracked it down to this comment in EnhancedLocalRepositoryManager[1]: "artifact downloaded from remote repository is accepted only downloaded from request repos

Puzzling Aether behaviour

2018-12-21 Thread Zoran Regvart
Hi Mavenistas, I was recently quite puzzled on why Maven is trying to download a dependency already present in the local repository and I tracked it down to this comment in EnhancedLocalRepositoryManager[1]: "artifact downloaded from remote repository is accepted only downloaded from request repos