I am setting up a Maven project (works fine on windows) on Mac. When I run Maven install (via Eclipse) on the project I get the below error.
[INFO] Scanning for projects...
[INFO] Downloading: https://repo.maven.apache.org/maven2/com/americanexpress/javara/ra-components-jboss/6.0/ra-components-jboss-6.0.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com. americanexpress. merchant. gms. grd: grdhomeui: 1.0-SNAPSHOT (/Users/ psivapr/ git/ grd-ui/ pom.xml) has 1 error
[ERROR] Non-resolvable import POM: Could not transfer artifact com. americanexpress. javara: ra-components- jboss: pom: 6.0 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: unknown error # line 23, column 16: Unknown host repo.maven.apache.org: unknown error -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
Please let me know what I am missing.
Check your hosts file and DNS on the Mac workstation
The following error fragment:
unknown error # line 23, column 16: Unknown host repo.maven.apache.org
indicates that the repo.maven.aphache.org host is not being found on your Mac.
Check your hosts and DNS settings on the Mac, and make sure the site is reachable. There may be a network settings misconfiguration on your Mac that is not present on your Windows workstation.
Related
I try to configure Python for SNAP software. As it is recommanded in this forum (https://forum.step.esa.int/t/unable-to-install-snappy-jpy-problem/5372/28) I have installed maven and followed the steps :
brew install maven
cd jpy
python setup.py bdist_wheel
I get the following errors :
installing to build/bdist.macosx-10.9-x86_64/wheel
running install
running maven
Executing Maven goal 'package'
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-ssh/1.0-beta-7/wagon-ssh-1.0-beta-7.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-ssh:1.0-beta-7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-7 #
#
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jpy:jpy:0.10.0-SNAPSHOT (/Users/laura/jpy/pom.xml) has 1 error
[ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-ssh:1.0-beta-7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-7: Could not transfer artifact org.apache.maven.wagon:wagon-ssh:pom:1.0-beta-7 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-ssh/1.0-beta-7/wagon-ssh-1.0-beta-7.pom: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
Many topics raising a similar issue are solved by reconfiguring proxy or firewall. As I work on my own computer (macOS Catalina 10.15.7), without proxy or firewall, and as I don't have any knowledge of how it works, all help is welcome !
Thanks in advance,
I am teaching DSpace for MLIS students and when I give mvn package, I get the following error (file attached).
I try to install DSpace on Windows 7 with the following set of files. which in the past I have succeeded several times. As we could not upgrade the OS in the computer lab, I am stuck to teach the same installation, this time too.
jdk1.6.0_38,
apache-ant-1.9.2,
apache-maven-3.0.5,
apache tomcat 7.0,
dspace-3.2-src-release.
Kindly help me resolve.
The error log file:
C:\dspace\dspace-3.2-src-release\dspace>mvn package
[INFO] Scanning for projects...
Downloading: http://oss.sonatype.org/content/repositories/releases/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
Downloading: http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.dspace:dspace:3.2 (C:\dspace\dspace-3.2-src-release\dspace\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.dspace:dspace-parent:3.2: Could not transfer artifact org.sonatype.oss:oss-parent:pom:7 from/to sonatype-releases
(http://oss.sonatype.org/content/repositories/releases/): peer not authenticated and 'parent.relativePath' points at wrong local POM # org.dspace:dspace-parent:3.2, C:\dspace\dspace-3.2-src-release\pom.xml, line 17, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
C:\dspace\dspace-3.2-src-release\dspace>
I am trying to install Apache Ignite on EC2 (CentOS).
Downloaded latest Ignite src (2.0) and installed Java 1.8 and MVN.
Next tried to run (inside Ignite folder) MVN setup but is failing:
mvn clean package -DskipTests
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/apache/16/apache-16.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.ignite:ignite-parent:1: Could not transfer artifact org.apache:apache:pom:16 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.32.215] failed: Connection timed out (Connection timed out) and 'parent.relativePath' points at no local POM # org.apache.ignite:ignite-parent:1, /home/ec2-user/ignite/apache-ignite-2.0.0-src/parent/pom.xml, line 29, column 13
#
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.ignite:apache-ignite:2.0.0 (/home/ec2-user/ignite/apache-ignite-2.0.0-src/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.apache.ignite:ignite-parent:1: Could not transfer artifact org.apache:apache:pom:16 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.32.215] failed: Connection timed out (Connection timed out) and 'parent.relativePath' points at no local POM # org.apache.ignite:ignite-parent:1, /home/ec2-user/ignite/apache-ignite-2.0.0-src/parent/pom.xml, line 29, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
I am able to install same way on my Mac without this error. What could be a problem? Can MVN be set differently to avoid this error? Or is some issue with EC2/Apache Ignite compatibility? (I am not able to use AMI for Ignite since is not approved for usage within company network)
It's a problem with connection to maven repository, check if this repo accessible from your EC2 machine:
Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.32.215] failed: Connection timed out
It's not necessary to build Ignite from src on your server, you can download binaries and use them.
The easiest way to install ignite is :
download ZIP package from https://ignite.apache.org/
extract the content
run ignite_home/bin/ignite.sh
I have created a sample app (java liberty profile) on Bluemix.
When I try to build the app on Bluemix devops (I do not make changes to the code). I have this error msg :
Cloning the 'master' branch from repo 'https://P90MSG01:3041/git/abderrazak/sia-test-build'
[INFO] Scanning for projects...
[INFO] Downloading: http://repo.maven.apache.org/maven2/net/wasdev/maven/parent/java7-parent/1.4/java7-parent-1.4.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project net.wasdev.wlp.sample:JavaHelloWorldApp:1.0-SNAPSHOT (/home/pipeline/1366b39e-02e6-4b9d-bb71-89d6d65b202d/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact net.wasdev.maven.parent:java7-parent:pom:1.4 from/to central (http://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:80 [repo.maven.apache.org/151.101.44.215] failed: Connection refused and 'parent.relativePath' points at no local POM # line 5, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Finished: FAILED
Is there a reason ?
Thank you.
As per Bluemix Status Page today DevOps Delivery Pipeline service experienced some issues that should be fixed now. Some users experienced issues with pipeline jobs.
I suggest you to try again now, it should work.
I am trying to implement SSO feature and downloaded all projects and pom.xml from http://www.jasig.org/cas/download.
So, I got my maven project and then In eclipse I just did import as existing maven project.
then I Run the project as MVN CLEAN and it is not running and getting error as
[INFO] Scanning for projects...
Downloading: http://developer.ja-sig.org/maven2/org/jasig/parent/jasig-parent/21/jasig-parent-21.pom
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/org/jasig/parent/jasig-parent/21/jasig-parent-21.pom
Downloading: http://repo.maven.apache.org/maven2/org/jasig/parent/jasig-parent/21/jasig-parent-21.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jasig.cas:cas-server:3.5.0 (D:\CAS\Single Sign On\cas-server-3.5.0-release\cas-server-3.5.0\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact org.jasig.parent:jasig-parent:pom:21 from/to jasig-repository (http://developer.ja-sig.org/maven2): null to http://developer.ja-sig.org/maven2/org/jasig/parent/jasig-parent/21/jasig-parent-21.pom and 'parent.relativePath' points at wrong local POM # line 22, column 11: UnresolvedAddressException -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
some one told that it is proxy problem, so i changed settings.xml file to place proxy as
<proxy>
<id>123</id>
<active>true</active>
<protocol>http</protocol>
<username>abc.def#xyz.com</username>
<password>xyz1233</password>
<host>proxy.com</host>
<port>80</port>
<nonProxyHosts>google.com</nonProxyHosts>
</proxy>
still it is not running, can someone please pointout mistake?
Why not downloading jasig-parent from Maven central instead ?