unirest-java-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.konghq</groupId> <artifactId>unirest-java-parent</artifactId> <version>4.4.7</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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> <groupId>com.konghq</groupId> <artifactId>unirest-java-parent</artifactId> <packaging>pom</packaging> <version>4.4.7</version> <name>unirest</name> <description>Parent pom for unirest packages</description> <url>http://github.com/Kong/unirest-java/</url> <licenses> <license> <name>MIT</name> <url>http://opensource.org/licenses/MIT</url> <distribution>repo</distribution> </license> </licenses> <modules> <module>unirest</module> <module>unirest-modules-gson</module> <module>unirest-modules-jackson</module> <module>unirest-modules-mocks</module> <module>unirest-bdd-tests</module> <module>unirest-java-bom</module> <!--<module>bad-maven-test</module>--> </modules> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <jackson.version>2.18.3</jackson.version> <main.dir>${project.basedir}</main.dir> <junit.version>5.12.2</junit.version> <mockito.version>5.17.0</mockito.version> <maven-checkstyle-plugin.version>3.5.0</maven-checkstyle-plugin.version> <assertj.version>3.27.3</assertj.version> <maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version> </properties> <scm> <url>https://github.com/Kong/unirest-java</url> <connection>scm:git:git@github.com:Kong/unirest-java.git</connection> <developerConnection>scm:git:git@github.com:Kong/unirest-java.git</developerConnection> <tag>v4.4.7</tag> </scm> <developers> <developer> <id>Ryber</id> <name>Ryan Bergman</name> <url>https://github.com/ryber</url> <roles> <role>Maintainer</role> </roles> </developer> </developers> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <profiles> <profile> <id>ossrh</id> <build> <plugins> <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> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <build> <plugins> <plugin> <groupId>com.mycila.maven-license-plugin</groupId> <artifactId>maven-license-plugin</artifactId> <version>1.8.0</version> <configuration> <!-- Template location --> <header>${main.dir}/build/fileHeader.txt</header> <strictCheck>true</strictCheck> <excludes> <exclude>**/*.scss</exclude> <exclude>**/*.b64</exclude> <exclude>**/*.svg</exclude> <exclude>**/Gemfile</exclude> <exclude>.java-version</exclude> <exclude>.java-version</exclude> <exclude>**/*.js</exclude> <exclude>**/*.json</exclude> <exclude>**/*.p12</exclude> <exclude>**/*.pem</exclude> <exclude>**/*.html</exclude> <exclude>**/*.xml</exclude> <exclude>**/*.txt</exclude> <exclude>**/*.log</exclude> <exclude>**/*.md</exclude> <exclude>**/*.yml</exclude> <exclude>.idea/**</exclude> <exclude>.github/**</exclude> <exclude>**/*.scssc</exclude> <exclude>**/.jekyll-metadata</exclude> <exclude>.git*</exclude> <exclude>LICENSE</exclude> <exclude>Gemfile.lock</exclude> </excludes> </configuration> <executions> <execution> <phase>validate</phase> <goals> <goal>format</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.1.0</version> <configuration> <archive> <manifestEntries> <Built-By>Unirest</Built-By> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven-checkstyle-plugin.version}</version> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>10.18.0</version> </dependency> </dependencies> <executions> <execution> <phase>compile</phase> <id>auto-checkstyle</id> <goals> <goal>checkstyle</goal> <goal>check</goal> </goals> </execution> </executions> <configuration> <configLocation>build/checkstyle.xml</configLocation> <suppressionsLocation>build/suppressions.xml</suppressionsLocation> <logViolationsToConsole>true</logViolationsToConsole> <consoleOutput>true</consoleOutput> <linkXRef>false</linkXRef> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <configuration> <argLine>-Duser.timezone=UTC</argLine> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>default-report</id> <goals> <goal>report</goal> </goals> </execution> <execution> <id>default-check</id> <goals> <goal>check</goal> </goals> <configuration> <rules> <rule> <element>BUNDLE</element> <limits> <limit implementation="org.jacoco.report.check.Limit"> <counter>COMPLEXITY</counter> <value>COVEREDRATIO</value> <minimum>0.60</minimum> </limit> </limits> </rule> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.0.0</version> <configuration> <tagNameFormat>v@{project.version}</tagNameFormat> </configuration> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.13</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> <configuration> <fork>true</fork> <meminitial>128m</meminitial> <maxmem>512m</maxmem> <source>11</source> <target>11</target> <encoding>UTF-8</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</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> <version>3.8.0</version> <configuration> <source>11</source> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <!-- common testing dependencies --> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.assertj/assertj-core --> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${assertj.version}</version> <scope>test</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.assertj/assertj-guava --> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-guava</artifactId> <version>${assertj.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.skyscreamer</groupId> <artifactId>jsonassert</artifactId> <version>1.5.3</version> <scope>test</scope> </dependency> <!-- https://mvnrepository.com/artifact/com.google.guava/guava --> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>33.4.8-jre</version> <scope>test</scope> </dependency> </dependencies> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven-checkstyle-plugin.version}</version> <reportSets> <reportSet> <reports> <report>checkstyle</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> </project>