You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/10/19 10:37:50 UTC

[jira] Resolved: (SLING-68) Compile fails for sling-sample due to missing dependencies

     [ https://issues.apache.org/jira/browse/SLING-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved SLING-68.
------------------------------------

    Resolution: Fixed

Actually, the Sling taglib requires SLF4J for logging. The tag lib is used by the JSP scripts in the sample project which are compiled using the Sling Maven JspC plugin and therefore for the compilation the SLF4J library needs to be present.

Instead of the proposed Sling Log dependency I added SLF4J simple as a provided dependency to not inject a transitive dependency.

Please confirm whether it works for you, such that issue may be closed. Thanks.

Fixed in Rev. 586326.

> Compile fails for sling-sample due to missing dependencies
> ----------------------------------------------------------
>
>                 Key: SLING-68
>                 URL: https://issues.apache.org/jira/browse/SLING-68
>             Project: Sling
>          Issue Type: Bug
>         Environment: Mac OS X, Java 1.5, Maven 2.0.7
>            Reporter: Lars Trieloff
>            Assignee: Felix Meschberger
>            Priority: Minor
>         Attachments: sling-sample-logging-dependency.patch
>
>
> The JSP refers to slf4j, which is available at runtime in the container, but not at compile time. This leads to compilation problems.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.