SAP-samples / hana-shine-xsa

SAP HANA Interactive Education for SAP HANA Extended Application Services, Advanced Model (SHINE for XS Advanced) is an education content to learn, develop, and deploy SAP HANA XS Advanced Model application and is a successor of SHINE for XS Classic.
Apache License 2.0
115 stars 111 forks source link

nexus.wdf.sap.corp: Name or service not known #55

Closed batkanov closed 5 years ago

batkanov commented 5 years ago

Hello! I'm trying to build shine from https://github.com/SAP/hana-shine-xsa/tree/HANA2.0-SPS03-python because I need SHINE with Python runtime maven command: java -jar mta.jar --build-target=XSA --mtar=shine.mtar build

Unfortunately I've got such error:

INFO] Scanning for projects...
[INFO] Downloading from SAP repository: http://nexus.wdf.sap.corp:8081/nexus/content/groups/build.milestones/com/sap/refapps/sap-xsac-shine-parent/1.5.0/sap-xsac-shine-parent-1.5.0.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.sap.refapps:sap-xsac-shine-user-java:1.5.0: Could not transfer artifact com.sap.refapps:sap-xsac-shine-parent:pom:1.5.0 from/to SAP repository (http://nexus.wdf.sap.corp:8081/nexus/content/groups/build.milestones): nexus.wdf.sap.corp: Name or service not known and 'parent.relativePath' points at wrong local POM @ line 4, column 10
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project com.sap.refapps:sap-xsac-shine-user-java:1.5.0 (/hana/shared/HXE/HDB90/hana-shine-xsa/user-java/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for com.sap.refapps:sap-xsac-shine-user-java:1.5.0: Could not transfer artifact com.sap.refapps:sap-xsac-shine-parent:pom:1.5.0 from/to SAP repository (http://nexus.wdf.sap.corp:8081/nexus/content/groups/build.milestones): nexus.wdf.sap.corp: Name or service not known and 'parent.relativePath' points at wrong local POM @ line 4, column 10: Unknown host nexus.wdf.sap.corp: Name or service not known -> [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
Module "shine-web": invoking npm install --production
Module "shine-core-xsjs": invoking npm install --production
Module "shine-site-web": invoking npm install --production
ERROR: Failed to build module "shine-user-java". Command execution failed with exit code 1

Looks like nexus.wdf.sap.corp is unreachable.

nslookup nexus.wdf.sap.corp
Server:         169.254.169.254
Address:        169.254.169.254#53

** server can't find nexus.wdf.sap.corp: NXDOMAIN
bbiswal333 commented 5 years ago

Hi,

One of the java lib required for java module is not available in central maven . So to avoid java build issues, java module is now removed from https://github.com/SAP/hana-shine-xsa/tree/HANA2.0-SPS03-python branch. Hope your build will succeed now. If any issues please feel free to create/reopen the issue.

Thanks, Bismay

batkanov commented 5 years ago

I've successfully built shine.mtar! Thank you for help!