test classpath can be extended by extraordinary JAR. Did you see surefire documentation? It's described there.
On Tue, Oct 6, 2015 at 11:06 AM, Stian Soiland-Reyes-2 [via Maven] < [email protected]> wrote: > Hi! > > I'm developing a Maven plugin for a custom <packaging> > > https://github.com/stain/data-maven-plugin > > Is it possible for a plugin to add a JAR file to the test classpath? I've > tried to modify project.getArtifacts() from the INITIALIZATION stage, > without luck. > > Catch: the JAR file is the project artifact, and is made during the > compile > stage as I want to test it during the test stage. > > (The reason for this is that this plugin supports making ZIP archives of > data files, which could be large and therefore I want to avoid copying > them > to target/classes.) > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://maven.40175.n5.nabble.com/Modifying-test-classpath-from-Maven-plugin-tp5847294.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/Modifying-test-classpath-from-Maven-plugin-tp5847294p5847296.html Sent from the Maven Developers mailing list archive at Nabble.com.
