Project

General

Profile

Support #148

Compilation Error

Added by Benjamin LIPERE over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Immediate
Assignee:
Start date:
08/25/2022
Due date:
% Done:

0%

Estimated time:
0.05 h

Description

Hello.

The maven compilation on the server directory is failling because the test world is not found.

So I am starting from the VRspace root.
And I have this :

[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ parent ---
Downloading from central: https://repo.maven.apache.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
Downloading from central: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for VRSpace parent file 0.4.7-SNAPSHOT:
[INFO]
[INFO] VRSpace parent file ................................ FAILURE [ 32.041 s]
[INFO] server ............................................. SKIPPED
[INFO] babylon ............................................ SKIPPED
[INFO] content ............................................ SKIPPED
[INFO] web ................................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.960 s
[INFO] Finished at: 2022-08-25T20:17:25Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-install) on project parent: Execution default-install of goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install failed: Plugin org.apache.maven.plugins:maven-install-plugin:2.5.2 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-install-plugin:jar:2.5.2 -> org.apache.maven:maven-project:jar:2.2.1 -> org.apache.maven:maven-settings:jar:2.2.1 -> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 -> junit:junit:jar:3.8.1: Failed to read artifact descriptor for junit:junit:jar:3.8.1: Could not transfer artifact junit:junit:pom:3.8.1 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom: Unknown host repo.maven.apache.org: Temporary failure in name resolution -> [Help 1]
[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/PluginResolutionException

I think I have some requirements missing.
What does :
VRSpace parent file ................................ FAILURE
means, please ?

Does the GIT repo vrspace is self-sufficient ?
OpenJDK 11 and maven are installed.
Do I need to install NodeJS ?
Ubuntu 20.04.

Thanks by advance.
Best Regards.
Benjamin.

History

#1

Updated by Josip Almasi over 1 year ago

  • Status changed from New to Feedback

Here's your error:
Unknown host repo.maven.apache.org: Temporary failure in name resolution

Weird, but just try again :)

Good question about node.js. It should not be required, and is used only to build jsdocs. I have it installed everywhere, so it may have slipped by mistake. Please let me know if that's the case.
But all that you need to build is the server, so you can cd server and mvn clean install there.

#2

Updated by Josip Almasi over 1 year ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF