[
http://jira.codehaus.org/browse/MINVOKER-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130619#action_130619
]
Paul Cager commented on MINVOKER-28:
------------------------------------
This was due to a bug in the Debian packaging of Maven2, which is now fixed.
There should have been a symlink from /usr/share/maven2 to /usr/bin/mvn.
The fix should percolate into Ubuntu in due course.
> Cant find mvn command
> ---------------------
>
> Key: MINVOKER-28
> URL: http://jira.codehaus.org/browse/MINVOKER-28
> Project: Maven 2.x Invoker Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Ubuntu Linux Gutsy Gibbon with the Maven 2.0.8 package
> from debian testing
> Reporter: Manfred Moser
> Attachments: invoker.log
>
>
> When running an invoker plugin build a null pointer exception occurs because
> the mvn command is not found with the above configuration. The issue is that
> the plugin assumes that the mvn command is in M2_HOME/bin. This is not the
> case with the maven debian package since it complies to the standards and has
> the mvn command in /usr/bin where as M2_HOME points to /usr/share/maven2/.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira