diff --git a/j2cl-maven-plugin/pom.xml b/j2cl-maven-plugin/pom.xml index 8b89b2ba..abd92569 100644 --- a/j2cl-maven-plugin/pom.xml +++ b/j2cl-maven-plugin/pom.xml @@ -127,7 +127,7 @@ org.apache.maven.plugins maven-invoker-plugin - 3.0.1 + 3.2.2 @@ -139,7 +139,6 @@ ${project.build.directory}/it-tests - ${project.build.directory}/it-repo src/it/settings.xml package -e @@ -147,6 +146,10 @@ -ea + + com.google.jsinterop:jsinterop-annotations:1.0.2 + com.google.jsinterop:jsinterop:1.0.2:pom + 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..14f8cbb6 --- /dev/null +++ b/j2cl-maven-plugin/src/it/gwt-modules-project/pom.xml @@ -0,0 +1,155 @@ + + 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/it/settings.xml b/j2cl-maven-plugin/src/it/settings.xml deleted file mode 100644 index 22deb1b9..00000000 --- a/j2cl-maven-plugin/src/it/settings.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - it-repo - - true - - - - local.central - @localRepositoryUrl@ - - true - - - true - - - - vertispan-releases - Vertispan hosted artifacts-releases - https://repo.vertispan.com/j2cl - - - - - - local.central - @localRepositoryUrl@ - - true - - - true - - - - - - \ No newline at end of file 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: