maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamás Cservenák (JIRA) <>
Subject [jira] (MINVOKER-107) mvn deploy of SNAPSHOT failed with maven3 when invoker:run look for current build dependency
Date Tue, 14 Aug 2012 11:32:22 GMT


Tamás Cservenák commented on MINVOKER-107:

Just for the record: I am able to regularly reproduce this bug in combination of Maven 3.0.3
and invoking {{deploy}} goal (I was baffled why it passes on me locally, and failing on CI:
simply, I was doing as usual {{mvn clean install}} and CI was doing {{mvn clean deploy}}).
This was stated above too by David.

OTOH, Maven 3.0.4 for me locally, does NOT triggers this bug, and the {{invoker:install} step
goes just fine.

So for me, workaround is to upgrade CI to Maven 3.0.4 (as for me locally {{mvn clean deploy}}
+ Maven 3.0.4 does not fails as doing same with Maven 3.0.3 does).

> mvn deploy of SNAPSHOT failed with maven3 when invoker:run look for current build dependency
> --------------------------------------------------------------------------------------------
>                 Key: MINVOKER-107
>                 URL:
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 1.5
>         Environment: Apache Maven 3.0 (r1004208; 2010-10-04 13:50:56+0200)
> Java version: 1.6.0_22
> Java home: /usr/lib/jvm/java-6-sun-
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-25-generic-pae" arch: "i386" Family: "unix"
>            Reporter: ludovic
>         Attachments: MINVOKER-107.diff
> When I build
on revision 1448, the build failed. r1449 is a workaround.
> the maven command is : mvn clean deploy
> the build failed when running plugin invoker:run with maven3 BUT succeed with maven2
> the failure is due of a missing artifact in the its local repository, the searched version
is a SNAPSHOT, the present version is a timestamped SNAPSHOT
> the dependency com.mycila.testing:mycila-testing-api:jar:2.6-SNAPSHOT is not found because
the invoker:install copy the SNAPSHOT with the timestamp during deploy. And then after during
the test, the dependency could not be found. The reason is because maven3 always deploy using
a timestamped version.
> @see
> ! workaround
> remove <localRepositoryPath>${}/local-repo</localRepositoryPath>
from the invoker configuration

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message