-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Can not add Tinylog to Maven project because the dependency is a .zip on Maven Central #55
Comments
Doing a manual install to the local repository works, but might not be the best solution. Update: The following workaround fetches the artifact from Maven Central and installs correctly: Add the dependency to pom.xml but change
|
Which IDE and Maven version are you using? I have tried to reproduce the problem with a clean and empty Maven repository. Maven 3.3.3 on Eclipse has automatically fetched and downloaded the tinylog JAR and no ZIP file. My POM:
tinylog files downloaded by Maven:
Did you write |
Thanks for the reply. NetBeans 8.2 (all plugins updated as of today) When you right-click on Dependencies in the Project window and click Add Dependency... to add in Tinylog, it is possible NetBeans is filling in an inappropriate My workaround was to change the type in the Add dependency dialog from the default of zip to jar after I ran the query to download Tinylog from the Maven Central remote repository. |
Thank you! I will analyze the behavior of Netbeans. Maybe I'm going to remove the ZIP archive from Maven Central Repository. |
I just tested it on my computer with Netbeans 8.2. Fresh download from: https://netbeans.org/downloads/start.html?platform=zip&lang=en&option=javase. Update: Netbeans uses ZIP type, if you use the search, but the default JAR type, if you use the autocomplete function in the form itself. |
Solved with release of tinylog 1.3 rc1. |
This closed issue has been locked automatically. However, please feel free to file a new issue. |
It is not possible to add Tinylog 1.2 to a Maven-based project since Maven does not set dependencies to the classpath correctly when they are in .zip format.
Would it be possible to upload a .jar to Maven Central please?
Thanks for the project and your time.
The text was updated successfully, but these errors were encountered: