gwt-plugins / gwt-plugins/gwt-eclipse-plugin

runClasspathExcludes seems to be disregarded

Ouverte
#387 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
117
Forks
49
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par reproduire GWT Development Mode avec la configuration indiquée de org.codehaus.mojo.gwt-maven-plugin 2.8.2 et examinez comment runClasspathExcludes est appliqué au war classpath. C’est terminé lorsque storm-core-1.0.1.jar est exclu et que l’avertissement concernant defaults.yaml en double n’apparaît plus.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
build-system, tooling
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.