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
Eclipse project import crashs #4648
Comments
Hmmm ... maybe its my mistake?! I configure now a jdk8 for the eclipse workspace (before this I have only a jdk17 defined) ... the eclipse itselfs runs with opendjk 22. Now I can import the projects into eclipse but at the end I see everywhere: Could not update project swagger-annotations-jakarta configuration |
M2E Import doing some rounds ... now I have this final import state ... I'm not really sure if this is "okay". Any hint? Specially these warnings not really clear to me: Access "D:\Dev\git\privat\swagger-core" directory outside of project base directory. (org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources:default-resources:process-resources) And this error: Failed to execute mojo org.apache.maven.plugins:maven-dependency-plugin:3.6.1:copy-dependencies {execution: copy-deps} (org.apache.maven.plugins:maven-dependency-plugin:3.6.1:copy-dependencies:copy-deps:package) |
I found a temp. workaround! I commented out the 2 extra resources in main pom.xml and swagger-project-jakarta pom.xml
Then the import into eclipse works fine. These relative path's are a problem (for eclipse / m2e). I tried with:
Not working. I think for a always working setup this resource must be defined only once in top-level pom and the directory must be an absolute path, which is not possible with pure maven. But there is a plugin for such things: https://github.com/jdcasey/directory-maven-plugin. |
I'm trying to import latest version of swagger into eclipse for development ... but this fails wiith:
Anyone here with the same?
I'm using eclipse:
Spring Tool Suite 4
Version: 4.22.0.RELEASE
Build Id: 202403071427
Revision: 44291b464093d161f115d8e16059e5272ed3c81d
Lombok v1.18.32 "Envious Ferret" is installed. https://projectlombok.org/
m2e: 2.6.0.20240220-1109
The text was updated successfully, but these errors were encountered: