Skip to content

Commit 01ca2da

Browse files
committed
moved to xml pom. Waiting for fix on takari/takari-lifecycle#12
1 parent f909894 commit 01ca2da

2 files changed

Lines changed: 220 additions & 140 deletions

File tree

pom.groovy

Lines changed: 0 additions & 140 deletions
This file was deleted.

pom.xml

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>co.ipdata.client</groupId>
5+
<artifactId>ipdata-java-client</artifactId>
6+
<version>0.1.0</version>
7+
<licenses>
8+
<license>
9+
<name>The Apache Licence, Version 2.0</name>
10+
<url>http://www.apache.org/licenses/LICENCE-2.0.txt</url>
11+
</license>
12+
</licenses>
13+
<developers>
14+
<developer>
15+
<name>ipdata.co</name>
16+
<email>support@ipdata.co</email>
17+
</developer>
18+
</developers>
19+
<scm>
20+
<connection>scm:git:git@github.com:ipdata/java.git</connection>
21+
<developerConnection>scm:git:git@github.com:ipdata/java.git</developerConnection>
22+
<url>https://github.com/ipdata/java</url>
23+
<tag>ipdata-java-client-0.1.0</tag>
24+
</scm>
25+
<distributionManagement>
26+
<repository>
27+
<id>maven-central-staging</id>
28+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
29+
</repository>
30+
<snapshotRepository>
31+
<id>maven-central-snapshots</id>
32+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
33+
</snapshotRepository>
34+
</distributionManagement>
35+
<properties>
36+
<sonar.projectName>ipdata-java-client</sonar.projectName>
37+
<version.build.jacoco>0.8.4</version.build.jacoco>
38+
<version.build.sonar>3.7.0.1746</version.build.sonar>
39+
<maven.compiler.source>6</maven.compiler.source>
40+
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
41+
<sonar.projectVersion>${project.version}</sonar.projectVersion>
42+
<sonar.organization>yassine-github</sonar.organization>
43+
<maven.compiler.target>6</maven.compiler.target>
44+
<sonar.projectKey>yassine_ipdata-java-client</sonar.projectKey>
45+
<version.build.surefire>3.0.0-M3</version.build.surefire>
46+
<sonar.links.issue>https://github.com/yassine/ipdata-java-client</sonar.links.issue>
47+
<version.client.feign>9.7.0</version.client.feign>
48+
<sonar.links.scm>https://github.com/yassine/ipdata-java-client</sonar.links.scm>
49+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
50+
<sonar.links.homepage>https://github.com/yassine/ipdata-java-client</sonar.links.homepage>
51+
<sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/site/code-coverage/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
52+
</properties>
53+
<dependencies>
54+
<dependency>
55+
<groupId>io.github.openfeign</groupId>
56+
<artifactId>feign-core</artifactId>
57+
<version>${version.client.feign}</version>
58+
</dependency>
59+
<dependency>
60+
<groupId>io.github.openfeign</groupId>
61+
<artifactId>feign-jackson</artifactId>
62+
<version>${version.client.feign}</version>
63+
</dependency>
64+
<dependency>
65+
<groupId>io.github.openfeign</groupId>
66+
<artifactId>feign-httpclient</artifactId>
67+
<version>${version.client.feign}</version>
68+
</dependency>
69+
<dependency>
70+
<groupId>com.google.guava</groupId>
71+
<artifactId>guava</artifactId>
72+
<version>20.0</version>
73+
</dependency>
74+
<dependency>
75+
<groupId>org.slf4j</groupId>
76+
<artifactId>slf4j-api</artifactId>
77+
<version>1.7.30</version>
78+
</dependency>
79+
<dependency>
80+
<groupId>org.slf4j</groupId>
81+
<artifactId>slf4j-log4j12</artifactId>
82+
<version>1.7.30</version>
83+
</dependency>
84+
<dependency>
85+
<groupId>org.projectlombok</groupId>
86+
<artifactId>lombok</artifactId>
87+
<version>1.18.10</version>
88+
</dependency>
89+
<dependency>
90+
<groupId>org.hamcrest</groupId>
91+
<artifactId>hamcrest</artifactId>
92+
<version>2.2</version>
93+
<scope>test</scope>
94+
</dependency>
95+
<dependency>
96+
<groupId>junit</groupId>
97+
<artifactId>junit</artifactId>
98+
<version>4.13</version>
99+
<scope>test</scope>
100+
</dependency>
101+
<dependency>
102+
<groupId>org.skyscreamer</groupId>
103+
<artifactId>jsonassert</artifactId>
104+
<version>1.5.0</version>
105+
<scope>test</scope>
106+
</dependency>
107+
</dependencies>
108+
<build>
109+
<resources>
110+
<resource>
111+
<filtering>true</filtering>
112+
<directory>src/main/resources</directory>
113+
<includes>
114+
<include>io/ipdata/client/VERSION</include>
115+
</includes>
116+
</resource>
117+
</resources>
118+
<plugins>
119+
<plugin>
120+
<artifactId>maven-resources-plugin</artifactId>
121+
<version>2.6</version>
122+
<configuration>
123+
<encoding>${project.build.sourceEncoding}</encoding>
124+
</configuration>
125+
</plugin>
126+
<plugin>
127+
<groupId>org.jacoco</groupId>
128+
<artifactId>jacoco-maven-plugin</artifactId>
129+
<version>${version.build.jacoco}</version>
130+
<executions>
131+
<execution>
132+
<id>prepare-agent</id>
133+
<phase>test-compile</phase>
134+
<goals>
135+
<goal>prepare-agent</goal>
136+
</goals>
137+
<configuration>
138+
<propertyName>surefireArgLine</propertyName>
139+
<destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
140+
</configuration>
141+
</execution>
142+
<execution>
143+
<id>post-test-reports</id>
144+
<phase>post-integration-test</phase>
145+
<goals>
146+
<goal>report</goal>
147+
</goals>
148+
<configuration>
149+
<dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
150+
<outputDirectory>${project.reporting.outputDirectory}/code-coverage</outputDirectory>
151+
</configuration>
152+
</execution>
153+
</executions>
154+
</plugin>
155+
<plugin>
156+
<artifactId>maven-surefire-plugin</artifactId>
157+
<version>${version.build.surefire}</version>
158+
<configuration>
159+
<useFile>false</useFile>
160+
<includes />
161+
<additionalClasspathElements>
162+
<additionalClasspathElement>${project.basedir}/src/test/resources</additionalClasspathElement>
163+
<additionalClasspathElement>${project.build.testOutputDirectory}</additionalClasspathElement>
164+
</additionalClasspathElements>
165+
<argLine>${surefireArgLine}</argLine>
166+
</configuration>
167+
</plugin>
168+
<plugin>
169+
<groupId>org.codehaus.mojo</groupId>
170+
<artifactId>sonar-maven-plugin</artifactId>
171+
<version>${version.build.sonar}</version>
172+
</plugin>
173+
<plugin>
174+
<artifactId>maven-source-plugin</artifactId>
175+
<version>3.2.1</version>
176+
<executions>
177+
<execution>
178+
<goals>
179+
<goal>jar</goal>
180+
</goals>
181+
</execution>
182+
</executions>
183+
</plugin>
184+
<plugin>
185+
<artifactId>maven-javadoc-plugin</artifactId>
186+
<version>3.1.1</version>
187+
<executions>
188+
<execution>
189+
<goals>
190+
<goal>jar</goal>
191+
</goals>
192+
</execution>
193+
</executions>
194+
</plugin>
195+
<plugin>
196+
<groupId>org.sonatype.plugins</groupId>
197+
<artifactId>nexus-staging-maven-plugin</artifactId>
198+
<version>1.6.7</version>
199+
<extensions>true</extensions>
200+
<configuration>
201+
<serverId>maven-central-staging</serverId>
202+
<nexusUrl>https://oss.sonatype.org</nexusUrl>
203+
<autoReleaseAfterClose />
204+
</configuration>
205+
</plugin>
206+
<plugin>
207+
<artifactId>maven-gpg-plugin</artifactId>
208+
<version>1.6</version>
209+
<executions>
210+
<execution>
211+
<phase>verify</phase>
212+
<goals>
213+
<goal>sign</goal>
214+
</goals>
215+
</execution>
216+
</executions>
217+
</plugin>
218+
</plugins>
219+
</build>
220+
</project>

0 commit comments

Comments
 (0)