Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] "Failed to invoke Maven build" when executing release:prepare ?

Running release plugin from m2e is not supported and will never be.

Running release from eclipse workspace is a bad idea. Release artifacts
can be mangled if eclipse workspace build starts while release is
running. Personally, I have separate virtualbox linux vm to run releases
to make. If you absolutely have to run releases from the same checkout
as used by eclipse workspace, I'd recommend shutting down eclipse and
run release from command line.

--
Regards,
Igor

On 2014-07-06, 0:40, Cristiano Gavião wrote:
Hello,

I tried to call the release:prepare goal from m2e launch inside Luna
(ubuntu 64) and get the error below:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-release-plugin:2.5:prepare (default-cli)
on project org.lunifera.releng.maven.root: Failed to invoke Maven build.
Error configuring command-line. Reason: Maven executable not found at:
/home/cvgaviao/Development/C4Biz_Projects/Lunifera-Workspace/lunifera-releng-maven/EMBEDDED/bin/mvn
-> [Help 1]
[ERROR]

is there any workaround to run it or this goal is not supported by m2e?

Btw, when I execute the same goal but selecting an external maven
runtime instead of the EMBEDDED, it executes without problem.
unfortunately this approach is not portable.

regards,

Cristiano


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top