Robert,
thanks for your quick reply
it seems to me that it does not work

I am trying with something link:
mvn verify -Dinvoker.test=massembly-201 -Prun-its


[INFO] --- maven-invoker-plugin:3.0.1:integration-test
(integration-test) @ maven-assembly-plugin ---
[INFO] No projects were selected for execution.
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-assembly-plugin ---
[INFO]
[INFO] --- maven-invoker-plugin:3.0.1:verify (integration-test) @
maven-assembly-plugin ---
[INFO] No invoker report files found, nothing to check.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.178 s
[INFO] Finished at: 2018-12-15T16:19:24+01:00
[INFO] Final Memory: 50M/787M


without "run-its" profile invoker is not activated at all

and anyway I see "surefire" is running unit tests

(I am with mvn 3.6.0, but I guess it is not so important)

Enrico


Il giorno sab 15 dic 2018 alle ore 16:19 Robert Scholte
<[email protected]> ha scritto:
>
> Assuming this IT is executed by the maven-invoker-plugin, try
> invoker.test[1], i.e. :
>
> mvn verify -Dinvoker.test=MASSEMBLY-XXX*
>
> [1]
> https://maven.apache.org/plugins/maven-invoker-plugin/run-mojo.html#invokerTest
>
> On Sat, 15 Dec 2018 16:17:10 +0100, Enrico Olivelli <[email protected]>
> wrote:
>
> > Hi,
> > I am working on an issue on maven-assembly plugin.
> > which is the better way to run only a single integration test ?
> >
> > Is there any standard practice across plugins ?
> >
> > Enrico
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to