it seems really strange, but when I try to build a jar/war file with a mvn command 'mvn clean install' it says, that some functions in code (e.g. try-catch) is not supported in source 1.5., even if I use in my IDE Java 1.8 Library as source and everything will be executed perfectly in Eclipse.
Maven home: /usr/share/maven3
Java version: 1.8.0_91, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
What can be a problem?
Thanks a lot!