I am using Maven 2.x, Atlassian Bamboo with maven plugin my build jdk configuration is set to 1.6 and i don't have any jdk version enforced setting in pom.xml file.
When i compile project in my IDE it works fine but when i compile in bamboo it gives me following error.
I have already check my configured jdk version in task is 1.6 and i also tried to enforced jdk version from maven plugin in pom but didn't work as well. someone of you guys may have idea whats going on here ?
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
in -source 1.3
(use -source 5 or higher to enable generics)
List<String> matchedList = findMatchPhrase(keyword, expression);
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch