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.3.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/630</url>
    <tag>cq-quickstart-6.3.0</tag>
  </scm>

  <properties>
    <testing.additional.runmode />
    <quickstart.createWebapp>true</quickstart.createWebapp>
    <quickstart.properties.file>${project.build.directory}/quickstart-runner.properties</quickstart.properties.file>

    <quickstart.vm.args.codeCoverage />
    <quickstart.vm.args>${quickstart.vm.args.codeCoverage}</quickstart.vm.args>
    <jacoco.version>0.7.6.201602180812</jacoco.version>

    <!-- For evergreen -->
    <evergreen.modules.destination>${project.build.directory}/it-modules</evergreen.modules.destination>
    <test.group>include-all-evergreen-</test.group>
    <skipSmokeTests>false</skipSmokeTests>
    <skip.quickstart>false</skip.quickstart>
    <filterCategory>FlakyTest</filterCategory>
    <sling.it.ignorelist />
    <test.server.mock.host>localhost</test.server.mock.host>

    <!-- Sling instance params -->

    <sling.it.instances>2</sling.it.instances>
    <sling.it.instance.url.1>http://localhost:4502</sling.it.instance.url.1>
    <sling.it.instance.runmode.1>author</sling.it.instance.runmode.1>

    <sling.it.instance.url.2>http://localhost:4503</sling.it.instance.url.2>
    <sling.it.instance.runmode.2>publish</sling.it.instance.runmode.2>

    <sling.it.instance.url.3 />
    <sling.it.instance.runmode.3 />
  </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>548000000</maxsize>
                  <!--
                      size history
                      + reducing size to 548 MB (-38MB) for GRANITE-14736
                      + increasing size to 586 MB (+15mb) for CQ-102079
                      + increasing size to 535 MB (+3MB) for CQ-100408 (security compiler settings for DM libraries)
                      + increasing size to 532 MB (+5MB) for CQ-95753
                      + increasing size to 528 MB (+5MB) for GRANITE-13596
                      + increasing size to 523 MB (+5MB) for CQ-100245
                      + increasing size to 518 MB (+6MB) for CQ-61847
                      + reducing size to 512MB (-6MB gained by CQ-98630)
                      + reducing size to 518MB (-12MB gained by CQ-96504)
                      + increasing size temporarily to 530MB for CQ-98599
                      + increasing size to 520 for GRANITE-13799
                      + increasing size to 519 for GRANITE-1354
                      + increasing size to 518 for CQ-92580
                      + 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
                      + increased from 140 to 334 MB - CQ-101915 (adds 34 MB)
                  -->
                  <minsize>140000000</minsize>
                  <files>
                    <file>${project.build.directory}/${project.build.finalName}.jar</file>
                  </files>
                </requireFilesSize>
              </rules>
              <fail>true</fail>
            </configuration>
          </execution>
          <execution>
            <!--
              Before starting ITs, check if an AEM is already running which can interfere
              with the integration tests due to the offloading autodiscovery feature.

              This can be removed if offloading will be disabled by default GRANITE-16443
            -->
            <id>enforce-no-other-cq-running</id>
            <phase>pre-integration-test</phase>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <evaluateBeanshell>
                  <condition>
                    <![CDATA[
                    import org.slf4j.*;

                    Logger log = LoggerFactory.getLogger("enforce-no-other-cq-running");

                    boolean portUsed(int port) {
                        try {
                            Socket s = new Socket("localhost", port);
                            try {
                                s.close();
                            } catch (e) {}
                            // Socket was successfully created means port is up
                            return true;
                        } catch (e) {
                            // Socket could not be created because port not up
                            return false;
                        }
                    }

                    if ("true".equals(System.getProperty("skip.otherCqRunningCheck"))) {
                      log.info("Skipping CQ already running check due to -Dskip.otherCqRunningCheck=true.");
                      return true;

                    } else if ("true".equals(System.getProperty("maven.test.skip"))
                        || (System.getProperty("skipTests") != null)) {
                        log.info("Skipping CQ already running check because tests are skipped.");
                        return true;

                    } else {
                        // check for something on the main author & publish ports
                        return !portUsed(4502) && !portUsed(4503);
                    }
                    ]]>
                  </condition>
                  <message>
                    .
                    There seems to be another CQ quickstart running on port 4502 or 4503.

                    This can make the integration tests fail as it affects topology auto discovery and performance.
                    Please shut it down before running the full quickstart build with integration tests.

                    You can skip this check by running mvn with "-Dskip.otherCqRunningCheck=true".
                    It also gets skipped if you skip tests via "-DskipTests".

                    See also CQ-4200728.
                    .
                  </message>
                </evaluateBeanshell>
              </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/extensions</targetPath>
            </resource>
          </resources>
          <quickstartConfigurations>
            <quickstartConfiguration>
              <runmode>author${testing.additional.runmode}</runmode>
            </quickstartConfiguration>
          </quickstartConfigurations>
          <allowedConfigBundlePaths>
              <path>/apps/core/wcm</path>
              <path>/apps/weretail</path>
              <path>/apps/we-unlimited-app</path>
              <path>/apps/we-retail-client-app</path>
              <path>/apps/we-retail-communities</path>
          </allowedConfigBundlePaths>
        </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>
          <execution>
            <goals>
              <goal>extract-bundles-info-file</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-failsafe-plugin</artifactId>
        <configuration>
          <argLine>-Xmx256M</argLine>
          <systemPropertiesFile>${quickstart.properties.file}</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>
          <includes>
            <include>com/day/cq/quickstart/it/**</include>
            <include>com/adobe/granite/**/*IT.java</include>
          </includes>
          <excludes>
            <exclude>com/adobe/granite/quickstart/it/**</exclude>
            <exclude>com/adobe/granite/rest/assets/it/AssetsIT.java</exclude>
            <exclude>com/adobe/granite/monitoring/dashboard/it/HealthReportsIT.java</exclude>
            <exclude>com/adobe/granite/monitoring/dashboard/it/MaintenanceIT.java</exclude>
            <exclude>com/adobe/granite/security/it/http/UserPropertiesIT.java</exclude>
          </excludes>
        </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.38</version>
                  <outputDirectory>${project.build.directory}</outputDirectory>
                  <destFileName>filevault-3.1.38.zip</destFileName>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.jackrabbit.vault</groupId>
                  <artifactId>vault-cli</artifactId>
                  <classifier>bin</classifier>
                  <version>3.1.38</version>
                  <type>tar.gz</type>
                  <outputDirectory>${project.build.directory}</outputDirectory>
                  <destFileName>filevault-3.1.38.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.6.8</version>
                  <classifier>all-in-one</classifier>
                  <outputDirectory>${project.build.directory}</outputDirectory>
                  <destFileName>crx2oak.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.10</version>
        </plugin>

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-invoker-plugin</artifactId>
          <version>2.0.0</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>
    <!-- start of granite profile -->
    <profile>
      <id>granite</id>
      <build>
        <plugins>
          <plugin>
            <groupId>com.adobe.granite.maven</groupId>
            <artifactId>quickstart-maven-plugin</artifactId>
            <configuration>
              <quickstartId>crx</quickstartId>
              <productName>Adobe Granite</productName>
              <modelPattern>base-granite-model.txt</modelPattern>
              <!-- Integration Test configuration -->
              <testModes>
                <param>granite</param>
                <param>granite-only</param>
              </testModes>
              <quickstartVMOptions>-Xmx1200m -XX:MaxPermSize=300m -Djava.awt.headless=true ${quickstart.vm.args}</quickstartVMOptions>
              <quickstartConfigurations>
                <quickstartConfiguration>
                  <runmode>author${testing.additional.runmode}</runmode>
                </quickstartConfiguration>
                <quickstartConfiguration>
                  <runmode>publish${testing.additional.runmode}</runmode>
                </quickstartConfiguration>
                <quickstartConfiguration>
                  <runmode>publish${testing.additional.runmode}</runmode>
                </quickstartConfiguration>
              </quickstartConfigurations>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-failsafe-plugin</artifactId>
            <configuration>
              <argLine>-Xmx256M</argLine>
              <systemPropertiesFile>${quickstart.properties.file}</systemPropertiesFile>
              <systemPropertyVariables>
                <!--
                  Configuration for the log file test.
                  The following are exclude patterns that are ignored
                -->
                <!--
                     https://bugs.day.com/bugzilla/show_bug.cgi?id=29628
                -->
                <granite.testing.logfile.excludes.1>ItemStateReferenceCache overwriting cached entry</granite.testing.logfile.excludes.1>
                <granite.testing.logfile.excludes.3>No such authorizable</granite.testing.logfile.excludes.3>

                <!--
                      JCR-3406
                 -->
                <granite.testing.logfile.excludes.4>org.apache.jackrabbit.core.cluster.ClusterNode No record prepared.</granite.testing.logfile.excludes.4>
                <granite.testing.logfile.excludes.6>Item#refresh invokes Session#refresh!</granite.testing.logfile.excludes.6>

                <!--
                      GRANITE-4712
                 -->
                <granite.testing.logfile.excludes.7>*Logback Status*</granite.testing.logfile.excludes.7>

                <!--
                      GRANITE-11369 (replacing formerly excluded GRANITE-5702)
                 -->
                <granite.testing.logfile.excludes.8>No discovery available, therefore not executing job org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate</granite.testing.logfile.excludes.8>
                <granite.testing.logfile.excludes.9>No discovery available, therefore not executing job org.apache.sling.distribution.trigger.impl.ScheduledDistributionTrigger$ScheduledDistribution@</granite.testing.logfile.excludes.9>

                <!--
                      GRANITE-6938 remove once OAK-2115 is implemented and in the quickstart
                 -->
                <granite.testing.logfile.excludes.10>org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStore Failed to create checkpoint</granite.testing.logfile.excludes.10>
                <granite.testing.logfile.excludes.11>org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate Unable to retrieve newly created checkpoint</granite.testing.logfile.excludes.11>

                <!--
                     Ignore warnings from jcr.resource for now
                -->
                <granite.testing.logfile.excludes.13>DEPRECATION WARNING: JcrResourceResolverFactory is deprecated. Please use ResourceResolverFactory instead.</granite.testing.logfile.excludes.13>
                <granite.testing.logfile.excludes.14>DEPRECATION WARNING: JcrPropertyMap is deprecated. Please switch to resource API.</granite.testing.logfile.excludes.14>

                <!--
                  GRANITE-11389, can be removed after FELIX-5186 gets into quickstart
                -->
                <granite.testing.logfile.excludes.15>Cannot create component instance due to failure to bind reference</granite.testing.logfile.excludes.15>
                <granite.testing.logfile.excludes.16>Failed creating the component instance; see log for reason</granite.testing.logfile.excludes.16>

              </systemPropertyVariables>
              <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>
              <excludes>
                <exclude>com/day/cq/quickstart/it/*.*</exclude>
              </excludes>
            </configuration>
            <executions>
              <execution>
                <goals>
                  <goal>integration-test</goal>
                  <goal>verify</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <!-- end of granite profile -->

    <!-- start of release profile -->
    <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>
                <excludedPackage>com.adobe.cq.wcm.core.components.models</excludedPackage>
                <excludedPackage>com.adobe.cq.wcm.core.components.models.form</excludedPackage>
                <excludedPackage>we.retail.core</excludedPackage>
                <excludedPackage>we.retail.core.model</excludedPackage>
                <excludedPackage>we.retail.core.model.handler</excludedPackage>
                <excludedPackage>we.retail.core.tools</excludedPackage>
                <excludedPackage>we.retail.core.util</excludedPackage>
                <excludedPackage>com.adobe.cq.dam.dm.delivery.api</excludedPackage>
                <excludedPackage>com.adobe.cq.dam.dm.icc.api</excludedPackage>
                <excludedPackage>com.adobe.cq.dam.dm.process.api</excludedPackage>
                <excludedPackage>com.adobe.cq.dam.dm.internalapi</excludedPackage>
                <excludedPackage>com.adobe.cq.dam.dm.internalapi.tools</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://docs.oracle.com/javase/7/docs/api/</javadocLink>
                <javadocLink>http://tomcat.apache.org/tomcat-8.0-doc/servletapi/</javadocLink>
                <javadocLink>http://www.day.com/maven/jsr170/javadocs/jcr-2.0/</javadocLink>
                <javadocLink>http://sling.apache.org/apidocs/sling8/</javadocLink>
                <javadocLink>http://jackrabbit.apache.org/api/2.14/</javadocLink>
                <javadocLink>https://osgi.org/javadoc/r6/core/</javadocLink>
                <javadocLink>https://osgi.org/javadoc/r6/annotation/</javadocLink>
                <javadocLink>https://osgi.org/javadoc/r6/cmpn/</javadocLink>
                <javadocLink>http://commons.apache.org/proper/commons-io/javadocs/api-2.5/</javadocLink>
                <javadocLink>http://commons.apache.org/proper/commons-imaging/apidocs/</javadocLink>
                <javadocLink>http://commons.apache.org/proper/commons-exec/apidocs/</javadocLink>
                <javadocLink>http://commons.apache.org/proper/commons-lang/javadocs/api-3.5/</javadocLink>
                <javadocLink>http://commons.apache.org/proper/commons-collections/javadocs/api-3.2.2/</javadocLink>
                <javadocLink>http://commons.apache.org/proper/commons-codec/archives/1.10/apidocs/</javadocLink>
                <javadocLink>http://commons.apache.org/proper/commons-compress/javadocs/api-1.13/</javadocLink>
                <javadocLink>http://commons.apache.org/proper/commons-fileupload/apidocs/</javadocLink>
                <javadocLink>http://commons.apache.org/proper/commons-math/javadocs/api-2.2/</javadocLink>
                <javadocLink>http://commons.apache.org/proper/commons-email/javadocs/api-1.2/</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>
    <!-- end of release profile -->

    <!-- start of smoke-it profile -->
    <profile>
      <id>smoke-it</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>com.adobe.granite.maven</groupId>
            <artifactId>quickstart-maven-plugin</artifactId>
            <configuration>
              <quickstartConfigurations>
                <quickstartConfiguration>
                  <runmode>author${testing.additional.runmode}</runmode>
                </quickstartConfiguration>
                <quickstartConfiguration>
                  <runmode>publish${testing.additional.runmode}</runmode>
                </quickstartConfiguration>
              </quickstartConfigurations>
              <skipQuickstart>${skip.quickstart}</skipQuickstart>
              <testModes>
                <param>granite</param>
                <param>aem</param>
              </testModes>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    <!-- end of smoke-it profile -->

    <!-- start of evergreen-it profile -->
    <profile>
      <id>evergreen-it</id>
      <activation>
        <activeByDefault>false</activeByDefault>
      </activation>
      <build>
        <plugins>
          <!-- For starting AEM author and publish-->
          <plugin>
            <groupId>com.adobe.granite.maven</groupId>
            <artifactId>quickstart-maven-plugin</artifactId>
            <configuration>
              <testModes>
                <param>granite</param>
                <param>aem</param>
                <param>packages-evergreen</param>
              </testModes>
              <quickstartConfigurations>
                <quickstartConfiguration>
                  <runmode>author${testing.additional.runmode}</runmode>
                </quickstartConfiguration>
                <quickstartConfiguration>
                  <runmode>publish${testing.additional.runmode}</runmode>
                </quickstartConfiguration>
              </quickstartConfigurations>
              <skipQuickstart>${skip.quickstart}</skipQuickstart>
              <testGroups>
                <testGroup>
                  <testRunmode>${test.group}</testRunmode>
                  <destination>${evergreen.modules.destination}/${test.group}</destination>
                </testGroup>
              </testGroups>
            </configuration>
          </plugin>

          <!-- Run normal failsafe tests before and maybe skip -->
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-failsafe-plugin</artifactId>
            <configuration>
              <systemPropertiesFile>${quickstart.properties.file}</systemPropertiesFile>
              <skip>${skipSmokeTests}</skip>
            </configuration>
          </plugin>

          <!-- For running the IT modules -->
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-invoker-plugin</artifactId>
            <configuration>
              <projectsDirectory>${evergreen.modules.destination}</projectsDirectory>

              <pomIncludes>
                <pomInclude>*/*/pom.xml</pomInclude>
              </pomIncludes>

              <postBuildHookScript>verify</postBuildHookScript>
              <streamLogs>true</streamLogs>

              <profiles>
                <profile>test-all</profile>
                <profile>category-non-failing</profile>
              </profiles>
              <goals>
                <goal>verify</goal>
              </goals>
              <properties>
                <system.properties.file>${quickstart.properties.file}</system.properties.file>
                <test.server.mock.host>${test.server.mock.host}</test.server.mock.host>
                <filterCategory>${filterCategory}</filterCategory>
                <sling.it.ignorelist>${sling.it.ignorelist}</sling.it.ignorelist>
                <!-- Serverside tests optimisation of ephemeral ports -->
                <http.maxConnections>100</http.maxConnections>
              </properties>
            </configuration>
            <executions>
              <execution>
                <id>test-all</id>
                <goals>
                  <goal>integration-test</goal>
                  <goal>verify</goal>
                  <goal>report</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-site</artifactId>
            <version>2.0.1</version>
            <configuration />
          </plugin>
        </plugins>
      </build>
    </profile>
    <!-- end of evergreen-it profile -->

    <!-- start of all-granite-it profile -->
    <profile>
      <id>all-granite-it</id>
      <activation>
        <activeByDefault>false</activeByDefault>
      </activation>
      <build>
      <plugins>
        <plugin>
          <groupId>com.adobe.granite.maven</groupId>
          <artifactId>quickstart-maven-plugin</artifactId>
          <configuration>
            <testModes>
              <param>granite</param>
              <param>granite-only</param>
          </testModes>
              <quickstartConfigurations>
                  <quickstartConfiguration>
                      <runmode>author${testing.additional.runmode}</runmode>
                  </quickstartConfiguration>
                  <quickstartConfiguration>
                      <runmode>publish${testing.additional.runmode}</runmode>
                  </quickstartConfiguration>
              </quickstartConfigurations>
          </configuration>
        </plugin>

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-failsafe-plugin</artifactId>
            <configuration>
                <argLine>-Xmx256M</argLine>
                <systemPropertiesFile>${quickstart.properties.file}</systemPropertiesFile>
                <systemPropertyVariables>
                  <!--
                    Configuration for the log file test.
                    The following are exclude patterns that are ignored
                  -->
                  <!--
                       https://bugs.day.com/bugzilla/show_bug.cgi?id=29628
                  -->
                  <granite.testing.logfile.excludes.1>ItemStateReferenceCache overwriting cached entry</granite.testing.logfile.excludes.1>
                  <granite.testing.logfile.excludes.3>No such authorizable</granite.testing.logfile.excludes.3>

                  <!--
                        JCR-3406
                   -->
                  <granite.testing.logfile.excludes.4>org.apache.jackrabbit.core.cluster.ClusterNode No record prepared.</granite.testing.logfile.excludes.4>
                  <granite.testing.logfile.excludes.6>Item#refresh invokes Session#refresh!</granite.testing.logfile.excludes.6>

                  <!--
                        GRANITE-4712
                   -->
                  <granite.testing.logfile.excludes.7>*Logback Status*</granite.testing.logfile.excludes.7>

                  <!--
                        GRANITE-11369 (replacing formerly excluded GRANITE-5702)
                   -->
                  <granite.testing.logfile.excludes.8>No discovery available, therefore not executing job org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate</granite.testing.logfile.excludes.8>
                  <granite.testing.logfile.excludes.9>No discovery available, therefore not executing job org.apache.sling.distribution.trigger.impl.ScheduledDistributionTrigger$ScheduledDistribution@</granite.testing.logfile.excludes.9>

                  <!--
                        GRANITE-6938 remove once OAK-2115 is implemented and in the quickstart
                   -->
                  <granite.testing.logfile.excludes.10>org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStore Failed to create checkpoint</granite.testing.logfile.excludes.10>
                  <granite.testing.logfile.excludes.11>org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate Unable to retrieve newly created checkpoint</granite.testing.logfile.excludes.11>

                  <!--
                       Ignore warnings from jcr.resource for now
                  -->
                  <granite.testing.logfile.excludes.13>DEPRECATION WARNING: JcrResourceResolverFactory is deprecated. Please use ResourceResolverFactory instead.</granite.testing.logfile.excludes.13>
                  <granite.testing.logfile.excludes.14>DEPRECATION WARNING: JcrPropertyMap is deprecated. Please switch to resource API.</granite.testing.logfile.excludes.14>

                  <!--
                    GRANITE-11389, can be removed after FELIX-5186 gets into quickstart
                  -->
                  <granite.testing.logfile.excludes.15>Cannot create component instance due to failure to bind reference</granite.testing.logfile.excludes.15>
                  <granite.testing.logfile.excludes.16>Failed creating the component instance; see log for reason</granite.testing.logfile.excludes.16>

                  </systemPropertyVariables>
                  <runOrder>alphabetical</runOrder>
                  <classpathDependencyExcludes>
                      <classpathDependencyExclude>org.apache.sling:org.apache.sling.commons.log</classpathDependencyExclude>
                  </classpathDependencyExcludes>
                  <excludes>
                      <exclude>com/day/cq/quickstart/it/*.*</exclude>
                  </excludes>
              </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    <!-- end of all-granite-it profile -->

    <!-- start of it-pubsync profile -->
    <profile>
      <id>it-pubsync</id>
      <activation>
        <activeByDefault>false</activeByDefault>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-failsafe-plugin</artifactId>
            <configuration>
              <argLine>-Xmx256M</argLine>
              <systemPropertiesFile>${quickstart.properties.file}</systemPropertiesFile>
              <runOrder>alphabetical</runOrder>
              <classpathDependencyExcludes>
                <classpathDependencyExclude>org.apache.sling:org.apache.sling.commons.log</classpathDependencyExclude>
              </classpathDependencyExcludes>
              <includes>
                <include>com/adobe/granite/distribution/it/http/*.*</include>
                <include>com/adobe/granite/replication/it/http/*.*</include>
              </includes>
            </configuration>
          </plugin>
          <plugin>
            <groupId>com.adobe.granite.maven</groupId>
            <artifactId>quickstart-maven-plugin</artifactId>
            <configuration>
              <testModes>
                <param>granite</param>
                <param>granite-only</param>
              </testModes>
              <quickstartConfigurations>
                <quickstartConfiguration>
                  <runmode>author${testing.additional.runmode}</runmode>
                </quickstartConfiguration>
                <quickstartConfiguration>
                  <runmode>publish${testing.additional.runmode}</runmode>
                </quickstartConfiguration>
                <quickstartConfiguration>
                  <id>publish2</id>
                  <runmode>publish${testing.additional.runmode}</runmode>
                </quickstartConfiguration>
              </quickstartConfigurations>
              <quickstartReadyTimeOutSec>2000</quickstartReadyTimeOutSec>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    <!-- end of it-pubsync profile -->

    <!-- start of codeCoverage profile -->
    <profile>
        <id>codeCoverage</id>
        <properties>
            <!-- start the 0.7.2.201409121644 agent with quickstart for code coverage of IT tests -->
            <jacocoResultFileName>jacoco-it.exec</jacocoResultFileName>
            <quickstart.vm.args.codeCoverage>
            -javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${jacocoResultFileName},append=true,output=file
            </quickstart.vm.args.codeCoverage>
        </properties>
    </profile>
    <!-- start of codeCoverage 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.34</version>
      <scope>provided</scope>
    </dependency>

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

    <dependency>
      <groupId>com.adobe.granite</groupId>
      <artifactId>com.adobe.granite.testing.clients</artifactId>
      <version>1.2.4</version>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.12</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>org.jacoco</groupId>
      <artifactId>org.jacoco.agent</artifactId>
      <version>${jacoco.version}</version>
      <classifier>runtime</classifier>
    </dependency>
  </dependencies>
</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy