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)
Change History (10)
Changed 9 years ago by alex.hanselmann@…
Changed 9 years ago by alex.hanselmann@…
Attachment: | manual_run added |
---|
manual execution of failed command with JAVA_HOME set
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: | new → closed |
log of install maven-ant-tasks