Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for
- com.actiondigital:TestingLearning:jar:1.0-SNAPSHOT
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-sure
- fire-plugin is missing. @ line 34, column 15
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shad
- e-plugin is missing. @ line 45, column 15
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten t
- he stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support buildin
- g such malformed projects.
- [WARNING]
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building TestingLearning 1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ TestingLea
- rning ---
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i
- .e. build is platform dependent!
- [INFO] Copying 0 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ TestingLearning
- ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ Te
- stingLearning ---
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i
- .e. build is platform dependent!
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ Testing
- Learning ---
- [INFO] Changes detected - recompiling the module!
- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. bu
- ild is platform dependent!
- [INFO] Compiling 8 source files to F:\IntelliJ IDEA work\TestingLarning\target\t
- est-classes
- [INFO] -------------------------------------------------------------
- [ERROR] COMPILATION ERROR :
- [INFO] -------------------------------------------------------------
- [ERROR] /F:/IntelliJ IDEA work/TestingLarning/src/test/java/com/actiondigital/ut
- il/DriverProvider.java:[24,16] strings in switch are not supported in -source 1.
- 5
- (use -source 7 or higher to enable strings in switch)
- [INFO] 1 error
- [INFO] -------------------------------------------------------------
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 0.972 s
- [INFO] Finished at: 2016-02-08T13:35:22-03:00
- [INFO] Final Memory: 18M/247M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.
- 1:testCompile (default-testCompile) on project TestingLearning: Compilation fail
- ure
- [ERROR] /F:/IntelliJ IDEA work/TestingLarning/src/test/java/com/actiondigital/ut
- il/DriverProvider.java:[24,16] strings in switch are not supported in -source 1.
- 5
- [ERROR] (use -source 7 or higher to enable strings in switch)
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
- ch.
- [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 rea
- d the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
- eption
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement