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-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to