Comments (7)
Thank you! I will analyze the behavior of Netbeans. Maybe I'm going to remove the ZIP archive from Maven Central Repository.
from tinylog.
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. On my computer, Netbeans leaves the type
empty and downloads the tinylog JAR.
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.
from tinylog.
Solved with release of tinylog 1.3 rc1.
from tinylog.
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 <type>zip</type>
to <type>jar</type>
<dependency>
<groupId>org.tinylog</groupId>
<artifactId>tinylog</artifactId>
<version>1.2</version>
<type>jar</type>
</dependency>
from tinylog.
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:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>example</groupId>
<artifactId>app</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.tinylog</groupId>
<artifactId>tinylog</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
</project>
tinylog files downloaded by Maven:
tinylog-1.2.jar
tinylog-1.2.jar.sha1
tinylog-1.2.pom
tinylog-1.2.pom.sha1
Did you write <type>zip</type>
in your pom.xml
before? In this case it would be correct that Maven has downloaded a ZIP file as it was requested. Usually I don't define the type, because Maven chooses JAR by default.
from tinylog.
Thanks for the reply.
NetBeans 8.2 (all plugins updated as of today)
Maven 3.5.0
maven-dependency-plugin:2.6
maven-resources-plugin:2.6
maven-compiler-plugin:3.1
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 <type>
, which Eclipse does not do.
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.
from tinylog.
This closed issue has been locked automatically. However, please feel free to file a new issue.
from tinylog.
Related Issues (20)
- Support Garbage-free๏ผ HOT 1
- slf4j 2.0.3 + Lombok: logging class always resolved to org.slf4j.spi.DefaultLoggingEventBuilder HOT 3
- Dependency Dashboard
- Load new configuration level and TAG at RunTime HOT 11
- Change Logger level at runtime HOT 4
- Can the animal-sniffer-annotations dependency scope be changed to "provided" on tinylog-impl? HOT 1
- Open file descriptors when using multiple tagged loggers with a collective configuration HOT 4
- Error log is slower than others HOT 4
- Log to separate log files using tinyLog HOT 3
- Tinylog.org only has Javadoc for tinylog-api HOT 1
- Ability to apply specific writer HOT 1
- Structured logging HOT 2
- Ability to use SLF4J Logger's name as tag HOT 2
- Class name stripping after dollar sign $ HOT 1
- Add overloaded "isEnabled" method that takes loggerClassName instead of callerDepth HOT 1
- org.slf4j.LoggerFactory.getLogger fails with java.lang.NoClassDefFoundError: org/slf4j/spi/LoggingEventAware after upgrading to 2.6.0 HOT 3
- more verbose than necessary HOT 3
- Multiple Log Files created when rollover is initiated HOT 1
- Trying to use thread placeholder on Rolling File writer HOT 3
- tinylog not logging some messages when used via SLF4J 2.0 fluent API HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinylog.