core-cif-components-extensions-product-recs-bundle
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.adobe.commerce.cif</groupId> <artifactId>core-cif-components-extensions-product-recs-bundle</artifactId> <version>2.27.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2021 Adobe Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.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.adobe.commerce.cif</groupId> <artifactId>core-cif-components-parent</artifactId> <version>2.27.0</version> <relativePath>../../../parent/pom.xml</relativePath> </parent> <artifactId>core-cif-components-extensions-product-recs-bundle</artifactId> <version>2.27.0</version> <packaging>bundle</packaging> <name>AEM CIF Core Components - Products Recommendations Bundle</name> <url>https://github.com/adobe/aem-core-cif-components</url> <scm> <connection>scm:git:https://github.com/adobe/aem-core-cif-components</connection> <developerConnection>scm:git:git@github.com:adobe/aem-core-cif-components.git</developerConnection> <url>https://github.com/adobe/aem-core-cif-components</url> <tag>core-cif-components-reactor-2.27.0</tag> </scm> <organization> <name>Adobe</name> <url>https://www.adobe.com</url> </organization> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <!-- ====================================================================== --> <!-- P R O P E R T I E S --> <!-- ====================================================================== --> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <vault.package.version>${project.version}</vault.package.version> <jacoco.data.file>${project.build.directory}/jacoco.exec</jacoco.data.file> <formatter.config>../../../eclipse-formatter.xml</formatter.config> <baseline.skip>false</baseline.skip> </properties> <!-- ====================================================================== --> <!-- B U I L D D E F I N I T I O N --> <!-- ====================================================================== --> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <executions> <execution> <id>scr-metadata</id> <goals> <goal>manifest</goal> </goals> <configuration> <supportIncrementalBuild>true</supportIncrementalBuild> </configuration> </execution> </executions> <configuration> <exportScr>true</exportScr> <instructions> <!-- Enable registration of Sling Models classes via bnd plugin --> <_plugin>org.apache.sling.bnd.models.ModelsScannerPlugin</_plugin> <!-- Enable processing of OSGI DS component annotations --> <_dsannotations>*</_dsannotations> <!-- Enable processing of OSGI metatype annotations --> <_metatypeannotations>*</_metatypeannotations> <Import-Package> javax.annotation;version=0.0.0, * </Import-Package> </instructions> </configuration> <dependencies> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.bnd.models</artifactId> <version>1.0.0</version> </dependency> </dependencies> </plugin> <plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> </plugin> <plugin> <groupId>net.revelc.code</groupId> <artifactId>impsort-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <source>${aem.java.version}</source> <quiet>true</quiet> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <!-- ====================================================================== --> <!-- P R O F I L E S --> <!-- ====================================================================== --> <profiles> <profile> <id>runCodeCoverageCheck</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <executions> <execution> <id>default-instrument</id> <goals> <goal>instrument</goal> </goals> </execution> <execution> <id>default-restore-instrumented-classes</id> <goals> <goal>restore-instrumented-classes</goal> </goals> </execution> <execution> <id>check-coverage</id> <goals> <goal>check</goal> </goals> <configuration> <haltOnFailure>true</haltOnFailure> <dataFile>${jacoco.data.file}</dataFile> <rules> <rule> <element>BUNDLE</element> <limits> <limit> <counter>BRANCH</counter> <value>COVEREDRATIO</value> <minimum>0.80</minimum> </limit> </limits> </rule> <rule> <element>CLASS</element> <limits> <limit> <counter>INSTRUCTION</counter> <value>COVEREDRATIO</value> <minimum>0.80</minimum> </limit> </limits> </rule> </rules> </configuration> </execution> <execution> <id>report</id> <phase>prepare-package</phase> <goals> <goal>report</goal> </goals> <configuration> <dataFile>${jacoco.data.file}</dataFile> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <systemPropertyVariables> <jacoco-agent.destfile>${jacoco.data.file}</jacoco-agent.destfile> </systemPropertyVariables> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.jacoco</groupId> <artifactId>org.jacoco.agent</artifactId> <version>${jacoco.version}</version> <classifier>runtime</classifier> <scope>test</scope> </dependency> </dependencies> </profile> <profile> <id>ignoreCodeCoverageCheck</id> <activation> <property> <name>env.USE_SPROUT_BUILD_PROFILE</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> </plugins> </build> </profile> <profile> <id>autoInstallPackage</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.apache.sling</groupId> <artifactId>maven-sling-plugin</artifactId> <executions> <execution> <id>install-bundle</id> <goals> <goal>install</goal> </goals> </execution> </executions> <configuration> <slingUrl>http://${aem.host}:${aem.port}${aem.contextPath}/system/console</slingUrl> <failOnError>true</failOnError> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>autoInstallPackagePublish</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.apache.sling</groupId> <artifactId>maven-sling-plugin</artifactId> <executions> <execution> <id>install-bundle</id> <goals> <goal>install</goal> </goals> </execution> </executions> <configuration> <slingUrl>http://${aem.publish.host}:${aem.publish.port}/system/console</slingUrl> <failOnError>true</failOnError> </configuration> </plugin> </plugins> </build> </profile> </profiles> <!-- ====================================================================== --> <!-- D E P E N D E N C I E S --> <!-- ====================================================================== --> <dependencies> <dependency> <groupId>com.adobe.commerce.cif</groupId> <artifactId>core-cif-components-core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>javax.jcr</groupId> <artifactId>jcr</artifactId> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi.annotation</artifactId> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>org.apache.jackrabbit</groupId> <artifactId>jackrabbit-jcr-commons</artifactId> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.commons.osgi</artifactId> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.i18n</artifactId> </dependency> <dependency> <groupId>com.adobe.aem</groupId> <artifactId>uber-jar</artifactId> </dependency> <dependency> <groupId>com.adobe.commerce.cif</groupId> <artifactId>graphql-client</artifactId> <version>${graphql.client.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.adobe.commerce.cif</groupId> <artifactId>magento-graphql</artifactId> <version>${magento.graphql.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.adobe.cq</groupId> <artifactId>core.wcm.components.core</artifactId> <scope>provided</scope> </dependency> <!-- Testing --> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.servlet-helpers</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.api</artifactId> <version>2.18.4</version> <scope>test</scope> </dependency> <!-- for testing we need the new ResourceTypeBasedResourcePicker --> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.models.impl</artifactId> <version>1.4.16</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> </exclusion> </exclusions> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.wcm</groupId> <artifactId>io.wcm.testing.aem-mock</artifactId> <exclusions> <exclusion> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.models.impl</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> </exclusion> </exclusions> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.testing.sling-mock</artifactId> <exclusions> <!-- Exclude the older version of the API and use the one from the uber-jar --> <exclusion> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.models.api</artifactId> </exclusion> </exclusions> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.testing.caconfig-mock-plugin</artifactId> <version>1.3.2</version> <scope>test</scope> </dependency> </dependencies> </project>