user-agent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.boeboe</groupId> <artifactId>user-agent</artifactId> <version>1.0.2</version> </dependency>
<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>io.github.boeboe</groupId> <artifactId>user-agent</artifactId> <version>1.0.2</version> <name>User Agent Library</name> <description>Library to generate random and latest browser user agents.</description> <url>https://github.com/boeboe/useragent-java</url> <licenses> <license> <name>Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <id>boeboe</id> <name>Bart van Bos</name> <email>bartvanbos@gmail.com</email> </developer> </developers> <scm> <connection>scm:git:git://github.com/boeboe/useragent-java.git</connection> <developerConnection>scm:git:ssh://github.com:boeboe/useragent-java.git</developerConnection> <url>http://github.com/boeboe/useragent-java/tree/master</url> </scm> <properties> <java.version>21</java.version> <maven.version>3.6.3</maven.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.target>${java.version}</maven.compiler.target> <!-- Dependencies --> <jackson-databind.version>2.18.2</jackson-databind.version> <slf4j.version>2.0.16</slf4j.version> <logback-classic.version>1.5.16</logback-classic.version> <!-- Test Dependencies --> <junit.version>5.11.4</junit.version> <!-- Plugins --> <maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version> <maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version> <maven-source-plugin.version>3.3.1</maven-source-plugin.version> <maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version> <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> <versions-maven-plugin.version>2.18.0</versions-maven-plugin.version> <maven-failsafe-plugin.version>3.5.2</maven-failsafe-plugin.version> <jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version> <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> <maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version> </properties> <dependencies> <!-- Jackson for JSON --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson-databind.version}</version> </dependency> <!-- SLF4J for logging --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${logback-classic.version}</version> </dependency> <!-- Test dependencies --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*</include> </includes> <excludes> <exclude>**/README.md</exclude> </excludes> </resource> </resources> <plugins> <!-- Maven Compiler Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <release>${java.version}</release> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <!-- Javadoc JAR Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- Source JAR 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</goal> </goals> </execution> </executions> </plugin> <!-- Maven Enforcer Plugin to enforce Maven version requirements --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${maven-enforcer-plugin.version}</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>[${maven.version},)</version> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> <!-- Maven Surefire Plugin for running unit tests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <configuration> <includes> <include>**/*Test.java</include> </includes> </configuration> </plugin> <!-- Maven Failsafe Plugin for running integration tests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven-failsafe-plugin.version}</version> <executions> <execution> <id>integration-tests</id> <phase>verify</phase> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> <configuration> <includes> <include>**/*IT.java</include> </includes> </configuration> </execution> </executions> </plugin> <!-- Versions Maven Plugin --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>${versions-maven-plugin.version}</version> <configuration> <ruleSet> <ignoreVersions> <ignoreVersion> <type>regex</type> <version>.*[-.](alpha|beta|rc|m|M)[-.0-9]*</version> </ignoreVersion> </ignoreVersions> </ruleSet> </configuration> </plugin> <!-- Central Publishing Maven Plugin --> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>${central-publishing-maven-plugin.version}</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <autoPublish>true</autoPublish> </configuration> </plugin> <!-- Maven GPG 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> </plugins> </build> </project>