pom.xml revision fe0690e679028cee9131ef2db5229fe11971049d
25f72e2845c89a153ca9d3279d7feccbc912524ematthew<?xml version="1.0" encoding="UTF-8"?>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew<!--
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ Copyright (c) 2011-2014 ForgeRock AS. All Rights Reserved
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ The contents of this file are subject to the terms
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ of the Common Development and Distribution License
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ (the License). You may not use this file except in
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ compliance with the License.
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ You can obtain a copy of the License at
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ http://forgerock.org/license/CDDLv1.0.html
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ See the License for the specific language governing
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ permission and limitations under the License.
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ When distributing Covered Code, include this CDDL
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ Header Notice in each file and include the License file
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ at http://forgerock.org/license/CDDLv1.0.html
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ If applicable, add the following below the CDDL Header,
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ with the fields enclosed by brackets [] replaced by
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ your own identifying information:
25f72e2845c89a153ca9d3279d7feccbc912524ematthew ~ "Portions Copyrighted [year] [name of copyright owner]"
25f72e2845c89a153ca9d3279d7feccbc912524ematthew -->
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette<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">
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <modelVersion>4.0.0</modelVersion>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <parent>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <artifactId>openidm-ui</artifactId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <groupId>org.forgerock.openidm</groupId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <version>3.1.0-RC2</version>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </parent>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <artifactId>openidm-ui-admin</artifactId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <name>OpenIDM UI Admin</name>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <packaging>bundle</packaging>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <properties>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </properties>
b01d258c572743c78c89899e0a49199bac91a7dfmatthew
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <dependencies>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <dependency>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <groupId>org.forgerock.commons.ui</groupId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <artifactId>forgerock-ui-commons</artifactId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <version>${forgerock-ui.version}</version>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <type>zip</type>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <classifier>www</classifier>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </dependency>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew
7edeca432448c9eb6a7618b130fccc3eb04459aemark <dependency>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <groupId>org.forgerock.openidm</groupId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <artifactId>openidm-ui-common</artifactId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <version>${project.version}</version>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <type>zip</type>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <classifier>www</classifier>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </dependency>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <dependency>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <groupId>org.apache.servicemix.bundles</groupId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <artifactId>org.apache.servicemix.bundles.rhino</artifactId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </dependency>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <dependency>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <groupId>org.forgerock.commons.ui.libs</groupId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <artifactId>jquery-ui</artifactId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <version>1.11.1</version>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <classifier>min</classifier>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <type>js</type>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </dependency>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette <dependency>
8890d0c686adc8442c156956735470bf289ba2d8mark <groupId>org.forgerock.commons.ui.libs</groupId>
8890d0c686adc8442c156956735470bf289ba2d8mark <artifactId>jquery.jqGrid</artifactId>
8890d0c686adc8442c156956735470bf289ba2d8mark <version>4.5.4</version>
8890d0c686adc8442c156956735470bf289ba2d8mark <classifier>min</classifier>
8890d0c686adc8442c156956735470bf289ba2d8mark <type>js</type>
8890d0c686adc8442c156956735470bf289ba2d8mark </dependency>
8890d0c686adc8442c156956735470bf289ba2d8mark
8890d0c686adc8442c156956735470bf289ba2d8mark <dependency>
8890d0c686adc8442c156956735470bf289ba2d8mark <groupId>org.forgerock.commons.ui.libs</groupId>
8890d0c686adc8442c156956735470bf289ba2d8mark <artifactId>jsoneditor</artifactId>
8890d0c686adc8442c156956735470bf289ba2d8mark <version>0.7.9</version>
8890d0c686adc8442c156956735470bf289ba2d8mark <classifier>min</classifier>
8890d0c686adc8442c156956735470bf289ba2d8mark <type>js</type>
8890d0c686adc8442c156956735470bf289ba2d8mark </dependency>
8890d0c686adc8442c156956735470bf289ba2d8mark
8890d0c686adc8442c156956735470bf289ba2d8mark <dependency>
8890d0c686adc8442c156956735470bf289ba2d8mark <groupId>org.forgerock.commons.ui.libs</groupId>
8890d0c686adc8442c156956735470bf289ba2d8mark <artifactId>ldapjs-filter</artifactId>
8890d0c686adc8442c156956735470bf289ba2d8mark <version>2253</version>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <classifier>min</classifier>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <type>js</type>
28a3ff3fa0d3b5e1c774217425cf609cc6339df7matthew </dependency>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <dependency>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <groupId>org.forgerock.commons.ui.libs</groupId>
b59eee423e33565718e0b8e0e816fa7cd9c80bc3mark <artifactId>jquery-cron</artifactId>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <version>r2427</version>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <type>js</type>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </dependency>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark
cc354d5672bc5cb5bba3bf49b6bf953e2021d7d3mark <dependency>
cc354d5672bc5cb5bba3bf49b6bf953e2021d7d3mark <groupId>org.forgerock.commons.ui.libs</groupId>
cc354d5672bc5cb5bba3bf49b6bf953e2021d7d3mark <artifactId>jquery-gentleSelect</artifactId>
cc354d5672bc5cb5bba3bf49b6bf953e2021d7d3mark <version>0.1.3.1</version>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <classifier>min</classifier>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <type>js</type>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </dependency>
cc354d5672bc5cb5bba3bf49b6bf953e2021d7d3mark
cc354d5672bc5cb5bba3bf49b6bf953e2021d7d3mark <dependency>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <groupId>org.forgerock.commons.ui.libs</groupId>
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark <artifactId>CodeMirror</artifactId>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <version>4.5.0</version>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <type>zip</type>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </dependency>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </dependencies>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <profiles>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <profile>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <!-- the profile to build the non-optimized UI -->
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <id>Non optimized UI</id>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <activation>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <property>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <name>!openidm.ui.optimize</name>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </property>
8890d0c686adc8442c156956735470bf289ba2d8mark </activation>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <build>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <resources>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <resource>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <directory>${basedir}/src/main/js</directory>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </resource>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <resource>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <directory>${basedir}/src/main/resources</directory>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </resource>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </resources>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <plugins>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <plugin>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <groupId>org.codehaus.mojo</groupId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <artifactId>jslint-maven-plugin</artifactId>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <configuration>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <disallowInsecureCharsInRegExp>false</disallowInsecureCharsInRegExp>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <excludes>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <exclude>**/libs/ldapfilters/*.js</exclude>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <exclude>**/libs/*.js</exclude>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <exclude>**/libs/codemirror/lib/*.js</exclude>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <exclude>**/libs/codemirror/mode/javascript/*.js</exclude>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <exclude>**/libs/codemirror/mode/groovy/*.js</exclude>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <exclude>**/libs/codemirror/addon/display/*.js</exclude>
341664ce1d0029ac39e10f21cebc2d57bac59ce1matthew <exclude>**/libs/i18n/*.js</exclude>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <exclude>**/*Test.js</exclude>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </excludes>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </configuration>
c474d6853192b277a73b133d56970bbf118d3fe3mark <executions>
820ed286b08eac25f26a4904ca06e9d600b612aemark <execution>
c474d6853192b277a73b133d56970bbf118d3fe3mark <phase>prepare-package</phase>
c474d6853192b277a73b133d56970bbf118d3fe3mark <goals>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <goal>jslint</goal>
c474d6853192b277a73b133d56970bbf118d3fe3mark </goals>
c474d6853192b277a73b133d56970bbf118d3fe3mark </execution>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew </executions>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew </plugin>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <plugin>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <artifactId>maven-resources-plugin</artifactId>
c474d6853192b277a73b133d56970bbf118d3fe3mark <executions>
c474d6853192b277a73b133d56970bbf118d3fe3mark <execution>
c474d6853192b277a73b133d56970bbf118d3fe3mark <phase>prepare-package</phase>
820ed286b08eac25f26a4904ca06e9d600b612aemark <goals>
820ed286b08eac25f26a4904ca06e9d600b612aemark <goal>resources</goal>
c474d6853192b277a73b133d56970bbf118d3fe3mark </goals>
c474d6853192b277a73b133d56970bbf118d3fe3mark </execution>
c474d6853192b277a73b133d56970bbf118d3fe3mark </executions>
c474d6853192b277a73b133d56970bbf118d3fe3mark </plugin>
c474d6853192b277a73b133d56970bbf118d3fe3mark
c474d6853192b277a73b133d56970bbf118d3fe3mark <plugin>
c474d6853192b277a73b133d56970bbf118d3fe3mark <groupId>org.apache.maven.plugins</groupId>
c474d6853192b277a73b133d56970bbf118d3fe3mark <artifactId>maven-dependency-plugin</artifactId>
820ed286b08eac25f26a4904ca06e9d600b612aemark <executions>
820ed286b08eac25f26a4904ca06e9d600b612aemark
820ed286b08eac25f26a4904ca06e9d600b612aemark <execution>
c474d6853192b277a73b133d56970bbf118d3fe3mark <id>unpack-forgerock-ui</id>
c474d6853192b277a73b133d56970bbf118d3fe3mark <phase>prepare-package</phase>
c474d6853192b277a73b133d56970bbf118d3fe3mark <goals>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <goal>unpack</goal>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </goals>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark <configuration>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <artifactItems>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <artifactItem>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <groupId>org.forgerock.commons.ui</groupId>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <artifactId>forgerock-ui-commons</artifactId>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <version>${forgerock-ui.version}</version>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <type>zip</type>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <classifier>www</classifier>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </artifactItem>
cc354d5672bc5cb5bba3bf49b6bf953e2021d7d3mark
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <artifactItem>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <groupId>org.forgerock.openidm</groupId>
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark <artifactId>openidm-ui-common</artifactId>
cc354d5672bc5cb5bba3bf49b6bf953e2021d7d3mark <version>${project.version}</version>
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark <type>zip</type>
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark <classifier>www</classifier>
cc354d5672bc5cb5bba3bf49b6bf953e2021d7d3mark </artifactItem>
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark </artifactItems>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </configuration>
cc354d5672bc5cb5bba3bf49b6bf953e2021d7d3mark </execution>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <execution>
cc354d5672bc5cb5bba3bf49b6bf953e2021d7d3mark <id>unpack-codemirror</id>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <phase>prepare-package</phase>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <goals>
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark <goal>unpack</goal>
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark </goals>
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark <configuration>
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark <outputDirectory>${project.build.directory}</outputDirectory>
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark <artifactItems>
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark <artifactItem>
b7f75c10fb767ed09cc78d57f17593f91fa21ea9mark <groupId>org.forgerock.commons.ui.libs</groupId>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <artifactId>CodeMirror</artifactId>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <version>4.5.0</version>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <type>zip</type>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </artifactItem>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </artifactItems>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </configuration>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </execution>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </executions>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </plugin>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <plugin>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <artifactId>maven-assembly-plugin</artifactId>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <configuration>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <descriptors>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <descriptor>src/main/assembly/zip.xml</descriptor>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark </descriptors>
51607ea01068c9047391e4c8b46bc9dbd0edb7fdmark <finalName>www</finalName>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark <appendAssemblyId>false</appendAssemblyId>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark </configuration>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark <executions>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark <execution>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark <phase>prepare-package</phase>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark <goals>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark <goal>single</goal>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark </goals>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark </execution>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark </executions>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark </plugin>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark <plugin>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark <groupId>org.apache.felix</groupId>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark <artifactId>maven-bundle-plugin</artifactId>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark <extensions>true</extensions>
9eda38ceea9e23ecaf607534cd0f6954b2df0e0amark <executions>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <execution>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <id>bundle-manifest</id>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <phase>package</phase>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <goals>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <goal>manifest</goal>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew </goals>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew </execution>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew </executions>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <configuration>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <instructions>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <Import-Package>*</Import-Package>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <Include-Resource>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew public=target/www
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </Include-Resource>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </instructions>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew </configuration>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </plugin>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </plugins>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew </build>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew </profile>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <profile>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <!-- the profile to build the optimized UI -->
b71b897e701bebae34ed137919077cd8374232eamatthew <id>Optimized UI</id>
b71b897e701bebae34ed137919077cd8374232eamatthew <activation>
b71b897e701bebae34ed137919077cd8374232eamatthew <property>
b71b897e701bebae34ed137919077cd8374232eamatthew <name>openidm.ui.optimize</name>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew </property>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew </activation>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <build>
5ffeac9af157b599c7fb34a23d6c50161fbd6a6cmatthew <resources>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <resource>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <directory>${basedir}/src/main/js</directory>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew </resource>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <resource>
803d79f1f1fd8c2134e01ac1383686389e267f3ematthew <directory>${basedir}/src/main/resources</directory>
803d79f1f1fd8c2134e01ac1383686389e267f3ematthew </resource>
803d79f1f1fd8c2134e01ac1383686389e267f3ematthew </resources>
803d79f1f1fd8c2134e01ac1383686389e267f3ematthew
803d79f1f1fd8c2134e01ac1383686389e267f3ematthew <plugins>
803d79f1f1fd8c2134e01ac1383686389e267f3ematthew <plugin>
803d79f1f1fd8c2134e01ac1383686389e267f3ematthew <groupId>org.codehaus.mojo</groupId>
803d79f1f1fd8c2134e01ac1383686389e267f3ematthew <artifactId>jslint-maven-plugin</artifactId>
803d79f1f1fd8c2134e01ac1383686389e267f3ematthew <configuration>
803d79f1f1fd8c2134e01ac1383686389e267f3ematthew <excludes>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <exclude>**/libs/*.js</exclude>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <exclude>**/libs/i18n/*.js</exclude>
503c353d31964b01e67395d3b1207f3e408dd774matthew <exclude>**/*Test.js</exclude>
503c353d31964b01e67395d3b1207f3e408dd774matthew </excludes>
503c353d31964b01e67395d3b1207f3e408dd774matthew </configuration>
503c353d31964b01e67395d3b1207f3e408dd774matthew <executions>
503c353d31964b01e67395d3b1207f3e408dd774matthew <execution>
503c353d31964b01e67395d3b1207f3e408dd774matthew <phase>prepare-package</phase>
503c353d31964b01e67395d3b1207f3e408dd774matthew <goals>
8890d0c686adc8442c156956735470bf289ba2d8mark <goal>jslint</goal>
503c353d31964b01e67395d3b1207f3e408dd774matthew </goals>
503c353d31964b01e67395d3b1207f3e408dd774matthew </execution>
503c353d31964b01e67395d3b1207f3e408dd774matthew </executions>
503c353d31964b01e67395d3b1207f3e408dd774matthew </plugin>
503c353d31964b01e67395d3b1207f3e408dd774matthew
503c353d31964b01e67395d3b1207f3e408dd774matthew <plugin>
503c353d31964b01e67395d3b1207f3e408dd774matthew <artifactId>maven-resources-plugin</artifactId>
503c353d31964b01e67395d3b1207f3e408dd774matthew <executions>
503c353d31964b01e67395d3b1207f3e408dd774matthew <execution>
503c353d31964b01e67395d3b1207f3e408dd774matthew <phase>prepare-package</phase>
503c353d31964b01e67395d3b1207f3e408dd774matthew <goals>
503c353d31964b01e67395d3b1207f3e408dd774matthew <goal>resources</goal>
503c353d31964b01e67395d3b1207f3e408dd774matthew </goals>
503c353d31964b01e67395d3b1207f3e408dd774matthew </execution>
503c353d31964b01e67395d3b1207f3e408dd774matthew </executions>
503c353d31964b01e67395d3b1207f3e408dd774matthew </plugin>
503c353d31964b01e67395d3b1207f3e408dd774matthew
503c353d31964b01e67395d3b1207f3e408dd774matthew <plugin>
503c353d31964b01e67395d3b1207f3e408dd774matthew <groupId>org.apache.maven.plugins</groupId>
503c353d31964b01e67395d3b1207f3e408dd774matthew <artifactId>maven-dependency-plugin</artifactId>
503c353d31964b01e67395d3b1207f3e408dd774matthew <executions>
25f72e2845c89a153ca9d3279d7feccbc912524ematthew <execution>
<id>copy-and-unpack</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
<goal>unpack</goal>
</goals>
<configuration>
<includeGroupIds>org.apache.servicemix.bundles</includeGroupIds>
<artifactItems>
<artifactItem>
<groupId>org.forgerock.commons.ui</groupId>
<artifactId>forgerock-ui-commons</artifactId>
<version>${forgerock-ui.version}</version>
<type>zip</type>
<classifier>www</classifier>
</artifactItem>
<artifactItem>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-ui-common</artifactId>
<version>${project.version}</version>
<type>zip</type>
<classifier>www</classifier>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>js/css optimization</id>
<phase>prepare-package</phase>
<configuration>
<target name="optimize">
<path id="class.path">
<fileset dir="target/dependency">
<include name="**/*.jar" />
</fileset>
</path>
<copy todir="target/classes" overwrite="false">
<fileset dir="target/dependency" />
</copy>
<echo message="Running optimize." />
<property name="requirejs.dir" value="${basedir}/src/main/optimization" />
<java classname="org.mozilla.javascript.tools.shell.Main" failonerror="true">
<classpath refid="class.path" />
<arg value="${requirejs.dir}/r.js" />
<arg value="-o" />
<arg value="${requirejs.dir}/app.build.js" />
</java>
<concat destfile="target/minified/main_with_license.js">
<fileset file="src/main/optimization/license" />
<fileset file="target/minified/main.js" />
</concat>
<move file="target/minified/main_with_license.js" tofile="target/minified/main.js" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/zip.xml</descriptor>
</descriptors>
<finalName>www</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>package</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Import-Package>*</Import-Package>
<Include-Resource>
public=target/www
</Include-Resource>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>