Skip to content

Commit 4e5c290

Browse files
author
stephen powis
committed
update package
1 parent 2fdf630 commit 4e5c290

File tree

55 files changed

+236
-222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+236
-222
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Change Log
2+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
3+
and this project adheres to [Semantic Versioning](http://semver.org/).
4+
5+
## 0.1.0 (08/12/17)
6+
- Initial release!

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@
22

33
[![Build Status](https://travis-ci.org/Crim/pardot-java-client.svg?branch=master)](https://travis-ci.org/Crim/pardot-java-client)
44

5-
## What is it at a high level?
5+
## What is it?
66

77
This library intends to be a fluent style API client for Pardot's API (version 3).
88

99
**Note** It currently is not fully featured/fully implemented. If there is a feature/end point that you
1010
need that is not yet implemented, please read the **[How to Contribute](#how-to-contribute)** section, or **[Create an issue](https://github.com/Crim/pardot-java-client/issues)**
1111
requesting it.
1212

13-
**Note** Use this library at your own risk! Currently there are no known issues, but as an unofficial library,
14-
I make no guarantees.
13+
**Note** Use this library at your own risk! Currently there are no known issues, but as an **unofficial** library,
14+
there are no guarantees.
15+
16+
## How to use this library
17+
18+
More information soon.
1519

1620
## What Features are implemented?
1721

@@ -43,12 +47,16 @@ Official Documentation: [Users](http://developer.pardot.com/kb/api-version-3/use
4347
- Read
4448
- Abilities of API User
4549

46-
## How to use this library
50+
## How to Contribute
4751

4852
More information soon.
4953

50-
## How to Contribute
54+
## Changelog
55+
56+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
57+
and this project adheres to [Semantic Versioning](http://semver.org/).
58+
59+
[View Changelog](CHANGELOG.md)
5160

52-
More information soon.
5361

5462

pom.xml

Lines changed: 44 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>com.pardot</groupId>
8-
<artifactId>api-client</artifactId>
9-
<version>1.0-SNAPSHOT</version>
7+
<groupId>com.darksci</groupId>
8+
<artifactId>pardot-api-client</artifactId>
9+
<version>0.1.0-SNAPSHOT</version>
1010
<packaging>jar</packaging>
1111

1212
<!-- Require Maven 3.3.9 -->
@@ -22,8 +22,8 @@
2222
<developer>
2323
<name>Stephen Powis</name>
2424
<email>[email protected]</email>
25-
<organization>Pardot</organization>
26-
<organizationUrl>http://www.pardot.com/</organizationUrl>
25+
<organization>Darksci</organization>
26+
<organizationUrl>https://www.darksci.com/</organizationUrl>
2727
</developer>
2828
</developers>
2929

@@ -52,11 +52,10 @@
5252
<!-- Define which version of junit you'll be running -->
5353
<junit.version>4.12</junit.version>
5454

55-
<!-- Define which version of hamcrest will be used in junit -->
56-
<hamcrest.version>1.3</hamcrest.version>
57-
5855
<!-- Specify which Checkstyle ruleset to use -->
5956
<checkstyle.ruleset>build/pardot_style-v1.5.xml</checkstyle.ruleset>
57+
<checkstyle.plugin.version>2.17</checkstyle.plugin.version>
58+
<checkstyle.version>8.0</checkstyle.version>
6059

6160
<!-- Log4J Version -->
6261
<log4j2.version>2.1</log4j2.version>
@@ -70,7 +69,7 @@
7069
<excludeTests>categories.IntegrationTest</excludeTests>
7170
</properties>
7271

73-
72+
<!-- Project Dependencies -->
7473
<dependencies>
7574
<!-- Http Client -->
7675
<dependency>
@@ -79,7 +78,7 @@
7978
<version>4.5.3</version>
8079
</dependency>
8180

82-
<!-- For parsing XML responses to POJO -->
81+
<!-- For parsing XML responses to POJOs -->
8382
<dependency>
8483
<groupId>com.fasterxml.jackson.core</groupId>
8584
<artifactId>jackson-core</artifactId>
@@ -119,20 +118,6 @@
119118
</dependency>
120119

121120
<!-- Testing Tools -->
122-
<!-- Hamcrest -->
123-
<dependency>
124-
<groupId>org.hamcrest</groupId>
125-
<artifactId>hamcrest-core</artifactId>
126-
<version>${hamcrest.version}</version>
127-
<scope>test</scope>
128-
</dependency>
129-
<dependency>
130-
<groupId>org.hamcrest</groupId>
131-
<artifactId>hamcrest-library</artifactId>
132-
<version>${hamcrest.version}</version>
133-
<scope>test</scope>
134-
</dependency>
135-
136121
<!-- JUnit -->
137122
<dependency>
138123
<groupId>junit</groupId>
@@ -154,13 +139,15 @@
154139
<groupId>org.mockito</groupId>
155140
<artifactId>mockito-all</artifactId>
156141
<version>1.10.19</version>
142+
<scope>test</scope>
157143
</dependency>
158144

159145
<!-- Used in tests for reading files -->
160146
<dependency>
161147
<groupId>commons-io</groupId>
162148
<artifactId>commons-io</artifactId>
163149
<version>2.5</version>
150+
<scope>test</scope>
164151
</dependency>
165152
</dependencies>
166153

@@ -190,7 +177,7 @@
190177
</dependency>
191178
</dependencies>
192179
<configuration>
193-
<argLine>-Xmx512M</argLine>
180+
<argLine>-Xmx256M</argLine>
194181
<skipTests>${skipTests}</skipTests>
195182
<runOrder>alphabetical</runOrder>
196183

@@ -201,7 +188,7 @@
201188
</configuration>
202189
</plugin>
203190

204-
<!-- Enforce Checkstyles Validation -->
191+
<!-- Enforce check styles validation -->
205192
<plugin>
206193
<groupId>org.apache.maven.plugins</groupId>
207194
<artifactId>maven-checkstyle-plugin</artifactId>
@@ -231,6 +218,34 @@
231218
</execution>
232219
</executions>
233220
</plugin>
221+
222+
<!-- Build Sources Jar -->
223+
<plugin>
224+
<groupId>org.apache.maven.plugins</groupId>
225+
<artifactId>maven-source-plugin</artifactId>
226+
<executions>
227+
<execution>
228+
<id>attach-sources</id>
229+
<goals>
230+
<goal>jar</goal>
231+
</goals>
232+
</execution>
233+
</executions>
234+
</plugin>
235+
236+
<!-- Build Javadoc Jar -->
237+
<plugin>
238+
<groupId>org.apache.maven.plugins</groupId>
239+
<artifactId>maven-javadoc-plugin</artifactId>
240+
<executions>
241+
<execution>
242+
<id>attach-javadocs</id>
243+
<goals>
244+
<goal>jar</goal>
245+
</goals>
246+
</execution>
247+
</executions>
248+
</plugin>
234249
</plugins>
235250

236251
<pluginManagement>
@@ -239,12 +254,12 @@
239254
<plugin>
240255
<groupId>org.apache.maven.plugins</groupId>
241256
<artifactId>maven-checkstyle-plugin</artifactId>
242-
<version>2.17</version>
257+
<version>${checkstyle.plugin.version}</version>
243258
<dependencies>
244259
<dependency>
245260
<groupId>com.puppycrawl.tools</groupId>
246261
<artifactId>checkstyle</artifactId>
247-
<version>8.0</version>
262+
<version>${checkstyle.version}</version>
248263
</dependency>
249264
</dependencies>
250265
</plugin>
@@ -258,7 +273,7 @@
258273
<plugin>
259274
<groupId>org.apache.maven.plugins</groupId>
260275
<artifactId>maven-checkstyle-plugin</artifactId>
261-
<version>2.17</version>
276+
<version>${checkstyle.plugin.version}</version>
262277
<configuration>
263278
<configLocation>${checkstyle.ruleset}</configLocation>
264279
</configuration>

src/main/java/com/darksci/pardot/api/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.pardot.api;
1+
package com.darksci.pardot.api;
22

33
/**
44
* Configure your Pardot API credentials.

src/main/java/com/darksci/pardot/api/PardotClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.pardot.api;
1+
package com.darksci.pardot.api;
22

33
import org.slf4j.Logger;
44
import org.slf4j.LoggerFactory;

src/main/java/com/darksci/pardot/api/request/BaseQueryRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.pardot.api.request;
1+
package com.darksci.pardot.api.request;
22

33
/**
44
* Base Query Request. Contains common properties/query parameters across differing objects.

src/main/java/com/darksci/pardot/api/request/BaseRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.pardot.api.request;
1+
package com.darksci.pardot.api.request;
22

33
import java.util.Collection;
44
import java.util.HashMap;

src/main/java/com/darksci/pardot/api/request/DateParameter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.pardot.api.request;
1+
package com.darksci.pardot.api.request;
22

33
/**
44
* Builder for a Date constraint.

src/main/java/com/darksci/pardot/api/request/Request.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.pardot.api.request;
1+
package com.darksci.pardot.api.request;
22

33
import java.util.Map;
44

src/main/java/com/darksci/pardot/api/request/campaign/CampaignCreateRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package com.pardot.api.request.campaign;
1+
package com.darksci.pardot.api.request.campaign;
22

3-
import com.pardot.api.request.BaseRequest;
4-
import com.pardot.api.response.campaign.Campaign;
3+
import com.darksci.pardot.api.request.BaseRequest;
4+
import com.darksci.pardot.api.response.campaign.Campaign;
55

66
/**
77
* For creating new Campaigns using Pardot's API.

0 commit comments

Comments
 (0)