<modelVersion>4.0.0</modelVersion>
<groupId>net.sourceforge.guacamole</groupId>
- <artifactId>guacamole-default-webapp</artifactId>
+ <artifactId>guacamole</artifactId>
<packaging>war</packaging>
- <version>0.3.0-SNAPSHOT</version>
- <name>guacamole-default-webapp</name>
+ <version>0.6.0</version>
+ <name>guacamole</name>
<url>http://guacamole.sourceforge.net/</url>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
<build>
<plugins>
+
+ <!-- Written for 1.6 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<target>1.6</target>
</configuration>
</plugin>
- </plugins>
- <extensions>
- <!-- Required for SSH deploy -->
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-ssh-external</artifactId>
- </extension>
- </extensions>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+
+ <!-- Filter webapp dir -->
+ <webResources>
+ <resource>
+ <directory>src/main/webapp</directory>
+ <filtering>true</filtering>
+ </resource>
+ </webResources>
+
+ <!-- Add files from guacamole-common-js -->
+ <overlays>
+ <overlay>
+ <groupId>net.sourceforge.guacamole</groupId>
+ <artifactId>guacamole-common-js</artifactId>
+ <type>zip</type>
+ </overlay>
+ </overlays>
+
+ </configuration>
+ </plugin>
+ </plugins>
</build>
<dependencies>
+ <!-- Java servlet API -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<scope>provided</scope>
</dependency>
+ <!-- SLF4J - logging -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-jcl</artifactId>
+ <version>1.6.1</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- Guacamole Java API -->
<dependency>
<groupId>net.sourceforge.guacamole</groupId>
<artifactId>guacamole-common</artifactId>
- <version>0.3.0-SNAPSHOT</version>
- <scope>compile</scope>
+ <version>0.6.0</version>
+ </dependency>
+
+ <!-- Guacamole Authentication API -->
+ <dependency>
+ <groupId>net.sourceforge.guacamole</groupId>
+ <artifactId>guacamole-auth</artifactId>
+ <version>0.6.0</version>
+ </dependency>
+
+ <!-- Guacamole JavaScript API -->
+ <dependency>
+ <groupId>net.sourceforge.guacamole</groupId>
+ <artifactId>guacamole-common-js</artifactId>
+ <version>0.6.0</version>
+ <type>zip</type>
+ <scope>runtime</scope>
</dependency>
</dependencies>
<repositories>
+
+ <!-- Central Guacamole repository -->
<repository>
<id>guac-dev</id>
<url>http://guac-dev.org/repo</url>
</repository>
+
</repositories>
- <distributionManagement>
- <repository>
- <id>guac-dev</id>
- <url>scpexe://guac-dev.org/var/www/repo</url>
- </repository>
- </distributionManagement>
-
</project>