Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gwt_dev dependency default scope should be replaced with test scope #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

treblereel
Copy link

No description provided.

@niloc132
Copy link

[ERROR] Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-9:test (default-test) on project storage: Execution default-test of goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-9:test failed. NullPointerException -> [Help 1]

I wonder if we need something special for the plugin to pick up the test scopes?

@treblereel
Copy link
Author

treblereel commented Feb 26, 2020

[ERROR] Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-9:test (default-test) on project storage: Execution default-test of goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-9:test failed. NullPointerException -> [Help 1]

I wonder if we need something special for the plugin to pick up the test scopes?

Hmm, i have no issues locally

mvn clean install
              INFO] Scanning for projects...
[INFO] 
[INFO] -------------------< org.gwtproject.storage:storage >-------------------
[INFO] Building Gwt Storage Module 1.0.2-SNAPSHOT
[INFO] ------------------------------[ gwt-lib ]-------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ storage ---
[INFO] Deleting /home/treblereel/workspace/gwt/gwt-storage/target
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ storage ---
[INFO] Starting audit...
Audit done.
[INFO] 
[INFO] --- gwt-maven-plugin:1.0-rc-9:enforce-encoding (default-enforce-encoding) @ storage ---
[INFO] 
[INFO] --- gwt-maven-plugin:1.0-rc-9:add-super-sources (default-add-super-sources) @ storage ---
[INFO] 
[INFO] --- gwt-maven-plugin:1.0-rc-9:add-test-super-sources (default-add-test-super-sources) @ storage ---
[INFO] 
[INFO] --- gwt-maven-plugin:1.0-rc-9:generate-module (default-generate-module) @ storage ---
[INFO] 
[INFO] --- gwt-maven-plugin:1.0-rc-9:generate-module-metadata (default-generate-module-metadata) @ storage ---
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ storage ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/treblereel/workspace/gwt/gwt-storage/src/main/resources
[INFO] skip non existing resourceDirectory /home/treblereel/workspace/gwt/gwt-storage/src/main/super
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ storage ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to /home/treblereel/workspace/gwt/gwt-storage/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ storage ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/treblereel/workspace/gwt/gwt-storage/src/test/resources
[INFO] skip non existing resourceDirectory /home/treblereel/workspace/gwt/gwt-storage/src/test/super
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ storage ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 10 source files to /home/treblereel/workspace/gwt/gwt-storage/target/test-classes
[INFO] 
[INFO] --- gwt-maven-plugin:1.0-rc-9:test (default-test) @ storage ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.gwtproject.storage.StorageMapSuite
Starting Jetty on port 0
   [WARN] ServletContainerInitializers: detected. Class hierarchy: empty
[INFO] Tests run: 100, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.389 s - in org.gwtproject.storage.StorageMapSuite
[INFO] Running org.gwtproject.storage.StorageSuite
[INFO] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.622 s - in org.gwtproject.storage.StorageSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 128, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- gwt-maven-plugin:1.0-rc-9:package-lib (default-package-lib) @ storage ---
[INFO] Building jar: /home/treblereel/workspace/gwt/gwt-storage/target/storage-1.0.2-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ storage ---
[INFO] Installing /home/treblereel/workspace/gwt/gwt-storage/target/storage-1.0.2-SNAPSHOT.jar to /home/treblereel/.m2/repository/org/gwtproject/storage/storage/1.0.2-SNAPSHOT/storage-1.0.2-SNAPSHOT.jar
[INFO] Installing /home/treblereel/workspace/gwt/gwt-storage/pom.xml to /home/treblereel/.m2/repository/org/gwtproject/storage/storage/1.0.2-SNAPSHOT/storage-1.0.2-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  37.253 s
[INFO] Finished at: 2020-02-26T21:04:25+01:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants