gwt-plugins / gwt-plugins/gwt-eclipse-plugin
runClasspathExcludes seems to be disregarded
- 主要言語
- Java
- スター
- 117
- フォーク
- 49
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I'm using the `org.codehaus.mojo.gwt-maven-plugin` plugin in version `2.8.2`.
This is my configuration:
```xml
com.mycompany.myproject.gwt.App
-Xmx2G
app
storm-core-1.0.1.jar
```
the interesting part is the `runClasspathExclude`. When I run GWT Development Mode, the jar is *not* excluded from the war classpath :(.
This makes the JAR appear twice on the classpath which is something that it explicitly guards against:
> Found multiple defaults.yaml resources. You're probably bundling the Storm jars with your topology jar.
> [jar:file:/C:/Data/Maven%20Repository/org/apache/storm/storm-core/1.0.1/storm-core-1.0.1.jar!/defaults.yaml, jar:file:/C:/Git/myproject/myproject-ui/target/myproject-ui-2.0.5-SNAPSHOT/WEB-INF/lib/storm-core-1.0.1.jar!/defaults.yaml]
Is there any workaround I can do to exclude the jar?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、示されている org.codehaus.mojo.gwt-maven-plugin 2.8.2 の設定で GWT Development Mode を再現し、runClasspathExcludes が war classpath にどのように適用されるかを調べます。storm-core-1.0.1.jar が除外され、重複した defaults.yaml に関する警告が表示されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- build-system, tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100