Org.apache.maven.plugins can not download the plug when Maven package

Solution:

Method 1: Use mvn clean package -U package can be ( note: . For performance reasons, Maven cache plugin can not download the information depending on your setup, you may need to sign added -Uto the command line to clear the cache, so that correct entry into force )

Option 2: Use the original central warehouse is using the default address of the warehouse in the setting.xml

Guess you like

Origin www.cnblogs.com/liuyp-ken/p/11086801.html