Home > Back-end > The use of maven: I'm from the SNAPSHOT download a lot of packages, and modify its part of the
The use of maven: I'm from the SNAPSHOT download a lot of packages, and modify its part of the
Time:09-16
I modified a version for x. 0.0 - the snapshot bag code, then the idea of debugging, can really into my modified code
But I use the MVN package packaging, MVN sometimes from remote repositories to pull a snapshot of the original package, package failure that causes me to modify, Online said that the snapshot is a snapshot, will check the update at any time, but I want to look at the local modification after no longer to down its jar packages from the Internet, I need to use git manually merge changes online, and keep my changes,
How to break this? In addition I manually change the snapshot version number, what for?
CodePudding user response:
Maven basic function no calls in the source code version management (git), should be this project has been submitted to the maven central, you in other references to the project project, the maven update cause to download
Now that you're going to use your own code, modify the groupId, artifactId just into your own project,
CodePudding user response:
Check the pom file, see whether have & lt; Scm> Set, remove the