Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create maven artifact for uap-core #348

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Create maven artifact for uap-core
  • Loading branch information
douglaspalmer committed Sep 27, 2018
commit 1d79437ce0c4ccab5e7342c60fe70e3c787c008c
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
node_modules/
package-lock.json
target
94 changes: 94 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<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-core</artifactId>
<packaging>jar</packaging>
<version>1.4.1-SNAPSHOT</version>

<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>bpossolo@gmail.com</email>
<organization>UA Parser</organization>
<organizationUrl>https://github.com/ua-parser</organizationUrl>
</developer>
</developers>

<url>https://github.com/ua-parser/uap-core</url>

<scm>
<connection>scm:git:git://github.com/ua-parser/uap-core.git</connection>
<developerConnection>scm:git:ssh://github.com:ua-parser/uap-core.git</developerConnection>
<url>http://github.com/ua-parser/uap-core/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}</directory>
<includes>
<include>regexes.yaml</include>
</includes>
</resource>
</resources>

<testResources>
<testResource>
<targetPath>ua_parser</targetPath>
<directory>${basedir}/test_resources</directory>
<includes>
<include>*.yaml</include>
</includes>
</testResource>
<testResource>
<targetPath>ua_parser</targetPath>
<directory>${basedir}/tests</directory>
<includes>
<include>*.yaml</include>
</includes>
</testResource>
</testResources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>