0
は、このようなプロジェクトにスコープ「テーマ」依存関係を追加する必要がある、あなたのプロジェクトは、特定のテーマを使用する必要がありますFlexmojo Mavenプラグインを伝える:Mavenで新しい種類のスコープを定義するには?ために
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>spark</artifactId>
<version>4.1.0.16076</version>
<type>swc</type>
<scope>theme</scope>
</dependency>
をこれが正常に動作しますが、以下を生成します怖い探して警告:
[WARNING] Some problems were encountered while building the effective
model for com.mycorp.core:myapp-core-flex-client:swf:1.0.0-SNAPSHOT
[WARNING] 'dependencies.dependency.scope' for
com.adobe.flex.framework:spark:swc must be one of [provided, compile,
runtime, test, system] but is 'theme'. @ line 48, column 11
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer
support building such malformed projects.
は、それが正当なそれを受け入れるようにMavenにスコープの新しいタイプを追加する方法はありますか?または少なくとも警告を取り除く?
これはflexmojosのようなモジュールにとって重大な制限です。私はそれに警告のそれらの種類でビルドすることはできません! – HDave
「テーマ」の範囲を定義するのはなぜですか? –