Filter webapp/* so we don't have to hard-code the version number. Display version...
[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.4.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             <plugin>
20                 <groupId>org.apache.maven.plugins</groupId>
21                 <artifactId>maven-compiler-plugin</artifactId>
22                 <configuration>
23                     <source>1.6</source>
24                     <target>1.6</target>
25                 </configuration>
26             </plugin>
27
28             <plugin>
29                 <groupId>org.apache.maven.plugins</groupId>
30                 <artifactId>maven-war-plugin</artifactId>
31                 <configuration>
32                     
33                     <!-- Filter webapp dir --> 
34                     <webResources>
35                         <resource>
36                             <directory>src/main/webapp</directory>
37                             <filtering>true</filtering>
38                         </resource>
39                     </webResources>
40                     
41                     <!-- Add guacamole-common-js -->
42                     <overlays>
43                         <overlay>
44                             <groupId>net.sourceforge.guacamole</groupId>
45                             <artifactId>guacamole-common-js</artifactId>
46                             <type>zip</type>
47                         </overlay>
48                     </overlays>
49                     
50                 </configuration>
51             </plugin>
52
53         </plugins>
54
55         <extensions>
56             <!-- Required for SSH deploy -->
57             <extension>
58                 <groupId>org.apache.maven.wagon</groupId>
59                 <artifactId>wagon-ssh-external</artifactId>
60             </extension>
61         </extensions>
62
63     </build>
64
65     <dependencies>
66
67         <dependency>
68             <groupId>javax.servlet</groupId>
69             <artifactId>servlet-api</artifactId>
70             <version>2.5</version>
71             <scope>provided</scope>
72         </dependency>
73
74         <dependency>
75             <groupId>net.sourceforge.guacamole</groupId>
76             <artifactId>guacamole-common</artifactId>
77             <version>0.4.0</version>
78             <scope>compile</scope>
79         </dependency>
80
81         <dependency>
82             <groupId>net.sourceforge.guacamole</groupId>
83             <artifactId>guacamole-common-js</artifactId>
84             <version>0.4.0</version>
85             <type>zip</type>
86             <scope>runtime</scope>
87         </dependency>
88
89     </dependencies>
90
91     <repositories>
92         <repository>
93             <id>guac-dev</id>
94             <url>http://guac-dev.org/repo</url>
95         </repository>
96     </repositories>
97
98     <distributionManagement>
99         <repository>
100             <id>guac-dev</id>
101             <url>${guac-dev.dist.repo}</url>
102         </repository>
103     </distributionManagement>
104
105 </project>