How to NOT pull the given jar package every time when using maven -


in project, these 3rd part jar. when run 'mvn -u clean package', find jar costs time pull. how can set pom file void pull jar every time?

thank you.

do not use -u option since it:

forces check updated releases , snapshots on remote repositories

see maven: complete reference, 6.1. maven command line options. or mvn --help:

-u,--update-snapshots    forces check missing                          releases , updated snapshots on                          remote repositories 

Comments