[java-identity-provider COMMIT] /trunk/idp-distribution/pom.xml

noreply at shibboleth.net noreply at shibboleth.net
Tue Sep 2 14:19:13 EDT 2014


Author: tzeller
Date: Tue Sep  2 14:19:12 2014
New Revision: 6496

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6496&view=rev
Log:
JPAR-57 Add runtime logging dependencies to war/WEB-INF/lib/.

Modified:
    trunk/idp-distribution/pom.xml

Modified: trunk/idp-distribution/pom.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-distribution/pom.xml?rev=6496&r1=6495&r2=6496&view=diff
==============================================================================
--- trunk/idp-distribution/pom.xml (original)
+++ trunk/idp-distribution/pom.xml Tue Sep  2 14:19:12 2014
@@ -48,7 +48,6 @@
         </dependency>
         <!-- Required if you're using classes from the security package. -->
         <dependency>
-            <!-- Required if you're using classes from the security package. -->
             <groupId>org.bouncycastle</groupId>
             <artifactId>bcpkix-jdk15on</artifactId>
             <optional>true</optional>
@@ -66,7 +65,23 @@
             <version>1.9.4</version>
             <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 -->
 
         <!-- Managed Dependencies -->
@@ -189,6 +204,31 @@
                                 </artifactItem>
                             </artifactItems>
                             <outputDirectory>${assembly-directory}/utils-lib/</outputDirectory>
+                        </configuration>
+                    </execution>
+                    <!-- Copy logging dependencies to WEB-INF/lib directory. -->
+                    <execution>
+                        <id>copy-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>${slf4j.groupId}</groupId>
+                                    <artifactId>jcl-over-slf4j</artifactId>
+                                </artifactItem>
+                            </artifactItems>
+                            <outputDirectory>${assembly-directory}/war/WEB-INF/lib/</outputDirectory>
                         </configuration>
                     </execution>
                 </executions>



More information about the commits mailing list