Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は Maven プラグインを使用しており、それがバインドするデフォルトの目標を決定しようとしています。それを理解するために実行するコマンドはありますか?
ソースにアクセスして@phase注釈を見つけることができましたが、可能であればコマンドラインから把握できるようにしたいと考えています。
@phase
このような種類の情報を取得するには、maven-help-plugin を使用できます。
たとえば、maven-compiler-plugin の場合:
mvn help:describe -DartifactId=maven-jar-plugin -DgroupId=org.apache.maven.plugins -Ddetail=true -Dgoal=jar