keesun / mod-socket-io

Vert.x Socket.IO Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

latest version has error when i mvn install.don't support jdk1.6?

xianlaioy opened this issue · comments

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project mod-socket-io: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] javac: 无效的目标版本: 1.7
[ERROR] 用法: javac
[ERROR] -help 用于列出可能的选项
[ERROR] -> [Help 1]

Because the vert.x doesn't support jdk1.6, mod-socket-io and your program that uses vert.x, mod-socket-io or other modules should use at least jdk1.7.

master ✓) mod-socket-io mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building mod-socket-io 1.0.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ mod-socket-io ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mod-socket-io ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ mod-socket-io ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /workspace/mod-socket-io/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ mod-socket-io ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ mod-socket-io ---
[INFO] Surefire report directory: /workspace/mod-socket-io/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.nhncorp.mods.socket.io.impl.ParserTest
09:14:35.297 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
09:14:35.311 [main] DEBUG i.n.util.internal.PlatformDependent - UID: 501
09:14:35.312 [main] DEBUG i.n.util.internal.PlatformDependent - Java version: 7
09:14:35.313 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false
09:14:35.315 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.ByteBuffer.cleaner: available
09:14:35.315 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
09:14:35.315 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
09:14:35.316 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
09:14:35.316 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: true
09:14:35.316 [main] DEBUG i.n.util.internal.PlatformDependent - sun.misc.Unsafe: available
09:14:35.317 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noJavassist: false
09:14:35.318 [main] DEBUG i.n.util.internal.PlatformDependent - Javassist: unavailable
09:14:35.318 [main] DEBUG i.n.util.internal.PlatformDependent - You don't have Javassist in your class path or you don't have enough permission to load dynamically generated classes.  Please check the configuration for better performance.
09:14:35.318 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
09:14:35.327 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.noResourceLeakDetection: false
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.64 sec
Running com.nhncorp.mods.socket.io.impl.RoomTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec

Results :

Tests run: 5, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ mod-socket-io ---
[INFO] Building jar: /workspace/mod-socket-io/target/mod-socket-io-1.0.3.jar
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ mod-socket-io ---
[INFO] Building jar: /workspace/mod-socket-io/target/mod-socket-io-1.0.3-sources.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ mod-socket-io ---
[INFO] Installing /workspace/mod-socket-io/target/mod-socket-io-1.0.3.jar to /Users/nbp/.m2/repository/com/nhncorp/mod-socket-io/1.0.3/mod-socket-io-1.0.3.jar
[INFO] Installing /workspace/mod-socket-io/pom.xml to /Users/nbp/.m2/repository/com/nhncorp/mod-socket-io/1.0.3/mod-socket-io-1.0.3.pom
[INFO] Installing /workspace/mod-socket-io/target/mod-socket-io-1.0.3-sources.jar to /Users/nbp/.m2/repository/com/nhncorp/mod-socket-io/1.0.3/mod-socket-io-1.0.3-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.413s
[INFO] Finished at: Wed Jan 15 09:14:36 KST 2014
[INFO] Final Memory: 8M/20M
[INFO] ----------------------------