[Maven 3.6.1 does not build PP] Build Fehler: javax.annotation Dependency nicht gefunden
See original GitHub issueHi,
auf meinem System bekomme ich leider folgenden Fehler beim Bauen:
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: name.abuchen.portfolio:name.abuchen.portfolio:0.39.2-SNAPSHOT @ /home/jb/git/portfolio/name.abuchen.portfolio/pom.xml
[INFO] Resolving dependencies of MavenProject: name.abuchen.portfolio:name.abuchen.portfolio:0.39.2-SNAPSHOT @ /home/jb/git/portfolio/name.abuchen.portfolio/pom.xml
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR] You requested to install 'osgi.bundle; javax.annotation 0.0.0' but it could not be found
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: name.abuchen.portfolio:name.abuchen.portfolio:0.39.2-SNAPSHOT @ /home/jb/git/portfolio/name.abuchen.portfolio/pom.xml: See log for details -> [Help 1]
Wie im Readme beschrieben, habe ich versucht das Projekt mit
export MAVEN_OPTS="-Xmx1g"
mvn clean verify -Dtycho.disableP2Mirrors
zu bauen.
Ein paar Detail zu meinem System:
OS: Arch Linux
Java: OpenJDK 8
Maven: 3.6.1
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Failed to execute goal org.apache.maven.plugins:maven ...
1. As we all know, class file not found error is when compiler is not able to find the class itself. So when...
Read more >[#ARROW-4298] [Java] Building Flight fails with OpenJDK 11
Building flight fails with [INFO] --- maven-compiler-plugin:3.6.2:compile ... class Generated location: package javax.annotation [INFO] 1 error To fix this, ...
Read more >Plugin faild to load when jsoup version updraded in pom.xml
Hi Experts,. When I update my jsoup dependency from 1.13.1 to 1.15.1 then my plugin is getting failed to load.
Read more >Cannot perform mvn clean install - OpenMRS Talk
I tried the quick fix suggested for 1 from the manual - installing “Maven Integration for Eclipse” from eclipse marketplace. I don't understand...
Read more >Solved: Re: Unable to install the new Java helper class in...
That might be because of one(or few) of the dependencies are not resolved new to bundle versions. ... <artifactId>build-helper-maven-plugin</artifactId>
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ich habe mal Maven 3.6.0 statt 3.6.1 installiert. Und 🎉 es funktioniert wieder! Das erklärt wohl auch, warum plötzlich alle Arch-Nutzer betroffen sind, denn da wurde das Paket am 22.05. aktualisiert.
Bevor wir zu schnell Schlüsse ziehen, werde ich noch einmal testen, dass es nichts mit der Änderung anMit der Änderung anMAVEN_OPTS
zu tun hat.MAVEN_OPTS
hat es scheinbar nichts zu tun. Das habe ich zum Testen noch einmal manuell genau so gesetzt wie es vorher war. Es ist also ziemlich sicher eine Regression in Maven 3.6.1.Jup, das scheint wirklich ein Bug v. 3.6.1 zu sein…
https://bugs.eclipse.org/bugs/show_bug.cgi?id=546463 https://bugs.eclipse.org/bugs/show_bug.cgi?id=545872