[java-idp-example-jetty-base] 04/04: Copy runtime logging dependencies to jetty-base/lib/logging/.

Tom Zeller tzeller at dragonacea.biz
Mon May 23 16:13:51 EDT 2016


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch 9.2
in repository java-idp-example-jetty-base.

commit f6f0284587495ce426499ba658b4293a7e49534a
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Mon May 23 13:00:50 2016 -0500

    Copy runtime logging dependencies to jetty-base/lib/logging/.
---
 pom.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/pom.xml b/pom.xml
index 54f940b..fc0f483 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,6 +34,22 @@
             <optional>true</optional>
             <scope>runtime</scope>
         </dependency>
+        <!-- Logging dependencies. https://issues.shibboleth.net/jira/browse/JPAR-57 -->
+        <dependency>
+            <groupId>ch.qos.logback</groupId>
+            <artifactId>logback-classic</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>ch.qos.logback</groupId>
+            <artifactId>logback-core</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>${slf4j.groupId}</groupId>
+            <artifactId>jcl-over-slf4j</artifactId>
+            <scope>runtime</scope>
+        </dependency>
 
         <!-- Test Dependencies -->
 
@@ -65,6 +81,35 @@
                             </artifactItems>
                         </configuration>
                     </execution>
+                    <!-- Copy logging dependencies to jetty-base/lib/logging/ directory. -->
+                    <execution>
+                        <id>copy-jetty-logging-dependencies</id>
+                        <phase>prepare-package</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>ch.qos.logback</groupId>
+                                    <artifactId>logback-classic</artifactId>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>ch.qos.logback</groupId>
+                                    <artifactId>logback-core</artifactId>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>ch.qos.logback</groupId>
+                                    <artifactId>logback-access</artifactId>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>${slf4j.groupId}</groupId>
+                                    <artifactId>jcl-over-slf4j</artifactId>
+                                </artifactItem>
+                            </artifactItems>
+                            <outputDirectory>${project.build.outputDirectory}/jetty-base/lib/logging/</outputDirectory>
+                        </configuration>
+                    </execution>
                 </executions>
             </plugin>
         </plugins>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list