Skip to main content
Improve wording and punctuation
Source Link
kriegaex
  • 68.5k
  • 15
  • 120
  • 229

Like I said in the other question, you should get rid of the Build Helper plugin because Maven will recognise your src/test/groovy automatically (well,- at least, as long as youyour src/test/java is not completely empty). AlsoMoreover, the Surefire plugin is over-specified as, like I also told you before. You should keep your build files small and only include what is needed.

But the real problem is that your Groovy Eclipse batch compiler is version 3.0.3 while you use Groovy version 2.5.11. Just downgrade that one dependency to fit your Groovy version, and your test runs normally. Or go the other way, upgrade Groovy and Spock to 3.0. Anyway, changing this line fixes your build:

<groovy-eclipse-batch.version>2.5.11-01</groovy-eclipse-batch.version> 

Like I said in the other question, you should get rid of the Build Helper plugin because Maven will recognise your src/test/groovy automatically (well, at least as long as you src/test/java is not completely empty). Also the Surefire plugin is over-specified as I also told you before. You should keep your build files small and only include what is needed.

But the real problem is that your Groovy Eclipse batch compiler is version 3.0.3 while you use Groovy version 2.5.11. Just downgrade that one dependency to fit your Groovy version and your test runs normally. Or go the other way, upgrade Groovy and Spock to 3.0. Anyway, changing this line fixes your build:

<groovy-eclipse-batch.version>2.5.11-01</groovy-eclipse-batch.version> 

Like I said in the other question, you should get rid of the Build Helper plugin because Maven will recognise your src/test/groovy automatically - at least, as long as your src/test/java is not completely empty. Moreover, the Surefire plugin is over-specified, like I also told you before. You should keep your build files small and only include what is needed.

But the real problem is that your Groovy Eclipse batch compiler is version 3.0.3 while you use Groovy version 2.5.11. Just downgrade that one dependency to fit your Groovy version, and your test runs normally. Or go the other way, upgrade Groovy and Spock to 3.0. Anyway, changing this line fixes your build:

<groovy-eclipse-batch.version>2.5.11-01</groovy-eclipse-batch.version> 
added 72 characters in body
Source Link
kriegaex
  • 68.5k
  • 15
  • 120
  • 229

Like I said in the other question, you should get rid of the Build Helper plugin because Maven will recognise your src/test/groovy automatically (well, at least as long as you src/test/java is not completely empty). Also the Surefire plugin is over-specified as I also told you before. You should keep your build files small and only include what is needed.

But the real problem is that your Groovy Eclipse batch compiler is version 3.0.3 while you use Groovy version 2.5.11. Just downgrade that one dependency to fit your Groovy version and your test runs normally. Or go the other way, upgrade Groovy and Spock to 3.0. Anyway, changing this line fixes your build:

<groovy-eclipse-batch.version>2.5.11-01</groovy-eclipse-batch.version> 

Like I said in the other question, you should get rid of the Build Helper plugin because Maven will recognise your src/test/groovy automatically. Also the Surefire plugin is over-specified as I also told you before. You should keep your build files small and only include what is needed.

But the real problem is that your Groovy Eclipse batch compiler is version 3.0.3 while you use Groovy version 2.5.11. Just downgrade that one dependency to fit your Groovy version and your test runs normally. Or go the other way, upgrade Groovy and Spock to 3.0. Anyway, changing this line fixes your build:

<groovy-eclipse-batch.version>2.5.11-01</groovy-eclipse-batch.version> 

Like I said in the other question, you should get rid of the Build Helper plugin because Maven will recognise your src/test/groovy automatically (well, at least as long as you src/test/java is not completely empty). Also the Surefire plugin is over-specified as I also told you before. You should keep your build files small and only include what is needed.

But the real problem is that your Groovy Eclipse batch compiler is version 3.0.3 while you use Groovy version 2.5.11. Just downgrade that one dependency to fit your Groovy version and your test runs normally. Or go the other way, upgrade Groovy and Spock to 3.0. Anyway, changing this line fixes your build:

<groovy-eclipse-batch.version>2.5.11-01</groovy-eclipse-batch.version> 
Source Link
kriegaex
  • 68.5k
  • 15
  • 120
  • 229

Like I said in the other question, you should get rid of the Build Helper plugin because Maven will recognise your src/test/groovy automatically. Also the Surefire plugin is over-specified as I also told you before. You should keep your build files small and only include what is needed.

But the real problem is that your Groovy Eclipse batch compiler is version 3.0.3 while you use Groovy version 2.5.11. Just downgrade that one dependency to fit your Groovy version and your test runs normally. Or go the other way, upgrade Groovy and Spock to 3.0. Anyway, changing this line fixes your build:

<groovy-eclipse-batch.version>2.5.11-01</groovy-eclipse-batch.version>