aem-headless-client-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.adobe.aem.headless</groupId> <artifactId>aem-headless-client-parent</artifactId> <version>1.2.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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.adobe.aem.headless</groupId> <artifactId>aem-headless-client-parent</artifactId> <packaging>pom</packaging> <version>1.2.0</version> <name>AEM GraphQL Headless Client Parent</name> <description>AEM GraphQL Headless Client Parent Parent Pom</description> <url>https://github.com/adobe/aem-headless-client-java</url> <organization> <name>Adobe</name> <url>https://www.adobe.com/</url> </organization> <licenses> <license> <name>Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <name>Adobe AEM Sites Team</name> </developer> </developers> <scm> <connection>scm:git:https://github.com/adobe/aem-headless-client-java.git</connection> <developerConnection>scm:git:https://github.com/adobe/aem-headless-client-java.git</developerConnection> <url>https://github.com/adobe/aem-headless-client-java/tree/main</url> <tag>aem-headless-client-reactor-1.2.0</tag> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <aem.host>localhost</aem.host> <aem.port>4502</aem.port> <aem.publish.host>localhost</aem.publish.host> <aem.publish.port>4503</aem.publish.port> <sling.user>admin</sling.user> <sling.password>admin</sling.password> <slf4j.version>1.7.6</slf4j.version> <jacoco.version>0.8.3</jacoco.version> <java.version>1.8</java.version> <mockitio.version>2.24.5</mockitio.version> </properties> <!-- ======================================================================= --> <!-- R E P O R T I N G --> <!-- ======================================================================= --> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <configuration> <stylesheet>java</stylesheet> <encoding>${project.build.sourceEncoding}</encoding> <source>${java.version}</source> <detectJavaApiLink>false</detectJavaApiLink> <excludePackageNames>*.impl:*.internal:*.internal.*</excludePackageNames> </configuration> </plugin> </plugins> </reporting> <!-- ======================================================================= --> <!-- B U I L D --> <!-- ======================================================================= --> <build> <!-- allows shorthand "mvn" to run a normal "mvn clean install" build --> <defaultGoal>clean install</defaultGoal> <pluginManagement> <plugins> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.5.2</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <configuration> <encoding>${project.build.sourceEncoding}</encoding> </configuration> <version>2.7</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.2</version> <configuration> <scmCommentPrefix>@releng [maven-scm] :</scmCommentPrefix> <releaseProfiles>release</releaseProfiles> <useReleaseProfile>false</useReleaseProfile> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> <configuration> <argLine>-Xmx1024m</argLine> <useSystemClassLoader>false</useSystemClassLoader> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>2.18.1</version> </plugin> <plugin> <groupId>org.apache.sling</groupId> <artifactId>maven-sling-plugin</artifactId> <version>2.1.0</version> <executions> <execution> <id>install-bundle</id> <goals> <goal>install</goal> </goals> </execution> </executions> <configuration> <slingUrl>http://${aem.host}:${aem.port}${aem.contextPath}/system/console/bundles</slingUrl> <failOnError>true</failOnError> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>4.2.1</version> <executions> <execution> <id>baseline</id> <goals> <goal>baseline</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0-M3</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>[3.3.1,)</version> </requireMavenVersion> <requireJavaVersion> <message>Project must be compiled with Java ${java.version} or higher</message> <version>${java.version}</version> </requireJavaVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.9.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <configuration> <stylesheet>java</stylesheet> <encoding>${project.build.sourceEncoding}</encoding> <source>${java.version}</source> <detectJavaApiLink>false</detectJavaApiLink> <excludePackageNames>*.impl:*.internal:*.internal.*</excludePackageNames> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>0.12</version> <configuration> <excludes combine.children="append"> <!-- Used by maven-remote-resources-plugin --> <exclude>**/src/main/appended-resources/META-INF/*</exclude> <!-- Generated by maven-remote-resources-plugin --> <exclude>velocity.log</exclude> <!-- don't check anything in target --> <exclude>**/target/*</exclude> <!-- README files in markdown format --> <exclude>**/*.md</exclude> <!-- Ignore files generated by IDE plugins e.g. maven-eclipse-plugin --> <exclude>maven-eclipse.xml</exclude> <!-- Ignore VLT .content.xml files + dialog configurations --> <exclude>**/jcr_root/**/*.xml</exclude> <!-- Ignore auto-generated VLT file --> <exclude>**/META-INF/vault/settings.xml</exclude> <!-- Ignore .vltignore files --> <exclude>**/.vltignore</exclude> <!-- Ignore .vlt files --> <exclude>**/.vlt</exclude> <!-- Ignore .svg files --> <exclude>**/*.svg</exclude> <!-- Exclude all JSON files --> <exclude>**/*.json</exclude> <!-- Generated for release source archives --> <exclude>DEPENDENCIES</exclude> <!-- .rej files from svn/patch --> <exclude>**/*.rej</exclude> <!-- Jenkins build pipeline configuration file --> <exclude>Jenkinsfile</exclude> <exclude>jenkinsfiles/**/*</exclude> <!-- Ignore IDEA files --> <exclude>**/*.iml</exclude> <!-- Ignore lint-files --> <exclude>**/*.eslintrc</exclude> <exclude>**/*.editorconfig</exclude> <exclude>**/*.stylelintrc.yaml</exclude> <exclude>**/*.eslintignore</exclude> <!-- Ignore Node and npm --> <exclude>**/node/**</exclude> <exclude>**/node_modules/**</exclude> <!-- Ignore github templates --> <exclude>**/.github/**</exclude> <!-- Ignore mockito extensions config --> <exclude>**/test/resources/mockito-extensions/*</exclude> </excludes> </configuration> <executions> <execution> <phase>verify</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> </plugin> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>4.0.4</version> <configuration> <effort>Max</effort> <xmlOutput>true</xmlOutput> </configuration> <executions> <execution> <id>find-bugs</id> <phase>process-classes</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> </plugin> </plugins> </build> <profiles> <!-- ====================================================== --> <!-- A D O B E P U B L I C P R O F I L E --> <!-- ====================================================== --> <profile> <id>adobe-public</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>adobe-public-releases</id> <name>Adobe Public Repository</name> <url>https://repo.adobe.com/nexus/content/groups/public/</url> <layout>default</layout> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>adobe-public-releases</id> <name>Adobe Public Repository</name> <url>https://repo.adobe.com/nexus/content/groups/public/</url> <layout>default</layout> </pluginRepository> </pluginRepositories> </profile> <profile> <!-- This is the release profile. --> <id>release</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.7</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> <stagingProgressTimeoutMinutes>20</stagingProgressTimeoutMinutes> </configuration> </plugin> </plugins> </build> </profile> </profiles> <!-- ====================================================================== --> <!-- D E P E N D E N C I E S --> <!-- ====================================================================== --> <dependencyManagement> <dependencies> <dependency> <groupId>org.jetbrains</groupId> <artifactId>annotations</artifactId> <version>17.0.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.13.4</version> </dependency> <!-- Testing --> <dependency> <groupId>org.junit</groupId> <artifactId>junit-bom</artifactId> <version>5.3.2</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockitio.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>${mockitio.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-mockito2</artifactId> <version>2.0.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> <version>1.6.4</version> <scope>test</scope> </dependency> <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-core</artifactId> <version>1.6.4</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> <version>1.3</version> <scope>test</scope> </dependency> </dependencies> </dependencyManagement> <!-- Deploy to the Maven Repositories using WebDAV URLs. This enables abstracting the real location of the repositories and better access control. Finally it mirrors read and write operations through the same mechanism. NOTE: To use these dav: URLs, the WebDAV extension to Maven Wagon must be declared in the build section above. --> <distributionManagement> <repository> <id>${releaseRepository-Id}</id> <url>${releaseRepository-URL}</url> </repository> <snapshotRepository> <id>${snapshotRepository-Id}</id> <url>${snapshotRepository-URL}</url> <uniqueVersion>false</uniqueVersion> </snapshotRepository> </distributionManagement> </project>