test-parent-pom
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.ndviet</groupId> <artifactId>test-parent-pom</artifactId> <version>25.3.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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> <groupId>org.ndviet</groupId> <artifactId>test-parent-pom</artifactId> <name>Test Parent POM</name> <version>${revision}</version> <description>Test parent POM is used to structure the entire projects.</description> <url>https://${github.url}/${github.organization}/${github.repository}/tree/${github.branch}</url> <packaging>pom</packaging> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <id>${github.id}</id> <name>${github.name}</name> <email>${github.email}</email> <roles> <role>maintainer</role> <role>developer</role> </roles> </developer> </developers> <scm> <connection>scm:git:git@${github.url}:${github.organization}/${github.repository}.git</connection> <developerConnection>scm:git:ssh://git@${github.url}:${github.organization}/${github.repository}.git </developerConnection> <url>https://${github.url}/${github.organization}/${github.repository}/tree/${github.branch}</url> </scm> <properties> <github.url>github.com</github.url> <github.id>ndviet</github.id> <github.email>nguyenducviet4496@gmail.com</github.email> <github.name>Nguyen Duc Viet</github.name> <github.organization>ndviet</github.organization> <github.branch>master</github.branch> <github.repository>test-parent-pom</github.repository> <revision>25.3.0</revision> <test-automation-fwk.version>${revision}</test-automation-fwk.version> <test-java2robot-adapter.version>${revision}</test-java2robot-adapter.version> <java.version>17</java.version> <maven-shade-plugin.version>3.6.0</maven-shade-plugin.version> <maven-dependency-plugin.version>3.8.1</maven-dependency-plugin.version> <flatten-maven-plugin.version>1.7.0</flatten-maven-plugin.version> <maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version> <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version> <maven-source-plugin.version>3.3.1</maven-source-plugin.version> <maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version> <maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version> <nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version> <maven-release-plugin.version>3.1.1</maven-release-plugin.version> <robotframework-maven-plugin.version>2.1.0</robotframework-maven-plugin.version> <properties-maven-plugin.version>1.2.1</properties-maven-plugin.version> <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> <gmavenplus-plugin.version>4.1.1</gmavenplus-plugin.version> <apache.groovy.version>4.0.26</apache.groovy.version> <webdriverextensions-maven-plugin.version>4.0.0</webdriverextensions-maven-plugin.version> <maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version> <webdriverextensions.version>3.11.2</webdriverextensions.version> <selenium-java.version>4.30.0</selenium-java.version> <qatools.ashot>1.5.4</qatools.ashot> <snakeyaml.version>2.4</snakeyaml.version> <sshd-core.version>2.15.0</sshd-core.version> <commons-io.version>2.18.0</commons-io.version> <javalib-core.version>2.0.3</javalib-core.version> <json-path.version>2.9.0</json-path.version> <log4j2.version>2.24.3</log4j2.version> <slf4j.version>2.0.17</slf4j.version> <commons-lang3.version>3.17.0</commons-lang3.version> <jackson-databind.version>2.18.3</jackson-databind.version> <freemarker.version>2.3.34</freemarker.version> <spring-core.version>6.2.5</spring-core.version> <javalib-core.version>2.0.3</javalib-core.version> <robotframework.version>4.1.2</robotframework.version> <testng.version>7.11.0</testng.version> <cucumber-java.version>7.21.1</cucumber-java.version> <cucumber-testng.version>7.21.1</cucumber-testng.version> <cucumber-gherkin.version>7.21.1</cucumber-gherkin.version> <gherkin.version>32.0.0</gherkin.version> <rest-assured.version>5.5.1</rest-assured.version> <io.fabric8.kubernetes-client.version>7.1.0</io.fabric8.kubernetes-client.version> <apache.poi.version>5.4.0</apache.poi.version> <junit-jupiter.version>5.12.1</junit-jupiter.version> <mockito.version>5.16.1</mockito.version> <mockito-inline.version>5.2.0</mockito-inline.version> <maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.target>${java.version}</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <staging>false</staging> <release>false</release> <nexus.url>https://s01.oss.sonatype.org</nexus.url> <flattenMode>bom</flattenMode> </properties> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>${nexus.url}/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>${nexus.url}/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <dependencyManagement> <dependencies> <dependency> <groupId>com.github.webdriverextensions</groupId> <artifactId>webdriverextensions</artifactId> <version>${webdriverextensions.version}</version> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>${selenium-java.version}</version> </dependency> <dependency> <groupId>ru.yandex.qatools.ashot</groupId> <artifactId>ashot</artifactId> <version>${qatools.ashot}</version> </dependency> <dependency> <groupId>io.rest-assured</groupId> <artifactId>rest-assured</artifactId> <version>${rest-assured.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>${log4j2.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>${log4j2.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j2-impl</artifactId> <version>${log4j2.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>${commons-lang3.version}</version> </dependency> <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> <version>${snakeyaml.version}</version> </dependency> <dependency> <groupId>org.apache.sshd</groupId> <artifactId>sshd-core</artifactId> <version>${sshd-core.version}</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>${commons-io.version}</version> </dependency> <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>${json-path.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson-databind.version}</version> </dependency> <dependency> <groupId>org.freemarker</groupId> <artifactId>freemarker</artifactId> <version>${freemarker.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <version>${spring-core.version}</version> </dependency> <dependency> <groupId>org.robotframework</groupId> <artifactId>javalib-core</artifactId> <version>${javalib-core.version}</version> </dependency> <dependency> <groupId>org.robotframework</groupId> <artifactId>robotframework</artifactId> <version>${robotframework.version}</version> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>${testng.version}</version> </dependency> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-java</artifactId> <version>${cucumber-java.version}</version> </dependency> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-testng</artifactId> <version>${cucumber-testng.version}</version> </dependency> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-gherkin</artifactId> <version>${cucumber-gherkin.version}</version> </dependency> <dependency> <groupId>io.cucumber</groupId> <artifactId>gherkin</artifactId> <version>${gherkin.version}</version> </dependency> <dependency> <groupId>io.fabric8</groupId> <artifactId>kubernetes-client</artifactId> <version>${io.fabric8.kubernetes-client.version}</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>${apache.poi.version}</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>${apache.poi.version}</version> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-inline</artifactId> <version>${mockito-inline.version}</version> <scope>test</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>${maven-release-plugin.version}</version> <type>maven-plugin</type> </dependency> <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> <type>maven-plugin</type> </dependency> <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <type>maven-plugin</type> </dependency> <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> <type>maven-plugin</type> </dependency> <dependency> <groupId>org.apache.groovy</groupId> <artifactId>groovy</artifactId> <version>${apache.groovy.version}</version> <scope>runtime</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>${maven-antrun-plugin.version}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>flatten-maven-plugin</artifactId> <version>${flatten-maven-plugin.version}</version> <configuration> <updatePomFile>true</updatePomFile> <flattenMode>${flattenMode}</flattenMode> </configuration> <executions> <execution> <id>flatten</id> <phase>process-resources</phase> <goals> <goal>flatten</goal> </goals> </execution> <execution> <id>flatten.clean</id> <phase>clean</phase> <goals> <goal>clean</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>${maven-release-plugin.version}</version> <configuration> <autoVersionSubmodules>true</autoVersionSubmodules> <useReleaseProfile>false</useReleaseProfile> <releaseProfiles>release</releaseProfiles> <goals>deploy nexus-staging:release</goals> </configuration> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${nexus-staging-maven-plugin.version}</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>${nexus.url}</nexusUrl> <autoReleaseAfterClose>${release}</autoReleaseAfterClose> <stagingProgressTimeoutMinutes>20</stagingProgressTimeoutMinutes> <stagingProgressPauseDurationSeconds>5</stagingProgressPauseDurationSeconds> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <configuration> <detectJavaApiLink>false</detectJavaApiLink> </configuration> <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> <version>${maven-source-plugin.version}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.gmavenplus</groupId> <artifactId>gmavenplus-plugin</artifactId> <version>${gmavenplus-plugin.version}</version> <executions> <execution> <id>set-timestamp-property</id> <phase>initialize</phase> <goals> <goal>execute</goal> </goals> <configuration> <scripts> <script> import java.text.SimpleDateFormat def date = new Date() def sdf = new SimpleDateFormat("yyyyMMDD_HHmmssSSS") def timestamp = sdf.format(date) project.properties.put('custom.timestamp', timestamp) </script> </scripts> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${maven-enforcer-plugin.version}</version> <executions> <execution> <id>no-duplicate-declared-dependencies</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <banDuplicatePomDependencyVersions/> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.github.webdriverextensions</groupId> <artifactId>webdriverextensions-maven-plugin</artifactId> <version>${webdriverextensions-maven-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>${maven-dependency-plugin.version}</version> </plugin> <plugin> <groupId>org.robotframework</groupId> <artifactId>robotframework-maven-plugin</artifactId> <version>${robotframework-maven-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>${maven-shade-plugin.version}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>properties-maven-plugin</artifactId> <version>${properties-maven-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> </plugin> </plugins> </pluginManagement> </build> <profiles> <profile> <id>flatten-pom</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>flatten-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <activation> <property> <name>staging</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> </plugin> </plugins> </build> </profile> </profiles> </project>