Skip to content

Commit 401ddbc

Browse files
committed
Initial commit
1 parent fa6de88 commit 401ddbc

File tree

3 files changed

+224
-0
lines changed

3 files changed

+224
-0
lines changed

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Build Artifacts
2+
3+
.gradle/
4+
build/
5+
target/
6+
bin/
7+
dependency-reduced-pom.xml
8+
9+
# Eclipse Project Files
10+
11+
.classpath
12+
.project
13+
.settings/
14+
15+
# IntelliJ IDEA Files
16+
17+
*.iml
18+
*.ipr
19+
*.iws
20+
*.idea
21+
*.log
22+
23+
# Mac OS
24+
25+
.DS_Store

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
install: mvn install -Dgpg.skip
2+
language: java
3+
jdk:
4+
- openjdk8

pom.xml

Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
6+
<modelVersion>4.0.0</modelVersion>
7+
<groupId>com.taboola</groupId>
8+
<artifactId>rest-api-sdk-core</artifactId>
9+
<version>1.0.0</version>
10+
11+
<name>${project.groupId}:${project.artifactId}</name>
12+
<description>Rest API SDK core</description>
13+
<url>https://github.com/taboola/rest-api-sdk-core</url>
14+
15+
<licenses>
16+
<license>
17+
<name>The Apache Software License, Version 2.0</name>
18+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
19+
<distribution>repo</distribution>
20+
</license>
21+
</licenses>
22+
23+
<developers>
24+
<developer>
25+
<name>Vladi Manaev</name>
26+
<email>vladi.m@taboola.com</email>
27+
<organization>Taboola</organization>
28+
<organizationUrl>http://www.taboola.com</organizationUrl>
29+
</developer>
30+
</developers>
31+
32+
<scm>
33+
<connection>scm:git:git://github.com/taboola/backstage-api-java-client.git</connection>
34+
<developerConnection>scm:git:ssh://github.com:taboola/backstage-api-java-client.git</developerConnection>
35+
<url>http://github.com/taboola/backstage-api-java-client/tree/master</url>
36+
</scm>
37+
38+
<distributionManagement>
39+
<snapshotRepository>
40+
<id>ossrh</id>
41+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
42+
</snapshotRepository>
43+
<repository>
44+
<id>ossrh</id>
45+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
46+
</repository>
47+
</distributionManagement>
48+
49+
<properties>
50+
<maven.compiler.source>1.8</maven.compiler.source>
51+
<maven.compiler.target>1.8</maven.compiler.target>
52+
<log4j.api.version>2.6.1</log4j.api.version>
53+
<log4j.core.version>2.6.1</log4j.core.version>
54+
<retrofit.version>2.9.0</retrofit.version>
55+
<converter.jackson.version>2.3.0</converter.jackson.version>
56+
<logging.interceptor.version>3.14.9</logging.interceptor.version>
57+
<jackson.databind.version>2.9.10.4</jackson.databind.version>
58+
<junit.version>4.12</junit.version>
59+
<mockito.all.version>1.10.19</mockito.all.version>
60+
</properties>
61+
62+
<dependencies>
63+
<dependency>
64+
<groupId>org.apache.logging.log4j</groupId>
65+
<artifactId>log4j-api</artifactId>
66+
<version>${log4j.api.version}</version>
67+
</dependency>
68+
<dependency>
69+
<groupId>org.apache.logging.log4j</groupId>
70+
<artifactId>log4j-core</artifactId>
71+
<version>${log4j.core.version}</version>
72+
</dependency>
73+
74+
<dependency>
75+
<groupId>com.squareup.retrofit2</groupId>
76+
<artifactId>retrofit</artifactId>
77+
<version>${retrofit.version}</version>
78+
</dependency>
79+
80+
<dependency>
81+
<groupId>com.squareup.retrofit2</groupId>
82+
<artifactId>converter-jackson</artifactId>
83+
<exclusions>
84+
<exclusion>
85+
<groupId>com.fasterxml.jackson.core</groupId>
86+
<artifactId>jackson-databind</artifactId>
87+
</exclusion>
88+
</exclusions>
89+
<version>${converter.jackson.version}</version>
90+
</dependency>
91+
92+
<dependency>
93+
<groupId>com.squareup.okhttp3</groupId>
94+
<artifactId>logging-interceptor</artifactId>
95+
<version>${logging.interceptor.version}</version>
96+
</dependency>
97+
98+
<dependency>
99+
<groupId>com.fasterxml.jackson.core</groupId>
100+
<artifactId>jackson-databind</artifactId>
101+
<version>${jackson.databind.version}</version>
102+
</dependency>
103+
104+
<!-- test dependencies -->
105+
106+
<dependency>
107+
<groupId>junit</groupId>
108+
<artifactId>junit</artifactId>
109+
<version>${junit.version}</version>
110+
<scope>test</scope>
111+
</dependency>
112+
113+
<dependency>
114+
<groupId>org.mockito</groupId>
115+
<artifactId>mockito-all</artifactId>
116+
<version>${mockito.all.version}</version>
117+
<scope>test</scope>
118+
</dependency>
119+
120+
<dependency>
121+
<groupId>uk.co.jemos.podam</groupId>
122+
<artifactId>podam</artifactId>
123+
<version>7.2.0.RELEASE</version>
124+
<scope>test</scope>
125+
</dependency>
126+
</dependencies>
127+
128+
<build>
129+
<plugins>
130+
<plugin>
131+
<groupId>org.apache.maven.plugins</groupId>
132+
<artifactId>maven-source-plugin</artifactId>
133+
<version>3.0.1</version>
134+
<executions>
135+
<execution>
136+
<id>attach-sources</id>
137+
<goals>
138+
<goal>jar</goal>
139+
</goals>
140+
</execution>
141+
</executions>
142+
</plugin>
143+
144+
<plugin>
145+
<groupId>org.apache.maven.plugins</groupId>
146+
<artifactId>maven-javadoc-plugin</artifactId>
147+
<version>2.9.1</version>
148+
<configuration>
149+
<show>private</show>
150+
<nohelp>true</nohelp>
151+
<aggregate>true</aggregate>
152+
<charset>UTF-8</charset>
153+
<encoding>UTF-8</encoding>
154+
<docencoding>UTF-8</docencoding>
155+
<javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable>
156+
</configuration>
157+
<executions>
158+
<execution>
159+
<id>attach-javadocs</id>
160+
<goals>
161+
<goal>jar</goal>
162+
</goals>
163+
</execution>
164+
</executions>
165+
</plugin>
166+
167+
<plugin>
168+
<groupId>org.sonatype.plugins</groupId>
169+
<artifactId>nexus-staging-maven-plugin</artifactId>
170+
<version>1.6.7</version>
171+
<extensions>true</extensions>
172+
<configuration>
173+
<serverId>ossrh</serverId>
174+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
175+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
176+
</configuration>
177+
</plugin>
178+
179+
<plugin>
180+
<groupId>org.apache.maven.plugins</groupId>
181+
<artifactId>maven-gpg-plugin</artifactId>
182+
<version>1.5</version>
183+
<executions>
184+
<execution>
185+
<id>sign-artifacts</id>
186+
<phase>verify</phase>
187+
<goals>
188+
<goal>sign</goal>
189+
</goals>
190+
</execution>
191+
</executions>
192+
</plugin>
193+
</plugins>
194+
</build>
195+
</project>

0 commit comments

Comments
 (0)