You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Mantas Gridinas (Jira)" <ji...@apache.org> on 2020/06/13 07:56:00 UTC
[jira] [Created] (VELOCITY-929) Improper SLF4J dependency
Mantas Gridinas created VELOCITY-929:
----------------------------------------
Summary: Improper SLF4J dependency
Key: VELOCITY-929
URL: https://issues.apache.org/jira/browse/VELOCITY-929
Project: Velocity
Issue Type: Bug
Components: Engine
Affects Versions: 2.2
Reporter: Mantas Gridinas
Currently, velocity-engine-core defines a transitive dependency of "slf4j-api" as a compile time dependency, rather than a non-transitive compile time dependency as seen by snippet below
{code:xml}
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.30</version>
<scope>compile</scope>
</dependency>
{code}
Instead, the dependency's scope should be provided. This prevents classpath races and leaves it up to the user/developer to pull in the necessary slf4j API dependency for their project.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org