Post

Tracing maven-default-http-blocker in Maven 3.8+

1
2
3
4
5
6
7
8
9
[MVNVM] Using maven: 3.9.9
[MVNVM]              extracting: /home/hao/.mvnvm/apache-maven-3.9.9  
[/home/hao/.mvnvm/apache-maven-3.9.9-bin.zip]
  End-of-central-directory signature not found.  Either this file is not  
  a zipfile, or it constitutes one disk of a multi-part archive.  In the  
  latter case the central directory and zipfile comment will be found on  
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /home/hao/.mvnvm/apache-maven-3.9.9-bin.zip or  
        /home/hao/.mvnvm/apache-maven-3.9.9-bin.zip.zip, and cannot find /home/hao/.mvnvm/apache-maven-3.9.9-bin.zip.ZIP, period.
  1. Maven の現在有効な設定を確認する。
    1
    
    mvn help:effective-settings
    
  2. Maven がどの設定ファイルを読み込んでいるかを確認する。
    1
    
    mvn -X -q help:effective-settings | grep -E "settings|global settings|user settings"
    

通常は
~/.mvnvm/apache-maven-3.9.12/conf/settings.xml
に定義されています

This post is licensed under CC BY 4.0 by the author.