All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.maven.com.day.cq.cq-quickstart.pom.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * __________________
 *
 *  Copyright 2012 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/
-->
<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>
    <!-- ====================================================================== -->
    <!-- P A R E N T  P R O J E C T  D E S C R I P T I O N                      -->
    <!-- ====================================================================== -->
    <parent>
        <groupId>com.day.cq</groupId>
        <artifactId>parent</artifactId>
        <version>48</version>
    </parent>

    <!-- ====================================================================== -->
    <!-- P R O J E C T  D E S C R I P T I O N                                   -->
    <!-- ====================================================================== -->
    <artifactId>cq-quickstart</artifactId>
    <version>6.2.0</version>
    <packaging>quickstart</packaging>
    <name>Adobe AEM Quickstart</name>
    <description>The Adobe AEM Quickstart and Web Application.</description>
    <inceptionYear>2010</inceptionYear>
    <organization>
        <name>Adobe Systems Incorporated</name>
        <url>http://www.adobe.com/</url>
    </organization>

    <scm>
        <connection>scm:git:[email protected]:CQ/quickstart.git</connection>
        <developerConnection>scm:git:[email protected]:CQ/quickstart.git</developerConnection>
        <url>https://git.corp.adobe.com/CQ/quickstart/tree/release/620</url>
        <tag>cq-quickstart-6.2.0</tag>
    </scm>

    <properties>
        <testing.additional.runmode />
        <quickstart.createWebapp>true</quickstart.createWebapp>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
                <executions>
                    <execution>
                        <id>enforce-file-size</id>
                        <goals>
                            <goal>enforce</goal>
                        </goals>
                        <phase>package</phase>
                        <configuration>
                            <rules>
                                <requireFilesSize>
                                    <maxsize>515000000</maxsize>
                                    <!--
                                        size history
                                        + increasing from 510 to 515 in matter of integration tests to be run
                                        + size peaked at 527 MB; reducing to 510 MB for CQ-54253 (XZ compression of scene7 dynamic imaging binaries)
                                        + increasing from 525 to 526 for CQ-42757 (RTC not needed)
                                        + increasing from 517 to 525 for CQ-39027 (RTC available at CQ-51011)
                                        + increasing from 512 to 517 for CQ-45521 (addition of google closure compiler)
                                        + increasing from 508 to 512 for CQ-43969 (Introduction of DPS 2015)
                                        + increasing from 507 to 508 for CQ-50034
                                        + increasing from 506 to 507 for CQ-42774 and CQ-42785
                                        + increasing from 500 to 506 for CQ-25958 (aem-assets-companion-app-osx-1.2.0.55 size increase)
                                        + increasing from 495 to 500 for CQ-40125 (crx2oak size increase)
                                        + increasing from 494 to 498 for CQ-38967
                                        + increasing from 493 to 494 for CQ-23766
                                        + increasing to 480 due CQ-18597 (cq-geometrixx-all-pkg due geometrixx-gov addition)
                                        + increasing from 470 MB to 483 - CQ-15336 crx2-crx3 migration tool
                                        + increasing from 466 MB to 470 - added small thumbnails for the Geo Outdoors new content
                                        + increasing from 464 to 466 MB to accommodate new Geometrixx Outdoors content CQ-16439
                                        + increasing to 420 MB for scene7 dynamic imaging (adds 80 MB), see CQ-6551
                                        + size peaked at 317 MB; reducing to 280 MB for CQ5-23559 and CQ5-23560
                                        + increased from 256 to 306 MB - see bug #39110, CQ5-21825
                                    -->
                                    <minsize>140000000</minsize>
                                    <files>
                                        <file>${project.build.directory}/${project.build.finalName}.jar</file>
                                    </files>
                                </requireFilesSize>
                            </rules>
                            <fail>true</fail>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>com.adobe.granite.maven</groupId>
                <artifactId>quickstart-maven-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <quickstartReadyTimeOutSec>1200</quickstartReadyTimeOutSec>
                    <quickstartId>cq</quickstartId>
                    <productName>Adobe Experience Manager</productName>
                    <createWebapp>${quickstart.createWebapp}</createWebapp>
                    <!-- Integration Test configuration -->
                    <quickstartVMOptions>-Xmx1200m -XX:MaxPermSize=300m -Djava.awt.headless=true
                    </quickstartVMOptions>
                    <resources>
                        <resource>
                            <directory>${project.build.directory}</directory>
                            <includes>
                                <include>cq-portlet-components.zip</include>
                            </includes>
                            <targetPath>static/opt/portal</targetPath>
                        </resource>
                        <resource>
                            <directory>${project.build.directory}</directory>
                            <includes>
                                <include>filevault.*</include>
                            </includes>
                            <targetPath>static/opt/filevault</targetPath>
                        </resource>
                        <resource>
                            <directory>${project.build.directory}</directory>
                            <includes>
                                <include>crx2oak.*</include>
                            </includes>
                            <targetPath>static/opt/helpers/crx2oak</targetPath>
                        </resource>
                        <resource>
                            <directory>${project.build.directory}</directory>
                            <includes>
                                <include>crx2oak-quickstart-extension*</include>
                            </includes>
                            <targetPath>static/opt/extensions</targetPath>
                        </resource>
                    </resources>
                    <quickstartConfigurations>
                        <quickstartConfiguration>
                            <runmode>author${testing.additional.runmode}</runmode>
                        </quickstartConfiguration>
                    </quickstartConfigurations>
                </configuration>
                <executions>
                    <!-- Start author and publish instances for integration tests -->
                    <execution>
                        <id>run-quickstart-author</id>
                        <goals>
                            <goal>start-multiple</goal>
                            <goal>stop-multiple</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-failsafe-plugin</artifactId>
                <configuration>
                    <argLine>-Xmx256M</argLine>
                    <systemPropertiesFile>${project.build.directory}/quickstart-runner.properties
                    </systemPropertiesFile>
                    <runOrder>alphabetical</runOrder>
                    <classpathDependencyExcludes>
                        <classpathDependencyExclude>org.apache.sling:org.apache.sling.commons.log
                        </classpathDependencyExclude>
                        <classpathDependencyExclude>org.slf4j:slf4j-simple</classpathDependencyExclude>
                        <classpathDependencyExclude>ch.qos.logback:logback-classic</classpathDependencyExclude>
                        <classpathDependencyExclude>com.adobe.pdf:tika-app</classpathDependencyExclude>
                    </classpathDependencyExcludes>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>copy-portlet-director</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>com.day.cq.portlet</groupId>
                                    <artifactId>cq-portlet-components</artifactId>
                                    <type>zip</type>
                                    <destFileName>cq-portlet-components.zip</destFileName>
                                </artifactItem>
                            </artifactItems>
                            <outputDirectory>${project.build.directory}</outputDirectory>
                            <overWriteReleases>false</overWriteReleases>
                            <overWriteSnapshots>true</overWriteSnapshots>
                        </configuration>
                    </execution>
                    <execution>
                        <id>copy-filevault</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>org.apache.jackrabbit.vault</groupId>
                                    <artifactId>vault-cli</artifactId>
                                    <classifier>bin</classifier>
                                    <type>zip</type>
                                    <version>3.1.16</version>
                                    <outputDirectory>${project.build.directory}</outputDirectory>
                                    <destFileName>filevault.zip</destFileName>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.apache.jackrabbit.vault</groupId>
                                    <artifactId>vault-cli</artifactId>
                                    <classifier>bin</classifier>
                                    <version>3.1.16</version>
                                    <type>tar.gz</type>
                                    <outputDirectory>${project.build.directory}</outputDirectory>
                                    <destFileName>filevault.tgz</destFileName>
                                </artifactItem>
                            </artifactItems>
                        </configuration>
                    </execution>
                    <execution>
                        <id>copy-crx2oak</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>com.adobe.granite</groupId>
                                    <artifactId>crx2oak</artifactId>
                                    <version>1.4.2</version>
                                    <classifier>standalone</classifier>
                                    <outputDirectory>${project.build.directory}</outputDirectory>
                                    <destFileName>crx2oak.jar</destFileName>
                                </artifactItem>
                                <artifactItem>
                                    <groupId>com.adobe.granite</groupId>
                                    <artifactId>crx2oak-quickstart-extension</artifactId>
                                    <version>1.0.16</version>
                                    <outputDirectory>${project.build.directory}</outputDirectory>
                                    <destFileName>crx2oak-quickstart-extension.jar</destFileName>
                                </artifactItem>
                            </artifactItems>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>com.adobe.granite.maven</groupId>
                    <artifactId>quickstart-maven-plugin</artifactId>
                    <version>2.7.6</version>
                </plugin>
                <!-- #36582 - RTC: Add m2e lifecycle mappings for Eclipse Indigo -->
                <plugin>
                    <groupId>org.eclipse.m2e</groupId>
                    <artifactId>lifecycle-mapping</artifactId>
                    <version>1.0.0</version>
                    <configuration>
                        <lifecycleMappingMetadata>
                            <pluginExecutions>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>org.apache.sling</groupId>
                                        <artifactId>maven-launchpad-plugin</artifactId>
                                        <versionRange>[2.0.0,)</versionRange>
                                        <goals>
                                            <goal>prepare-package</goal>
                                            <goal>attach-bundle-list</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore />
                                    </action>
                                </pluginExecution>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>com.adobe.granite.maven</groupId>
                                        <artifactId>quickstart-maven-plugin</artifactId>
                                        <versionRange>[0.1.0,)</versionRange>
                                        <goals>
                                            <goal>prepare</goal>
                                            <goal>quickstart</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <ignore />
                                    </action>
                                </pluginExecution>
                            </pluginExecutions>
                        </lifecycleMappingMetadata>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

    <profiles>
        <profile>
            <id>release</id>
            <properties>
                <!-- default -sources package generation disabled, delegated to UberJar -->
                <source.skip>true</source.skip>
                <!-- default -javadoc package generation disabled, delegated to UberJar -->
                <maven.javadoc.skip>true</maven.javadoc.skip>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.adobe.granite.maven</groupId>
                        <artifactId>quickstart-maven-plugin</artifactId>
                        <configuration>
                            <!--
                             | enable the configuration below if there is the
                             | need to include bundles declaring packages with
                             | null or 0.0.0 version.
                             |
                             | Disabled by default to not break the build in the CI.
                            -->
                            <failOnPackageVersionNotAllowed>false</failOnPackageVersionNotAllowed>
                            <excludedPackages>
                                <excludedPackage>com.adobe.cq.aam.client.spi</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.impl.servlets</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.index.impl.comment</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.listing.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.notification.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.tagcloud.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.tagging.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.ugc.impl.index</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.ugc.impl.servlets</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.review.client.endpoints.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.review.client.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.client.endpoints.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.client.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.comments.endpoints.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.comments.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.comments.listing.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.comments.search.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.digest.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.commons.emailreply.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.review.client.listing.impl</excludedPackage>
                                <excludedPackage>com.adobe.cq.social.review.index.impl</excludedPackage>
                                <excludedPackage>com.day.cq.mcm.emailprovider.impl.types</excludedPackage>
                                <excludedPackage>com.fasterxml.jackson.annotation</excludedPackage>
                                <excludedPackage>com.fasterxml.jackson.core</excludedPackage>
                                <excludedPackage>com.fasterxml.jackson.databind</excludedPackage>
                                <excludedPackage>com.notnoop.apns</excludedPackage>
                                <excludedPackage>com.notnoop.apns.internal</excludedPackage>
                                <excludedPackage>com.notnoop.exceptions</excludedPackage>
                                <excludedPackage>com.petebevin.markdown</excludedPackage>
                                <excludedPackage>org.apache.poi*</excludedPackage>
                                <excludedPackage>org.apache.taglibs.standard*</excludedPackage>
                                <excludedPackage>org.apache.xmlbeans*</excludedPackage>
                                <excludedPackage>org.ccil.cowan.tagsoup*</excludedPackage>
                                <excludedPackage>org.openxmlformats.schemas*</excludedPackage>
                                <excludedPackage>org.json*</excludedPackage>
                                <excludedPackage>com.adobe.granite.workflow.console.servlet</excludedPackage>
                                <excludedPackage>com.adobe.granite.workflow.console.timeout.autoadvance</excludedPackage>
                                <excludedPackage>com.adobe.granite.workflow.core.event</excludedPackage>
                                <excludedPackage>com.day.cq.workflow.compatibility</excludedPackage>
                                <excludedPackage>com.adobe.cq.projects.ui</excludedPackage>
                                <excludedPackage>com.adobe.cq.media.publishing</excludedPackage>
                                <excludedPackage>com.adobe.cq.media.publishing.commands</excludedPackage>
                                <excludedPackage>com.adobe.cq.media.publishing.dps</excludedPackage>
                                <excludedPackage>com.adobe.cq.media.publishing.dps.fp</excludedPackage>
                                <excludedPackage>com.twelvemonkeys.imageio.plugins.psd</excludedPackage>
                            </excludedPackages>
                            <suppressResolvedProfiles>
                                <suppressResolvedProfile>java6plus</suppressResolvedProfile>
                                <suppressResolvedProfile>java8</suppressResolvedProfile>
                                <suppressResolvedProfile>default</suppressResolvedProfile>
                                <suppressResolvedProfile>port-java6</suppressResolvedProfile>
                                <suppressResolvedProfile>port-java7</suppressResolvedProfile>
                                <suppressResolvedProfile>port-java8</suppressResolvedProfile>
                                <suppressResolvedProfile>disable-ldap-integration</suppressResolvedProfile>
                                <suppressResolvedProfile>findbugs-jdk6</suppressResolvedProfile>
                            </suppressResolvedProfiles>
                            <javadocLinks>
                                <javadocLink>http://download.oracle.com/javase/1.5.0/docs/api</javadocLink>
                                <javadocLink>http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2</javadocLink>
                                <javadocLink>http://www.day.com/maven/jsr170/javadocs/jcr-2.0</javadocLink>
                                <javadocLink>http://sling.apache.org/apidocs/sling5</javadocLink>
                                <javadocLink>http://dev.day.com/docs/en/cq/current/javadoc</javadocLink>
                                <javadocLink>http://jackrabbit.apache.org/api/2.4</javadocLink>
                                <javadocLink>http://www.osgi.org/javadoc/r4v42</javadocLink>
                            </javadocLinks>
                            <obsfucationSkipPatterns>
                                <obsfucationSkipPattern>org/apache/.*</obsfucationSkipPattern>
                                <obsfucationSkipPattern>ch/randelshofer/.*</obsfucationSkipPattern>
                                <obsfucationSkipPattern>com/google/.*</obsfucationSkipPattern>
                                <obsfucationSkipPattern>com/twelvemonkeys/.*</obsfucationSkipPattern>
                            </obsfucationSkipPatterns>
                        </configuration>
                        <executions>
                            <!-- Create the UberJar artifacts -->
                            <execution>
                                <id>uber-jar</id>
                                <goals>
                                    <goal>uber-jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>integrity-it</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-failsafe-plugin</artifactId>
                        <configuration>
                            <includes>
                                <!-- TODO why not use excludes here? IIUC goal is only to ignore LogFileIT,
                                     from commit 3e2b01ba -->
                                <include>com/day/cq/quickstart/it/ConsolesIT.java</include>
                                <include>com/day/cq/quickstart/it/HomePageIT.java</include>
                                <include>com/day/cq/quickstart/it/OsgiConsoleIT.java</include>
                                <include>com/day/cq/quickstart/it/DeserializationFirewallIT.java</include>
                            </includes>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>smoke-it</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.adobe.granite.maven</groupId>
                        <artifactId>quickstart-maven-plugin</artifactId>
                        <configuration>
                            <testModes>
                                <param>aem</param>
                            </testModes>
                        </configuration>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-failsafe-plugin</artifactId>
                        <configuration>
                            <includes>
                                <include>com/day/cq/quickstart/it/**</include>
                                <!--<include>**/ServerScriptsIT.java</include>-->
                            </includes>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

    <dependencies>

        <dependency>
            <groupId>com.day.commons</groupId>
            <artifactId>day-commons-cli</artifactId>
            <version>2.0.6</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>com.day.cq.portlet</groupId>
            <artifactId>cq-portlet-components</artifactId>
            <type>zip</type>
            <version>5.4.26</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <version>1.9</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.11</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-core</artifactId>
            <version>1.3</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.jayway.jsonpath</groupId>
            <artifactId>json-path</artifactId>
            <version>0.9.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.jayway.jsonpath</groupId>
            <artifactId>json-path-assert</artifactId>
            <version>0.9.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.7</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.7.7</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>jcl-over-slf4j</artifactId>
            <version>1.7.7</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.adobe.qe</groupId>
            <artifactId>granite-it-clients</artifactId>
            <version>5.0.3</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy