Hello Tibor,

thank you for solving the mistery :-) I will put together a PR to fix the
IT.

Regards,
Benedikt

Tibor Digana <[email protected]> schrieb am Do., 8. Sep. 2016 um 22:08:

> This is obviously a bug and junit.version should be used.
> If you type "unpack().debugLogging()." in the IT you will see that the
> classpath contains junit-4.4 instead of the providing one.
> There are several such cases but not all ITs alter the version.
>
> On Wed, Sep 7, 2016 at 9:10 PM, Benedikt Ritter [via Maven] <
> [email protected]> wrote:
>
> > Hi surefire devs,
> >
> > I don't understand how the Junit4VersionsIT sets the JUnit version to use
> > during testing. The version is set as sysProp "junit.version" on
> > mavenLauncher, but the test pom.xml in the resources/junit4 folder
> > uses ${junitVersion} to set the JUnit version. How does this work? Does
> > maven automatically convert between the two property keys?
> >
> > Regards,
> > Benedikt
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
> > below:
> >
> http://maven.40175.n5.nabble.com/SUREFIRE-How-does-Junit4VersionsIT-work-
> > tp5880159.html
> > To start a new topic under Maven Developers, email
> > [email protected]
> > To unsubscribe from Maven Developers, click here
> > <
> http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=142166&code=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg==
> >
> > .
> > NAML
> > <
> http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Re-SUREFIRE-How-does-Junit4VersionsIT-work-tp5880204.html
> Sent from the Maven Developers mailing list archive at Nabble.com.

Reply via email to