GUACAMOLE-131: Migrate to Webjars for JavaScript library dependencies. Upgrade messageformat.js to 1.0.2, which is now MIT-licensed.

This commit is contained in:
Michael Jumper
2016-11-26 20:27:39 -08:00
parent 84a6dc8c48
commit 9175ebf5d0
93 changed files with 140 additions and 17235 deletions

View File

@@ -177,16 +177,11 @@
<jsFinalFile>guacamole.js</jsFinalFile>
<jsSourceFiles>
<jsSourceFile>lib/jquery/jquery.js</jsSourceFile>
<jsSourceFile>lib/angular/angular.min.js</jsSourceFile>
<jsSourceFile>lib/angular-module-shim/angular-module-shim.js</jsSourceFile>
<jsSourceFile>lib/messageformat/messageformat.js</jsSourceFile>
<jsSourceFile>license.txt</jsSourceFile>
<jsSourceFile>guacamole-common-js/all.js</jsSourceFile>
</jsSourceFiles>
<jsSourceIncludes>
<jsSourceInclude>lib/**/*.js</jsSourceInclude>
<jsSourceInclude>app/**/*.js</jsSourceInclude>
<jsSourceInclude>generated/**/*.js</jsSourceInclude>
</jsSourceIncludes>
@@ -214,7 +209,6 @@
<configuration>
<excludes>
<exclude>src/main/webapp/app/*/templates/*.html</exclude>
<exclude>src/main/webapp/lib/**/*.js</exclude>
<exclude>**/*.json</exclude>
</excludes>
</configuration>
@@ -288,6 +282,115 @@
<scope>runtime</scope>
</dependency>
<!-- WebJars servlet (for serving org.webjars.* resources) -->
<dependency>
<groupId>org.webjars</groupId>
<artifactId>webjars-servlet-2.x</artifactId>
<version>1.1</version>
</dependency>
<!-- Polyfills for the Blob and FileSaver APIs -->
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>blob-polyfill</artifactId>
<version>1.0.20150320</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>filesaver</artifactId>
<version>1.3.3</version>
<scope>runtime</scope>
</dependency>
<!-- Lodash -->
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>lodash</artifactId>
<version>2.4.1</version>
<scope>runtime</scope>
</dependency>
<!-- jQuery -->
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>jquery</artifactId>
<version>2.1.3</version>
<scope>runtime</scope>
</dependency>
<!-- AngularJS -->
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>angular</artifactId>
<version>1.3.16</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>angular-cookies</artifactId>
<version>1.3.16</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>angular-route</artifactId>
<version>1.3.16</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>angular-touch</artifactId>
<version>1.3.16</version>
<scope>runtime</scope>
</dependency>
<!-- Shim allowing arbitrary retrieval/creation order for AngularJS modules -->
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>angular-module-shim</artifactId>
<version>0.0.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>org.webjars.bower</groupId>
<artifactId>angular</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Translation support for AngularJS -->
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>angular-translate</artifactId>
<version>2.8.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>angular-translate-interpolation-messageformat</artifactId>
<version>2.8.0</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>org.webjars.bower</groupId>
<artifactId>messageformat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>messageformat</artifactId>
<version>1.0.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>angular-translate-loader-static-files</artifactId>
<version>2.8.0</version>
<scope>runtime</scope>
</dependency>
<!-- Jetty 8 servlet API (websocket) -->
<dependency>
<groupId>org.eclipse.jetty</groupId>