diff --git a/j2cl-maven-plugin/src/it/gwt-modules-project/pom.xml b/j2cl-maven-plugin/src/it/gwt-modules-project/pom.xml new file mode 100644 index 00000000..3efa5886 --- /dev/null +++ b/j2cl-maven-plugin/src/it/gwt-modules-project/pom.xml @@ -0,0 +1,154 @@ + + 4.0.0 + + gwt-modules-project + gwt-modules-project + 1.0 + + + + + + + org.gwtproject.http + gwt-http + 1.0.0-RC3 + + + org.gwtproject.json + gwt-json + 1.0.0-RC1 + + + + + + + + + + + + + org.gwtproject.event + gwt-event-legacy + 1.0.0-RC1 + + + org.gwtproject.event + gwt-logical-event + 1.0.0-RC1 + + + + + + + + + + + + + + + + + + org.gwtproject.xhr + gwt-xhr + 1.0.0-RC1 + + + org.gwtproject.safehtml + gwt-safehtml + 1.0.0-RC1 + + + org.gwtproject.safehtml + gwt-safecss + 1.0.0-RC1 + + + org.gwtproject.regexp + gwt-regexp + 1.0.0-RC1 + + + org.gwtproject.core + gwt-core + 1.0.0-RC1 + + + org.gwtproject.xml + gwt-xml + 1.0.0-RC1 + + + org.gwtproject.callback + gwt-callback + 1.0.0-RC1 + + + org.gwtproject.timer + gwt-timer + 1.0.0-RC1 + + + org.gwtproject.typedarrays + gwt-typedarrays + 1.0.0-RC2 + + + org.gwtproject.user.window + gwt-window + 1.0.0-RC2 + + + org.gwtproject.place + gwt-places + 1.0.0-RC1 + + + org.gwtproject.user.history + gwt-history + 1.0.0-RC1 + + + + + + @project.groupId@ + @project.artifactId@ + @project.version@ + + + + build + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.6.1 + + 1.8 + 1.8 + + + + + + + + google-snapshots + https://oss.sonatype.org/content/repositories/google-snapshots/ + + + diff --git a/j2cl-maven-plugin/src/main/java/com/vertispan/j2cl/mojo/AbstractBuildMojo.java b/j2cl-maven-plugin/src/main/java/com/vertispan/j2cl/mojo/AbstractBuildMojo.java index a7b6cde2..00f18aab 100644 --- a/j2cl-maven-plugin/src/main/java/com/vertispan/j2cl/mojo/AbstractBuildMojo.java +++ b/j2cl-maven-plugin/src/main/java/com/vertispan/j2cl/mojo/AbstractBuildMojo.java @@ -307,7 +307,7 @@ private Dependency.Scope translateScope(String scope) { case Artifact.SCOPE_PROVIDED: return Dependency.Scope.COMPILE; case Artifact.SCOPE_RUNTIME: - return Dependency.Scope.RUNTIME; + return Dependency.Scope.BOTH; // These two should already be removed by earlier filtering, throw anyway case Artifact.SCOPE_IMPORT: case Artifact.SCOPE_SYSTEM: