|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 5 | <modelVersion>4.0.0</modelVersion> |
6 | 6 |
|
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> |
10 | 10 | <packaging>jar</packaging> |
11 | 11 |
|
12 | 12 | <!-- Require Maven 3.3.9 --> |
|
22 | 22 | <developer> |
23 | 23 | <name>Stephen Powis</name> |
24 | 24 | |
25 | | - <organization>Pardot</organization> |
26 | | - <organizationUrl>http://www.pardot.com/</organizationUrl> |
| 25 | + <organization>Darksci</organization> |
| 26 | + <organizationUrl>https://www.darksci.com/</organizationUrl> |
27 | 27 | </developer> |
28 | 28 | </developers> |
29 | 29 |
|
|
52 | 52 | <!-- Define which version of junit you'll be running --> |
53 | 53 | <junit.version>4.12</junit.version> |
54 | 54 |
|
55 | | - <!-- Define which version of hamcrest will be used in junit --> |
56 | | - <hamcrest.version>1.3</hamcrest.version> |
57 | | - |
58 | 55 | <!-- Specify which Checkstyle ruleset to use --> |
59 | 56 | <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> |
60 | 59 |
|
61 | 60 | <!-- Log4J Version --> |
62 | 61 | <log4j2.version>2.1</log4j2.version> |
|
70 | 69 | <excludeTests>categories.IntegrationTest</excludeTests> |
71 | 70 | </properties> |
72 | 71 |
|
73 | | - |
| 72 | + <!-- Project Dependencies --> |
74 | 73 | <dependencies> |
75 | 74 | <!-- Http Client --> |
76 | 75 | <dependency> |
|
79 | 78 | <version>4.5.3</version> |
80 | 79 | </dependency> |
81 | 80 |
|
82 | | - <!-- For parsing XML responses to POJO --> |
| 81 | + <!-- For parsing XML responses to POJOs --> |
83 | 82 | <dependency> |
84 | 83 | <groupId>com.fasterxml.jackson.core</groupId> |
85 | 84 | <artifactId>jackson-core</artifactId> |
|
119 | 118 | </dependency> |
120 | 119 |
|
121 | 120 | <!-- 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 | | - |
136 | 121 | <!-- JUnit --> |
137 | 122 | <dependency> |
138 | 123 | <groupId>junit</groupId> |
|
154 | 139 | <groupId>org.mockito</groupId> |
155 | 140 | <artifactId>mockito-all</artifactId> |
156 | 141 | <version>1.10.19</version> |
| 142 | + <scope>test</scope> |
157 | 143 | </dependency> |
158 | 144 |
|
159 | 145 | <!-- Used in tests for reading files --> |
160 | 146 | <dependency> |
161 | 147 | <groupId>commons-io</groupId> |
162 | 148 | <artifactId>commons-io</artifactId> |
163 | 149 | <version>2.5</version> |
| 150 | + <scope>test</scope> |
164 | 151 | </dependency> |
165 | 152 | </dependencies> |
166 | 153 |
|
|
190 | 177 | </dependency> |
191 | 178 | </dependencies> |
192 | 179 | <configuration> |
193 | | - <argLine>-Xmx512M</argLine> |
| 180 | + <argLine>-Xmx256M</argLine> |
194 | 181 | <skipTests>${skipTests}</skipTests> |
195 | 182 | <runOrder>alphabetical</runOrder> |
196 | 183 |
|
|
201 | 188 | </configuration> |
202 | 189 | </plugin> |
203 | 190 |
|
204 | | - <!-- Enforce Checkstyles Validation --> |
| 191 | + <!-- Enforce check styles validation --> |
205 | 192 | <plugin> |
206 | 193 | <groupId>org.apache.maven.plugins</groupId> |
207 | 194 | <artifactId>maven-checkstyle-plugin</artifactId> |
|
231 | 218 | </execution> |
232 | 219 | </executions> |
233 | 220 | </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> |
234 | 249 | </plugins> |
235 | 250 |
|
236 | 251 | <pluginManagement> |
|
239 | 254 | <plugin> |
240 | 255 | <groupId>org.apache.maven.plugins</groupId> |
241 | 256 | <artifactId>maven-checkstyle-plugin</artifactId> |
242 | | - <version>2.17</version> |
| 257 | + <version>${checkstyle.plugin.version}</version> |
243 | 258 | <dependencies> |
244 | 259 | <dependency> |
245 | 260 | <groupId>com.puppycrawl.tools</groupId> |
246 | 261 | <artifactId>checkstyle</artifactId> |
247 | | - <version>8.0</version> |
| 262 | + <version>${checkstyle.version}</version> |
248 | 263 | </dependency> |
249 | 264 | </dependencies> |
250 | 265 | </plugin> |
|
258 | 273 | <plugin> |
259 | 274 | <groupId>org.apache.maven.plugins</groupId> |
260 | 275 | <artifactId>maven-checkstyle-plugin</artifactId> |
261 | | - <version>2.17</version> |
| 276 | + <version>${checkstyle.plugin.version}</version> |
262 | 277 | <configuration> |
263 | 278 | <configLocation>${checkstyle.ruleset}</configLocation> |
264 | 279 | </configuration> |
|
0 commit comments