diff options
Diffstat (limited to 'pom.xml')
| -rw-r--r-- | pom.xml | 198 |
1 files changed, 198 insertions, 0 deletions
@@ -0,0 +1,198 @@ +<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.github.ua-parser</groupId> + <artifactId>uap-java</artifactId> + <packaging>jar</packaging> + <version>1.4.4-SNAPSHOT</version> + <name>User Agent Parser for Java</name> + + <description> + Java implementation of the UA Parser library. Derives operating system, browser and device + metadata from a user-agent string. This library consumes the regular expression + rules defined in https://github.com/ua-parser/uap-core. + </description> + + <licenses> + <license> + <name>The Apache License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> + </license> + </licenses> + + <developers> + <developer> + <name>Benjamin Possolo</name> + <email>[email protected]</email> + <organization>UA Parser</organization> + <organizationUrl>https://github.com/ua-parser</organizationUrl> + </developer> + </developers> + + <url>https://github.com/ua-parser/uap-java</url> + + <scm> + <connection>scm:git:git://github.com/ua-parser/uap-java.git</connection> + <developerConnection>scm:git:ssh://github.com:ua-parser/uap-java.git</developerConnection> + <url>http://github.com/ua-parser/uap-java/tree/master</url> + </scm> + + <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> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <build> + <resources> + <resource> + <targetPath>ua_parser</targetPath> + <directory>${basedir}/uap-core</directory> + <includes> + <include>regexes.yaml</include> + </includes> + </resource> + </resources> + + <testResources> + <testResource> + <targetPath>ua_parser</targetPath> + <directory>${basedir}/uap-core/test_resources</directory> + <includes> + <include>*.yaml</include> + </includes> + </testResource> + <testResource> + <targetPath>ua_parser</targetPath> + <directory>${basedir}/uap-core/tests</directory> + <includes> + <include>*.yaml</include> + </includes> + </testResource> + </testResources> + + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.7.0</version> + <configuration> + <source>1.8</source> + <target>1.8</target> + </configuration> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>ossrh</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>3.0.1</version> + <executions> + <execution> + <id>attach-sources</id> + <phase>package</phase> + <goals> + <goal>jar-no-fork</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <id>attach-javadocs</id> + <phase>package</phase> + <goals> + <goal>jar</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> + </execution> + </executions> + </plugin>--> + </plugins> + </build> + </profile> + </profiles> + + <dependencies> + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>1.20</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-collections4</artifactId> + <version>4.1</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-all</artifactId> + <version>1.3</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter</artifactId> + <version>2.3.0.RELEASE</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-web</artifactId> + <version>5.2.3.RELEASE</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>fastjson</artifactId> + <version>1.2.57</version> + </dependency> + <!-- https://mvnrepository.com/artifact/com.github.ua-parser/uap-java --> + <dependency> + <groupId>com.github.ua-parser</groupId> + <artifactId>uap-java</artifactId> + <version>1.4.3</version> + </dependency> + + </dependencies> +</project> |
