Opened 9 years ago

Closed 5 years ago

#50181 closed defect (fixed)

install maven-ant-tasks fails

Reported by: alex.hanselmann@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: maven-ant-tasks

Description (last modified by mf2k (Frank Schima))

On my OS X 11.1.2 System with Xcode 7.2 installof maven-ant-tasks fails due to maven cannot find jarfile on server. From first attachment:

:info:build [INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.maven:maven-ant-tasks:jar:2.1.3
Reason: Cannot find parent: org.apache.maven:maven-parent for project: org.apache.maven:maven-ant-tasks:jar:2.1.3 for project org.apache.maven:maven-ant-tasks:jar:2.1.3

Second Attachment shows that everything works if following cmd is executed manually:

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" && mvn2 package. Here JAVA_HOME is set manually to /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home (Oracle Java SDK).

Attachments (4)

main.log (11.4 KB) - added by alex.hanselmann@… 9 years ago.
log of install maven-ant-tasks
manual_run (4.7 KB) - added by alex.hanselmann@… 9 years ago.
manual execution of failed command with JAVA_HOME set
runwoJAVAHOMESET (10.5 KB) - added by alex.hanselmann@… 9 years ago.
run without JAVA_HOME externally set to newest SDK after clean all
runwithJAVEHOME (15.7 KB) - added by alex.hanselmann@… 9 years ago.
main.log after clean install with JAVA_HOME set to oracle folder

Download all attachments as: .zip

Change History (10)

Changed 9 years ago by alex.hanselmann@…

Attachment: main.log added

log of install maven-ant-tasks

Changed 9 years ago by alex.hanselmann@…

Attachment: manual_run added

manual execution of failed command with JAVA_HOME set

comment:1 Changed 9 years ago by alex.hanselmann@…

OS X Version is 10.11.2

Last edited 9 years ago by alex.hanselmann@… (previous) (diff)

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

The main.log file you attached is not from a clean build attempt. Please clean and try again and attach the new main.log file if it still fails.

Changed 9 years ago by alex.hanselmann@…

Attachment: runwoJAVAHOMESET added

run without JAVA_HOME externally set to newest SDK after clean all

Changed 9 years ago by alex.hanselmann@…

Attachment: runwithJAVEHOME added

main.log after clean install with JAVA_HOME set to oracle folder

comment:3 Changed 9 years ago by alex.hanselmann@…

Problem persists. Jave Installation in /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home (and JAVA_HOME set to this) changes error message as described in the ticket.

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Thank for the clean log.

MacPorts intentionally ignores most environment variables you set, such as JAVA_HOME.

comment:5 Changed 6 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:6 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Resolution: fixed
Status: newclosed

In 493ec90efd3be0db81ca988968486eecb5b58fdd/macports-ports (master):

maven-ant-tasks: delete port

Upstream project is no longer maintained. Port has build failures,
and depends on maven2 which is EOL. No dependents.

Closes: #41876
Closes: #50181

Note: See TracTickets for help on using tickets.