[MacPorts] #41944: maven-ant-tasks executing default mvn
MacPorts
noreply at macports.org
Fri Dec 27 08:11:28 PST 2013
#41944: maven-ant-tasks executing default mvn
------------------------+--------------------------------
Reporter: lynxluna@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: maven-ant-tasks
------------------------+--------------------------------
When Installing mvn-ant-tasks, the build script executes `mvn` from maven
packages. Maven has three versions available and the one that installed
automatically is `maven2` however it's not made default therefore `mvn`
command failed. This is the excerpt of the log:
{{{
:debug:build Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_devel_maven-ant-tasks/maven-ant-tasks/work
/maven-ant-tasks-2.1.3" && mvn package
:info:build sh: mvn: command not found
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_devel_maven-ant-tasks/maven-ant-tasks/work
/maven-ant-tasks-2.1.3" && mvn package
:info:build Exit code: 127
:error:build org.macports.build for port maven-ant-tasks returned: command
execution failed
}}}
Users need to activate manually to avoid such problem.
--
Ticket URL: <https://trac.macports.org/ticket/41944>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list