Closed confile closed 9 years ago
That is perfectly ok, some tests cause exception on purpose.
This is the interesting line:
Tests run: 246, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.952 sec
If you want to package without running tests add -Dmaven.test.skip option to mvn command
okay thanks
Well I did
mvn clean install -Dmaven.test.skip
The target dir remains empty. No jar file. I get build and compile failure.
Output is:
http-server:gwtquery-gesture-plugin mg$ mvn clean install -Dmaven.test.skip
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Gestures plugin for gQuery 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gestures-plugin ---
[INFO] Deleting /Users/mg/Downloads/gwtquery-gesture-plugin/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gestures-plugin ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO] skip non existing resourceDirectory /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ gestures-plugin ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 4 source files to /Users/mg/Downloads/gwtquery-gesture-plugin/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[39,49] error: cannot find symbol
[ERROR] symbol: class SpecialEvent
location: package com.google.gwt.query.client.plugins.events
/Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[40,62] error: package com.google.gwt.query.client.plugins.events.SpecialEvent does not exist
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[162,53] error: cannot find symbol
[ERROR] symbol: class SpecialEvent
location: class Gesture
/Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[151,28] error: method put in class JsMap<S,T> cannot be applied to given types;
[ERROR] required: String,SpecialEvent
found: String,GestureSpecialEvent
reason: actual argument GestureSpecialEvent cannot be converted to SpecialEvent by method invocation conversion
where S,T are type-variables:
S extends Object declared in class JsMap
T extends Object declared in class JsMap
/Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[158,44] error: cannot find symbol
[ERROR] symbol: class DefaultSpecialEvent
location: class Gesture
/Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[159,42] error: cannot find symbol
[ERROR] symbol: class DefaultSpecialEvent
location: class Gesture
/Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[170,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[282,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[290,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[300,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[414,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/KeyFrame.java:[56,24] error: getVendorPropertyName(String) has private access in Transitions
[INFO] 12 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.487s
[INFO] Finished at: Wed Dec 31 16:03:03 CET 2014
[INFO] Final Memory: 16M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project gestures-plugin: Compilation failure: Compilation failure:
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[39,49] error: cannot find symbol
[ERROR] symbol: class SpecialEvent
[ERROR] location: package com.google.gwt.query.client.plugins.events
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[40,62] error: package com.google.gwt.query.client.plugins.events.SpecialEvent does not exist
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[162,53] error: cannot find symbol
[ERROR] symbol: class SpecialEvent
[ERROR] location: class Gesture
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[151,28] error: method put in class JsMap<S,T> cannot be applied to given types;
[ERROR] required: String,SpecialEvent
[ERROR] found: String,GestureSpecialEvent
[ERROR] reason: actual argument GestureSpecialEvent cannot be converted to SpecialEvent by method invocation conversion
[ERROR] where S,T are type-variables:
[ERROR] S extends Object declared in class JsMap
[ERROR] T extends Object declared in class JsMap
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[158,44] error: cannot find symbol
[ERROR] symbol: class DefaultSpecialEvent
[ERROR] location: class Gesture
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[159,42] error: cannot find symbol
[ERROR] symbol: class DefaultSpecialEvent
[ERROR] location: class Gesture
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[170,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[282,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[290,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[300,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/Gesture.java:[414,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/mg/Downloads/gwtquery-gesture-plugin/src/main/java/com/google/gwt/query/client/plugin/KeyFrame.java:[56,24] error: getVendorPropertyName(String) has private access in Transitions
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
It's related to gwtquery-gesture-plugin : https://github.com/manolo/gwtquery-gesture-plugin
Please open an issue there.
Sorry I posted in the wrong thread.
I tried to compile the source with mvn clean install and got the following error: