On 19/09/15 17:32, Andy Seaborne wrote:
On 19/09/15 16:04, Dave Reynolds wrote:
Importing current jena3 master into eclipse I get complaints about not
being able to find:

contract-test-maven-plugin:0.1.5:contract-test

I can mark that lifecyle phase to be ignored and get something that at
least seems to build but how is one supposed to set this up?

I have to ignore this in Eclipse.

Also what's the correct way to run the test suite from within eclipse
these days? For jena-core then org.apache.jena.test.TestPackage still
exists, is this still the correct entry point? Presumably that won't run
whatever it is that contract-test does?

It runs separately from contract-test. The POM has two test includes:

<includes>
     <include>org/apache/jena/test/TestPackage.java</include>
     <include>**/*_CS.java</include>
</includes>

*_CS are the contract tests.

What I do is run TestPackage in Eclipse, and then
"mvn test install -Pdev" from the command line when I have finished in
Eclipse.

"-Pdev" is a subset of the modules and skips the very long test suites.

The Jenkins test job will run the full tests quite quite soon after push
on master.

Thanks Andy, that's clear.

Dave

Reply via email to