| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
| http://maven.apache.org/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.apache.guacamole</groupId> |
| <artifactId>guacamole-auth-radius</artifactId> |
| <packaging>jar</packaging> |
| <version>1.5.0</version> |
| <name>guacamole-auth-radius</name> |
| <url>http://guacamole.apache.org/</url> |
| |
| <parent> |
| <groupId>org.apache.guacamole</groupId> |
| <artifactId>extensions</artifactId> |
| <version>1.5.0</version> |
| <relativePath>../</relativePath> |
| </parent> |
| |
| <build> |
| <plugins> |
| |
| <!-- Pre-cache Angular templates with maven-angular-plugin --> |
| <plugin> |
| <groupId>com.keithbranton.mojo</groupId> |
| <artifactId>angular-maven-plugin</artifactId> |
| <version>0.3.4</version> |
| <executions> |
| <execution> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>html2js</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <sourceDir>${basedir}/src/main/resources</sourceDir> |
| <include>**/*.html</include> |
| <target>${basedir}/src/main/resources/generated/templates-main/templates.js</target> |
| <prefix>app/ext/radius</prefix> |
| </configuration> |
| </plugin> |
| |
| <!-- JS/CSS Minification Plugin --> |
| <plugin> |
| <groupId>com.github.buckelieg</groupId> |
| <artifactId>minify-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>default-cli</id> |
| <configuration> |
| <charset>UTF-8</charset> |
| |
| <webappSourceDir>${basedir}/src/main/resources</webappSourceDir> |
| <webappTargetDir>${project.build.directory}/classes</webappTargetDir> |
| |
| <jsSourceDir>/</jsSourceDir> |
| <jsTargetDir>/</jsTargetDir> |
| <jsFinalFile>radius.js</jsFinalFile> |
| |
| <jsSourceFiles> |
| <jsSourceFile>license.txt</jsSourceFile> |
| </jsSourceFiles> |
| |
| <jsSourceIncludes> |
| <jsSourceInclude>**/*.js</jsSourceInclude> |
| </jsSourceIncludes> |
| |
| <!-- Do not minify and include tests --> |
| <jsSourceExcludes> |
| <jsSourceExclude>**/*.test.js</jsSourceExclude> |
| </jsSourceExcludes> |
| <jsEngine>CLOSURE</jsEngine> |
| |
| <!-- Disable warnings for JSDoc annotations --> |
| <closureWarningLevels> |
| <misplacedTypeAnnotation>OFF</misplacedTypeAnnotation> |
| <nonStandardJsDocs>OFF</nonStandardJsDocs> |
| </closureWarningLevels> |
| |
| </configuration> |
| <goals> |
| <goal>minify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <dependencies> |
| |
| <!-- Guacamole Extension API --> |
| <dependency> |
| <groupId>org.apache.guacamole</groupId> |
| <artifactId>guacamole-ext</artifactId> |
| <version>1.5.0</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Guava - Utility Library --> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </dependency> |
| |
| <!-- Guice --> |
| <dependency> |
| <groupId>com.google.inject</groupId> |
| <artifactId>guice</artifactId> |
| </dependency> |
| |
| <!-- Java servlet API --> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- JRadius Core Library --> |
| <dependency> |
| <groupId>net.jradius</groupId> |
| <artifactId>jradius-core</artifactId> |
| <version>1.1.5</version> |
| <exclusions> |
| |
| <!-- Force consistent versions of Apache Commons libraries (see below) --> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| </exclusion> |
| |
| <!-- Rely on Guacamole's existing use of logback rather than log4j --> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| |
| </exclusions> |
| </dependency> |
| |
| <!-- JRadius Dictionary, for accessing packet attributes --> |
| <dependency> |
| <groupId>net.jradius</groupId> |
| <artifactId>jradius-dictionary</artifactId> |
| <version>1.1.5</version> |
| </dependency> |
| |
| <!-- JRadius Extended, which inlcudes the SSL/TLS protocols --> |
| <dependency> |
| <groupId>net.jradius</groupId> |
| <artifactId>jradius-extended</artifactId> |
| <version>1.1.5</version> |
| </dependency> |
| |
| <!-- Force single, specific versions of Apache Commons libraries |
| (multiple dependencies reference multiple versions of these). --> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>1.2</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>3.2.2</version> |
| </dependency> |
| |
| </dependencies> |
| |
| </project> |