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 ビルドで特定のフェーズを実行する方法はありますか。たとえば、統合前の段階で実行されるプラグインのみを実行したい場合、Maven はそれを実行する手段を提供しますか?
e.g. mvn pre-integration-phase
ライフサイクル フェーズ自体を呼び出すことはできませんが、ライフサイクル フェーズにバインドされているプラグインのゴールを呼び出すことはできます。
mvn compile:testCompile mvn failsafe:integration-test
しかし、通常、これは必要ないはずです...
いいえ。プラグインを手動で実行する必要があります。