Setting scope of slf4j to provided.
[guacamole.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
4     <modelVersion>4.0.0</modelVersion>
5     <groupId>net.sourceforge.guacamole</groupId>
6     <artifactId>guacamole-default-webapp</artifactId>
7     <packaging>war</packaging>
8     <version>0.5.0</version>
9     <name>guacamole-default-webapp</name>
10     <url>http://guacamole.sourceforge.net/</url>
11
12     <properties>
13         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14     </properties>
15
16     <build>
17         <plugins>
18
19             <!-- Written for 1.6 -->
20             <plugin>
21                 <groupId>org.apache.maven.plugins</groupId>
22                 <artifactId>maven-compiler-plugin</artifactId>
23                 <configuration>
24                     <source>1.6</source>
25                     <target>1.6</target>
26                 </configuration>
27             </plugin>
28
29             <plugin>
30                 <groupId>org.apache.maven.plugins</groupId>
31                 <artifactId>maven-war-plugin</artifactId>
32                 <configuration>
33                     
34                     <!-- Filter webapp dir --> 
35                     <webResources>
36                         <resource>
37                             <directory>src/main/webapp</directory>
38                             <filtering>true</filtering>
39                         </resource>
40                     </webResources>
41                     
42                     <!-- Add files from guacamole-common-js -->
43                     <overlays>
44                         <overlay>
45                             <groupId>net.sourceforge.guacamole</groupId>
46                             <artifactId>guacamole-common-js</artifactId>
47                             <type>zip</type>
48                         </overlay>
49                     </overlays>
50                     
51                 </configuration>
52             </plugin>
53
54         </plugins>
55     </build>
56
57     <dependencies>
58
59         <!-- Java servlet API -->
60         <dependency>
61             <groupId>javax.servlet</groupId>
62             <artifactId>servlet-api</artifactId>
63             <version>2.5</version>
64             <scope>provided</scope>
65         </dependency>
66
67         <!-- SLF4J - logging -->
68         <dependency>
69             <groupId>org.slf4j</groupId>
70             <artifactId>slf4j-api</artifactId>
71             <version>1.6.1</version>
72             <scope>provided</scope>
73         </dependency>
74         <dependency>
75             <groupId>org.slf4j</groupId>
76             <artifactId>slf4j-jcl</artifactId>
77             <version>1.6.1</version>
78             <scope>runtime</scope>
79         </dependency>
80
81         <!-- Guacamole Java API -->
82         <dependency>
83             <groupId>net.sourceforge.guacamole</groupId>
84             <artifactId>guacamole-common</artifactId>
85             <version>0.4.0</version>
86             <scope>provided</scope>
87         </dependency>
88
89         <!-- Guacamole Authentication API -->
90         <dependency>
91             <groupId>net.sourceforge.guacamole</groupId>
92             <artifactId>guacamole-common-auth</artifactId>
93             <version>0.5.0</version>
94             <scope>provided</scope>
95         </dependency>
96
97         <!-- Guacamole JavaScript API -->
98         <dependency>
99             <groupId>net.sourceforge.guacamole</groupId>
100             <artifactId>guacamole-common-js</artifactId>
101             <version>0.4.0</version>
102             <type>zip</type>
103             <scope>runtime</scope>
104         </dependency>
105
106     </dependencies>
107
108     <repositories>
109         
110         <!-- Central Guacamole repository -->
111         <repository>
112             <id>guac-dev</id>
113             <url>http://guac-dev.org/repo</url>
114         </repository>
115         
116     </repositories>
117
118 </project>