I develop my product with Java and have test code written by Scala(Specs2). I wanted run test cases on my PC and Jenkins.
I have got some problems and solved by the following pom.xml. It works well. I hope this helps you.
Don't forget add "@RunWith(classOf[JUnitRunner])" to your xxxSpec class.
Software Engineer is(should be) a most efficient Problem Solver.
Showing posts with label java. Show all posts
Showing posts with label java. Show all posts
Jun 7, 2013
Apr 18, 2013
java: invalid flag: -target=1.6 intellij idea
When I ran my test cases, I got this message "error: java: invalid flag: -target=1.6". I search this -"target=1.6" phrase in my project. So I re installed Intellij idea and removed .idea directory and .iml file. But I got same messages.
Subscribe to:
Posts (Atom)
