Opened 11 years ago

Closed 11 years ago

#41944 closed defect (duplicate)

maven-ant-tasks executing default mvn

Reported by: lynxluna (Didiet) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: maven-ant-tasks

Description

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.

Attachments (1)

maven-ant-tasks.log.txt (3.5 KB) - added by lynxluna (Didiet) 11 years ago.
Logfile

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by lynxluna (Didiet)

Attachment: maven-ant-tasks.log.txt added

Logfile

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Resolution: duplicate
Status: newclosed

Duplicate of #41513.

Note: See TracTickets for help on using tickets.