pom.xml revision b32c0dd7785e18532eafc88e1b7a305198489d46
0N/A<?xml version="1.0" encoding="UTF-8"?>
994N/A<!--
0N/A * The contents of this file are subject to the terms of the Common Development and
0N/A * Distribution License (the License). You may not use this file except in compliance with the
0N/A * License.
0N/A *
553N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
0N/A * specific language governing permission and limitations under the License.
553N/A *
0N/A * When distributing Covered Software, include this CDDL Header Notice in each file and include
0N/A * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
0N/A * Header, with the fields enclosed by brackets [] replaced by your own identifying
0N/A * information: "Portions copyright [year] [name of copyright owner]".
0N/A *
0N/A * Copyright 2015-2016 ForgeRock AS.
0N/A-->
0N/A<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/xsd/maven-4.0.0.xsd">
0N/A <modelVersion>4.0.0</modelVersion>
0N/A <parent>
0N/A <groupId>org.forgerock.openam</groupId>
553N/A <artifactId>openam-ui</artifactId>
553N/A <version>14.0.0-SNAPSHOT</version>
553N/A </parent>
0N/A
0N/A <artifactId>openam-ui-ria</artifactId>
0N/A <name>OpenAM RIA Web UI</name>
0N/A <packaging>pom</packaging>
0N/A
0N/A <properties>
0N/A <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
0N/A <codemirror.version>4.10</codemirror.version>
0N/A <handlebars.version>3.0.3</handlebars.version>
0N/A <node.install.directory>${project.basedir}</node.install.directory>
0N/A </properties>
0N/A
0N/A <dependencies>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui</groupId>
0N/A <artifactId>forgerock-ui-user</artifactId>
0N/A <type>zip</type>
0N/A <classifier>www</classifier>
0N/A </dependency>
0N/A <dependency>
139N/A <groupId>org.mozilla</groupId>
139N/A <artifactId>rhino</artifactId>
139N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>selectize-non-standalone</artifactId>
0N/A <version>0.12.1</version>
139N/A <classifier>min</classifier>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>text</artifactId>
0N/A <version>2.0.15</version>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
139N/A <groupId>org.forgerock.commons.ui.libs</groupId>
139N/A <artifactId>sifter</artifactId>
139N/A <version>0.4.1</version>
139N/A <classifier>min</classifier>
139N/A <type>js</type>
139N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>microplugin</artifactId>
0N/A <version>0.0.3</version>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>qrcode</artifactId>
0N/A <version>1.0.0</version>
0N/A <classifier>min</classifier>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>jquery-nestingSortable</artifactId>
0N/A <version>0.9.12</version>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>jsoneditor</artifactId>
0N/A <version>0.7.9</version>
0N/A <classifier>min</classifier>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>bootstrap-tabdrop</artifactId>
0N/A <version>1.0</version>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>CodeMirror</artifactId>
0N/A <version>${codemirror.version}</version>
0N/A <type>zip</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>bootstrap-clockpicker</artifactId>
0N/A <version>0.0.7</version>
0N/A <classifier>min</classifier>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
1030N/A <groupId>org.forgerock.commons.ui.libs</groupId>
1030N/A <artifactId>bootstrap-clockpicker</artifactId>
1030N/A <version>0.0.7</version>
1030N/A <classifier>min</classifier>
0N/A <type>css</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>bootstrap-datetimepicker</artifactId>
0N/A <version>4.14.30</version>
0N/A <classifier>min</classifier>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>bootstrap-datetimepicker</artifactId>
0N/A <version>4.14.30</version>
0N/A <classifier>min</classifier>
0N/A <type>css</type>
0N/A </dependency>
0N/A <dependency>
0N/A <!-- handlebars need for fix the processing dependencies in the release build -->
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>handlebars</artifactId>
0N/A <version>${handlebars.version}</version>
0N/A <type>js</type>
0N/A <classifier>min</classifier>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>redux</artifactId>
0N/A <version>3.5.2</version>
0N/A <classifier>min</classifier>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
792N/A <artifactId>react-bootstrap</artifactId>
792N/A <version>0.30.1</version>
0N/A <classifier>min</classifier>
765N/A <type>js</type>
765N/A </dependency>
792N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>classnames</artifactId>
0N/A <version>2.2.5</version>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>react-input-autosize</artifactId>
0N/A <version>1.1.0</version>
0N/A <classifier>min</classifier>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>react-select</artifactId>
0N/A <version>1.0.0-rc.2</version>
0N/A <classifier>min</classifier>
0N/A <type>js</type>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>react-select</artifactId>
0N/A <version>1.0.0-rc.2</version>
0N/A <classifier>min</classifier>
0N/A <type>css</type>
0N/A </dependency>
0N/A
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>sinon</artifactId>
0N/A <version>1.15.4</version>
0N/A <type>js</type>
0N/A <scope>test</scope>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>qunit</artifactId>
0N/A <version>1.15.0</version>
0N/A <type>js</type>
0N/A <scope>test</scope>
0N/A </dependency>
0N/A <dependency>
0N/A <groupId>org.forgerock.commons.ui.libs</groupId>
0N/A <artifactId>qunit</artifactId>
0N/A <type>css</type>
0N/A <version>1.15.0</version>
0N/A <scope>test</scope>
0N/A </dependency>
994N/A <dependency>
994N/A <groupId>org.forgerock.commons.ui.libs</groupId>
994N/A <artifactId>squire</artifactId>
994N/A <version>0.2.0</version>
994N/A <type>js</type>
994N/A <scope>test</scope>
994N/A </dependency>
994N/A </dependencies>
994N/A
994N/A <build>
994N/A <resources>
994N/A <resource>
994N/A <directory>${basedir}/src/main/js</directory>
994N/A </resource>
994N/A <resource>
994N/A <directory>${basedir}/src/main/resources</directory>
994N/A <filtering>true</filtering>
994N/A </resource>
994N/A </resources>
994N/A
0N/A <testResources>
0N/A <testResource>
0N/A <directory>${basedir}/src/test/js</directory>
0N/A </testResource>
0N/A <testResource>
0N/A <directory>${basedir}/src/test/resources</directory>
0N/A </testResource>
0N/A </testResources>
0N/A
0N/A <plugins>
0N/A <plugin>
0N/A <artifactId>maven-resources-plugin</artifactId>
0N/A <version>2.7</version>
0N/A <dependencies>
0N/A <dependency>
0N/A <groupId>org.apache.maven.shared</groupId>
0N/A <artifactId>maven-filtering</artifactId>
0N/A <version>1.3</version>
0N/A </dependency>
0N/A </dependencies>
0N/A <executions>
0N/A <execution>
0N/A <phase>process-resources</phase>
0N/A <goals>
0N/A <goal>resources</goal>
0N/A <goal>testResources</goal>
0N/A </goals>
0N/A </execution>
0N/A </executions>
0N/A </plugin>
0N/A
0N/A <plugin>
0N/A <groupId>org.apache.maven.plugins</groupId>
0N/A <artifactId>maven-dependency-plugin</artifactId>
0N/A <executions>
0N/A <execution>
0N/A <id>unpack-forgerock-ui-user</id>
0N/A <phase>process-resources</phase>
0N/A <goals>
0N/A <goal>unpack</goal>
0N/A </goals>
0N/A <configuration>
0N/A <outputDirectory>target/dependencies-expanded/forgerock-ui-user</outputDirectory>
0N/A <artifactItems>
0N/A <artifactItem>
0N/A <groupId>org.forgerock.commons.ui</groupId>
0N/A <artifactId>forgerock-ui-user</artifactId>
0N/A <version>${forgerock.ui.version}</version>
0N/A <type>zip</type>
0N/A <classifier>www</classifier>
0N/A </artifactItem>
0N/A </artifactItems>
0N/A </configuration>
0N/A </execution>
0N/A <execution>
0N/A <id>unpack-codemirror</id>
0N/A <phase>process-resources</phase>
0N/A <goals>
0N/A <goal>unpack</goal>
0N/A </goals>
0N/A <configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<artifactItems>
<artifactItem>
<groupId>org.forgerock.commons.ui.libs</groupId>
<artifactId>CodeMirror</artifactId>
<type>zip</type>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>copy-dependencies-test</id>
<phase>process-resources</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/test-classes/libs</outputDirectory>
<includeArtifactIds>sinon,qunit,squire</includeArtifactIds>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<installDirectory>${node.install.directory}</installDirectory>
</configuration>
<executions>
<execution>
<id>install-node-and-npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<phase>initialize</phase>
<configuration>
<nodeVersion>v4.6.0</nodeVersion>
<npmVersion>3.10.7</npmVersion>
<downloadRoot>http://maven.forgerock.org/repo/forgerock-third-party-virtual/</downloadRoot>
<npmDownloadRoot>http://maven.forgerock.org/repo/api/npm/npm-virtual/npm/-/</npmDownloadRoot>
</configuration>
</execution>
<execution>
<id>npm-install</id>
<goals>
<goal>npm</goal>
</goals>
<phase>initialize</phase>
<configuration>
<arguments>install</arguments>
<environmentVariables>
<PHANTOMJS_CDNURL>http://maven.forgerock.org/repo/forgerock-third-party-virtual</PHANTOMJS_CDNURL>
</environmentVariables>
</configuration>
</execution>
<execution>
<id>npm-build</id>
<goals>
<goal>npm</goal>
</goals>
<phase>compile</phase>
<configuration>
<arguments>run build:production -- --target-version=${project.version}</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>prepare-working-dir</id>
<phase>process-resources</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>dependencies</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/dir.xml</descriptor>
</descriptors>
</configuration>
</execution>
<execution>
<id>build-final-zip</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/zip.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>