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
Adjust Tycho build to latest Tycho version. #5
Comments
@tobirobi `[INFO] --------------------< org.agentgui:de.enflexit.api >-------------------- Untracked files: [WARNING] Fallback to default timestamp provider |
Maybe because I didn't push api_docs.html? |
I could solve the above build problem by completely deleting the local maven repository (in USER_DIR/.m2/repository/). It seems that some maven downloaded jar-files were corrupted and thus the build process failed. Instead I have a new problem during the build process with the creation of the JavaDoc, the following error occurs:
... which indictates that the element-list dir of file could not be found Any idea? |
If you used OpenJDK 11 maybe, because of this bug? These developers had a similiar problem, but with gradle. |
The problem occurs because Maven does not use the default JDK of the Eclipse environment for creating JavaDoc. Instead, it uses the JDK defined in the JAVA_HOME variable. To solve this problem, Maven toolchains are required. With Maven Toolchains applied to JDK toolchain, a project can now be built using a specific version of JDK independent from the one Maven is running with. The disadvantages of this solution is, that a toolchain.xml is with the path of the different jdks is required. The toolchain.xml file should look like this: The vendor and version of the JDK must be specified within the configuration of the maven-toolchains-plugin, which lies in the configuration pom of the project. |
Ok, the above is one solution, but it would require a customization on each system, which I definitely would not prefer. The solution that finally worked for me: Problem: Solution:
|
=> see https://wiki.eclipse.org/Tycho/Release_Notes
The text was updated successfully, but these errors were encountered: