Skip to content

Commit e81dbc6

Browse files
committed
reformat and sort pom.xml according to maven conventions
1 parent 466bbe0 commit e81dbc6

1 file changed

Lines changed: 65 additions & 79 deletions

File tree

pom.xml

Lines changed: 65 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44

55
<groupId>com.sailthru.client</groupId>
@@ -17,6 +17,10 @@
1717
<version>7</version>
1818
</parent>
1919

20+
<organization>
21+
<name>Sailthru, Inc.</name>
22+
<url>https://www.sailthru.com</url>
23+
</organization>
2024
<licenses>
2125
<license>
2226
<name>MIT License</name>
@@ -25,21 +29,12 @@
2529
</license>
2630
</licenses>
2731

28-
<organization>
29-
<name>Sailthru, Inc.</name>
30-
<url>https://www.sailthru.com</url>
31-
</organization>
32-
3332
<scm>
3433
<url>http://github.com/sailthru/sailthru-java-client.git</url>
3534
<connection>scm:git:git@github.com:sailthru/sailthru-java-client.git</connection>
3635
<developerConnection>scm:git:git@github.com:sailthru/sailthru-java-client.git</developerConnection>
3736
</scm>
3837

39-
<properties>
40-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41-
</properties>
42-
4338
<distributionManagement>
4439
<snapshotRepository>
4540
<id>ossrh</id>
@@ -51,6 +46,62 @@
5146
</repository>
5247
</distributionManagement>
5348

49+
<properties>
50+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
51+
</properties>
52+
53+
<dependencies>
54+
<dependency>
55+
<groupId>junit</groupId>
56+
<artifactId>junit</artifactId>
57+
<version>4.9</version>
58+
<type>jar</type>
59+
<scope>test</scope>
60+
<optional>true</optional>
61+
</dependency>
62+
<dependency>
63+
<groupId>com.google.code.gson</groupId>
64+
<artifactId>gson</artifactId>
65+
<version>2.2.4</version>
66+
<scope>compile</scope>
67+
</dependency>
68+
<dependency>
69+
<groupId>org.apache.httpcomponents</groupId>
70+
<artifactId>httpclient</artifactId>
71+
<version>4.3.6</version>
72+
</dependency>
73+
<dependency>
74+
<groupId>org.apache.httpcomponents</groupId>
75+
<artifactId>httpcore</artifactId>
76+
<version>4.3</version>
77+
</dependency>
78+
<dependency>
79+
<groupId>org.apache.httpcomponents</groupId>
80+
<artifactId>httpmime</artifactId>
81+
<version>4.3.1</version>
82+
</dependency>
83+
<dependency>
84+
<groupId>org.slf4j</groupId>
85+
<artifactId>slf4j-api</artifactId>
86+
<version>1.7.5</version>
87+
</dependency>
88+
<dependency>
89+
<groupId>org.slf4j</groupId>
90+
<artifactId>slf4j-simple</artifactId>
91+
<version>1.7.5</version>
92+
</dependency>
93+
<dependency>
94+
<groupId>org.mockito</groupId>
95+
<artifactId>mockito-core</artifactId>
96+
<version>1.10.17</version>
97+
<scope>test</scope>
98+
</dependency>
99+
<dependency>
100+
<groupId>com.google.collections</groupId>
101+
<artifactId>google-collections</artifactId>
102+
<version>1.0</version>
103+
</dependency>
104+
</dependencies>
54105

55106
<build>
56107
<directory>target</directory>
@@ -60,7 +111,6 @@
60111
<sourceDirectory>src/main</sourceDirectory>
61112
<testSourceDirectory>src/test</testSourceDirectory>
62113
<plugins>
63-
64114
<plugin>
65115
<groupId>org.sonatype.plugins</groupId>
66116
<artifactId>nexus-staging-maven-plugin</artifactId>
@@ -72,7 +122,6 @@
72122
<autoReleaseAfterClose>true</autoReleaseAfterClose>
73123
</configuration>
74124
</plugin>
75-
76125
<plugin>
77126
<groupId>org.apache.maven.plugins</groupId>
78127
<artifactId>maven-compiler-plugin</artifactId>
@@ -83,7 +132,6 @@
83132
<encoding>UTF-8</encoding>
84133
</configuration>
85134
</plugin>
86-
87135
<plugin>
88136
<groupId>org.apache.maven.plugins</groupId>
89137
<artifactId>maven-source-plugin</artifactId>
@@ -97,14 +145,13 @@
97145
</execution>
98146
</executions>
99147
</plugin>
100-
101148
<plugin>
102149
<groupId>org.apache.maven.plugins</groupId>
103150
<artifactId>maven-javadoc-plugin</artifactId>
104151
<configuration>
105152
<show>private</show>
106153
<nohelp>true</nohelp>
107-
<doclint>none</doclint>
154+
<doclint>none</doclint>
108155
</configuration>
109156
<version>3.0.0</version>
110157
<executions>
@@ -116,7 +163,6 @@
116163
</execution>
117164
</executions>
118165
</plugin>
119-
120166
</plugins>
121167
</build>
122168

@@ -127,74 +173,14 @@
127173
<artifactId>maven-javadoc-plugin</artifactId>
128174
<version>3.0.0</version>
129175
<configuration>
130-
<stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
131-
<show>public</show>
132-
<doclint>none</doclint>
176+
<stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
177+
<show>public</show>
178+
<doclint>none</doclint>
133179
</configuration>
134180
</plugin>
135181
</plugins>
136182
</reporting>
137183

138-
<dependencies>
139-
<dependency>
140-
<groupId>junit</groupId>
141-
<artifactId>junit</artifactId>
142-
<version>4.9</version>
143-
<type>jar</type>
144-
<scope>test</scope>
145-
<optional>true</optional>
146-
</dependency>
147-
148-
<!-- Gson: Java to Json conversion -->
149-
<dependency>
150-
<groupId>com.google.code.gson</groupId>
151-
<artifactId>gson</artifactId>
152-
<version>2.2.4</version>
153-
<scope>compile</scope>
154-
</dependency>
155-
156-
<dependency>
157-
<groupId>org.apache.httpcomponents</groupId>
158-
<artifactId>httpclient</artifactId>
159-
<version>4.3.6</version>
160-
</dependency>
161-
162-
<dependency>
163-
<groupId>org.apache.httpcomponents</groupId>
164-
<artifactId>httpcore</artifactId>
165-
<version>4.3</version>
166-
</dependency>
167-
168-
<dependency>
169-
<groupId>org.apache.httpcomponents</groupId>
170-
<artifactId>httpmime</artifactId>
171-
<version>4.3.1</version>
172-
</dependency>
173-
174-
<dependency>
175-
<groupId>org.slf4j</groupId>
176-
<artifactId>slf4j-api</artifactId>
177-
<version>1.7.5</version>
178-
</dependency>
179-
180-
<dependency>
181-
<groupId>org.slf4j</groupId>
182-
<artifactId>slf4j-simple</artifactId>
183-
<version>1.7.5</version>
184-
</dependency>
185-
<dependency>
186-
<groupId>org.mockito</groupId>
187-
<artifactId>mockito-core</artifactId>
188-
<version>1.10.17</version>
189-
<scope>test</scope>
190-
</dependency>
191-
<dependency>
192-
<groupId>com.google.collections</groupId>
193-
<artifactId>google-collections</artifactId>
194-
<version>1.0</version>
195-
</dependency>
196-
</dependencies>
197-
198184
<profiles>
199185
<profile>
200186
<id>release-sign-artifacts</id>

0 commit comments

Comments
 (0)