[MacPorts] #50181: install maven-ant-tasks fails

MacPorts noreply at macports.org
Sun Mar 31 13:57:38 UTC 2019


#50181: install maven-ant-tasks fails
--------------------------------+--------------------------------
  Reporter:  alex.hanselmann@…  |      Owner:  macports-tickets@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.3.4
Resolution:                     |   Keywords:
      Port:  maven-ant-tasks    |
--------------------------------+--------------------------------
Description changed by mf2k:

Old description:

> 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).

New description:

 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).
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/50181#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list