1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
dennis@denpc:~/git/netty$ git log -1
commit 59e5f2f2623a0bb4af8012bc18aef3a47bb9704c
Author: Trustin Lee <trustin@gmail.com>
Date:   Tue Jan 17 18:37:15 2012 +0900

    Upgrade to netty-build-4
dennis@denpc:~/git/netty$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)
dennis@denpc:~/git/netty$ mvn clean package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Netty
[INFO] Netty/Common
[INFO] Netty/Buffer
[INFO] Netty/Transport
[INFO] Netty/Codec
[INFO] Netty/Handler
[INFO] Netty/Codec/HTTP
[INFO] Netty/Transport/HTTP
[INFO] Netty/Transport/RXTX
[INFO] Netty/Transport/SCTP
[INFO] Netty/Example
[INFO] Netty/All-in-One
[INFO] Netty/Testsuite
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Netty 4.0.0.Alpha1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ netty-parent ---
[INFO] Deleting /home/dennis/git/netty/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ netty-parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-tools) @ netty-parent ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.8:check (check-style) @ netty-parent ---
[INFO] Starting audit...
Audit done.

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Netty/Common 4.0.0.Alpha1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ netty-common ---
[INFO] Deleting /home/dennis/git/netty/common/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ netty-common ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-tools) @ netty-common ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.8:check (check-style) @ netty-common ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ netty-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/dennis/git/netty/common/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ netty-common ---
[INFO] Compiling 60 source files to /home/dennis/git/netty/common/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LinkedTransferQueue.java:[1331,33] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LinkedTransferQueue.java:[1357,19] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LinkedTransferQueue.java:[535,37] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LinkedTransferQueue.java:[1359,27] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LinkedTransferQueue.java:[1364,56] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LinkedTransferQueue.java:[1364,56] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LinkedTransferQueue.java:[1365,39] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LinkedTransferQueue.java:[1367,32] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[WARNING] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LinkedTransferQueue.java:[1369,44] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[INFO] 9 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LegacyLinkedTransferQueue.java:[656,61] type parameters of <E>E cannot be determined; no unique maximal instance exists for type variable E with upper bounds E,java.lang.Object
[ERROR] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LegacyLinkedTransferQueue.java:[740,53] type parameters of <E>E cannot be determined; no unique maximal instance exists for type variable E with upper bounds E,java.lang.Object
[ERROR] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LegacyLinkedTransferQueue.java:[828,57] type parameters of <E>E cannot be determined; no unique maximal instance exists for type variable E with upper bounds E,java.lang.Object
[ERROR] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LegacyLinkedTransferQueue.java:[881,65] type parameters of <E>E cannot be determined; no unique maximal instance exists for type variable E with upper bounds E,java.lang.Object
[INFO] 4 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Netty ............................................. SUCCESS [10.167s]
[INFO] Netty/Common ...................................... FAILURE [24.994s]
[INFO] Netty/Buffer ...................................... SKIPPED
[INFO] Netty/Transport ................................... SKIPPED
[INFO] Netty/Codec ....................................... SKIPPED
[INFO] Netty/Handler ..................................... SKIPPED
[INFO] Netty/Codec/HTTP .................................. SKIPPED
[INFO] Netty/Transport/HTTP .............................. SKIPPED
[INFO] Netty/Transport/RXTX .............................. SKIPPED
[INFO] Netty/Transport/SCTP .............................. SKIPPED
[INFO] Netty/Example ..................................... SKIPPED
[INFO] Netty/All-in-One .................................. SKIPPED
[INFO] Netty/Testsuite ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.812s
[INFO] Finished at: Thu Jan 19 01:27:56 CET 2012
[INFO] Final Memory: 11M/125M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project netty-common: Compilation failure: Compilation failure:
[ERROR] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LegacyLinkedTransferQueue.java:[656,61] type parameters of <E>E cannot be determined; no unique maximal instance exists for type variable E with upper bounds E,java.lang.Object
[ERROR] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LegacyLinkedTransferQueue.java:[740,53] type parameters of <E>E cannot be determined; no unique maximal instance exists for type variable E with upper bounds E,java.lang.Object
[ERROR] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LegacyLinkedTransferQueue.java:[828,57] type parameters of <E>E cannot be determined; no unique maximal instance exists for type variable E with upper bounds E,java.lang.Object
[ERROR] /home/dennis/git/netty/common/src/main/java/io/netty/util/internal/LegacyLinkedTransferQueue.java:[881,65] type parameters of <E>E cannot be determined; no unique maximal instance exists for type variable E with upper bounds E,java.lang.Object
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :netty-common
dennis@denpc:~/git/netty$