Maven build [message #1854786] |
Sat, 10 September 2022 04:25  |
Eclipse User |
|
|
|
Hello
I've a dsl 'org.xtext.example.mydsla' that I want to use inside a standard maven application 'example-project'. During the build, the following error is raised:
Downloading from central: https://repo.maven.apache.org/maven2/org/osgi/org.osgi.util.measurement/1.0.2/org.osgi.util.measurement-1.0.2.eclipse-plugin
Downloading from central: https://repo.maven.apache.org/maven2/org/osgi/org.osgi.util.position/1.0.1/org.osgi.util.position-1.0.1.eclipse-plugin
Downloading from central: https://repo.maven.apache.org/maven2/org/osgi/org.osgi.util.promise/1.2.0/org.osgi.util.promise-1.2.0.eclipse-plugin
Downloading from central: https://repo.maven.apache.org/maven2/org/osgi/org.osgi.service.prefs/1.1.2/org.osgi.service.prefs-1.1.2.eclipse-plugin
Downloading from central: https://repo.maven.apache.org/maven2/org/osgi/org.osgi.util.function/1.2.0/org.osgi.util.function-1.2.0.eclipse-plugin
Downloading from central: https://repo.maven.apache.org/maven2/org/osgi/org.osgi.util.xml/1.0.2/org.osgi.util.xml-1.0.2.eclipse-plugin
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.854 s
[INFO] Finished at: 2022-09-10T10:22:22+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.xtext:xtext-maven-plugin:2.27.0:generate (default) on project example-project: Execution default of goal org.eclipse.xtext:xtext-maven-plugin:2.27.0:generate failed: Plugin org.eclipse.xtext:xtext-maven-plugin:2.27.0 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.osgi:org.osgi.util.promise:eclipse-plugin:1.2.0, org.osgi:org.osgi.service.prefs:eclipse-plugin:1.1.2, org.osgi:org.osgi.util.function:eclipse-plugin:1.2.0, org.osgi:org.osgi.util.measurement:eclipse-plugin:1.0.2, org.osgi:org.osgi.util.position:eclipse-plugin:1.0.1, org.osgi:org.osgi.util.xml:eclipse-plugin:1.0.2: Could not find artifact org.osgi:org.osgi.util.promise:eclipse-plugin:1.2.0 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
I'm using maven v 3.8.4
The downloads of the six dependencies at the bginning above looks strange to me...
Any help is welcome
kind regards,
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04262 seconds