Sorry, this is actually looks like a feature.
Adding version to compiler plugin solves the trouble.Proper runtime is used then.
<plugin>
| <artifactId>maven-compiler-plugin</artifactId>
| <configuration>
| <source>1.6</source>
| <target>1.6</target>
| </configuration>
| </plugin>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244376#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...