特定のプロファイル用のいくつかのタイコモジュールのビルドをスキップしたいと思いますが、明らかにMavenの方法は機能しません。Tychoモジュールのビルドをスキップ
私はmvn install -pl "!org.acme.project"
を試みたが、得た:
[INFO] Scanning for projects...
[ERROR] [ERROR] Could not find the selected project in the reactor: org.acme.project @
[ERROR] Could not find the selected project in the reactor: org.acme.project -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
(Mavenのは、それらを見つけることができませんもちろんのようティコアーティファクトは、Mavenの成果物として知られることはありませんので、理にかなって。)
そして、私はオーバーライドする試みましたこのようなモジュール:
<modules>
<module>org.acme.project</module>
<module>org.acme.other</module>
</modules>
<profiles>
<profile>
<id>my-great-profile</id>
<modules>
<module>org.acme.other</module>
</modules>
</profile>
</profiles>
しかし、すべてのプロジェクトは、私はよく分からない(そのように構築されている場合は、そのべきの作業、またはそのようにモジュールを追加できる場合のみ)。
Eclipseはこれらのプロジェクトをインポートできないため、デフォルトプロファイルの作成は機能しません。
おそらく、使用したすべてのMaven/Tychoプラグインを手動で無効にできますが、面倒です。
Tychoモジュールをスキップする簡単な方法はありますか? (。コースのMavenのように、それらを見つけることができませんティコアーティファクトはMavenの成果物として知られることはありませんので、理にかなって、)