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プロファイルを持っていますが、すべてのマシンですべてが利用できるわけではありません。したがって、ルートディレクトリのスーパーpomにそれらを配置したくありません。
ただし、私が見る限り、Maven 3ビルドプロファイルを別のファイルに配置し、アクティベーションルールとコマンドラインパラメーターを使用して実行時にそれらを含める方法はありません。
それとも私は間違っていますか?
Maven 3では、プロファイルを外部ファイルに入れることはできません。以前のバージョン(Maven 2.2.1にはprofiles.xmlが存在します)。