Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to complie in Ubuntu #25

Open
paganelle76 opened this issue Nov 8, 2024 · 2 comments
Open

Unable to complie in Ubuntu #25

paganelle76 opened this issue Nov 8, 2024 · 2 comments

Comments

@paganelle76
Copy link

Hello!
Trying to compile the IDE in Ubuntu 20.04LTS under conda environment.

~/git/gdlde$ java -version
openjdk version "22.0.1-internal" 2024-04-16
OpenJDK Runtime Environment (build 22.0.1-internal-adhoc.conda.src)
OpenJDK 64-Bit Server VM (build 22.0.1-internal-adhoc.conda.src, mixed mode, sharing)

ERROR:

Downloaded from central: https://repo.maven.apache.org/maven2/org/eclipse/jdt/ecj/3.35.0/ecj-3.35.0.jar (3.2 MB at 491 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/biz/aQute/bnd/biz.aQute.bndlib/7.0.0/biz.aQute.bndlib-7.0.0.jar (3.2 MB at 329 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/com/github/luben/zstd-jni/1.5.5-10/zstd-jni-1.5.5-10.jar (6.7 MB at 332 kB/s)
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.eclipse.tycho:tycho-maven-plugin:4.0.4 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.felix:org.apache.felix.scr:jar:2.2.6 (absent), org.bouncycastle:bcprov-jdk15on:jar:1.70 (absent): Could not transfer artifact org.apache.felix:org.apache.felix.scr:jar:2.2.6 from/to central (https://repo.maven.apache.org/maven2): Connection reset @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project gdlde:gdlde.tycho.configuration:1.0.1-SNAPSHOT (/home/ygonch/git/gdlde/pom.xml) has 1 error
[ERROR] Unresolveable build extension: Plugin org.eclipse.tycho:tycho-maven-plugin:4.0.4 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.felix:org.apache.felix.scr:jar:2.2.6 (absent), org.bouncycastle:bcprov-jdk15on:jar:1.70 (absent): Could not transfer artifact org.apache.felix:org.apache.felix.scr:jar:2.2.6 from/to central (https://repo.maven.apache.org/maven2): Connection reset -> [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

@paganelle76
Copy link
Author

UPD: I moved one step further but still unable to finish a compile:

[ERROR] Cannot resolve dependencies of product gdlde.product:
[ERROR] eclipse-plugin artifact with ID "javax.annotation" and version matching "0.0.0" was not found in the target platform
[ERROR] eclipse-plugin artifact with ID "javax.inject" and version matching "0.0.0" was not found in the target platform
[ERROR] eclipse-plugin artifact with ID "org.w3c.css.sac" and version matching "0.0.0" was not found in the target platform
[ERROR] eclipse-plugin artifact with ID "org.w3c.dom.events" and version matching "0.0.0" was not found in the target platform
[ERROR] eclipse-plugin artifact with ID "org.w3c.dom.smil" and version matching "0.0.0" was not found in the target platform
[ERROR] eclipse-plugin artifact with ID "org.w3c.dom.svg" and version matching "0.0.0" was not found in the target platform
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] gdlde.tycho.configuration 1.0.1-SNAPSHOT ........... SUCCESS [ 1.015 s]
[INFO] [aggregator] bundles 1.0.1-SNAPSHOT ................ SUCCESS [ 0.001 s]
[INFO] [bundle] GDL Workbench 0.0.1 ....................... SUCCESS [02:15 min]
[INFO] [product] GDL Workbench 1.0.0-SNAPSHOT ............. FAILURE [ 11.799 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:53 min
[INFO] Finished at: 2024-11-08T17:56:59-07:00
[INFO] ------------------------------------------------------------------------
[WARNING]
[WARNING] Plugin validation issues were detected in 3 plugin(s)
[WARNING]
[WARNING] * org.apache.maven.plugins:maven-site-plugin:3.12.1
[WARNING] * org.eclipse.tycho:tycho-p2-publisher-plugin:4.0.4
[WARNING] * org.apache.maven.plugins:maven-resources-plugin:2.4.3
[WARNING]
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
[WARNING]
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:4.0.4:publish-products (default-publish-products) on project gdlde.product: Publisher failed. Verify your target-platform-configuration and executionEnvironment are suitable for proper resolution: Cannot resolve dependencies of product gdlde.product. See log for details. -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :gdlde.product

@mzechmeister
Copy link

This seems to be the same problem as I posted 5 days ago (#24).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants