Skip to content

Commit b1e962d

Browse files
committed
Configure OSSRH
1 parent 87c4816 commit b1e962d

15 files changed

Lines changed: 316 additions & 16 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright {yyyy} {name of copyright owner}
189+
Copyright 2016 Wave Software
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

pom.xml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,23 @@
2424
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
2525
</properties>
2626

27+
<url>http://wavesoftware.github.io/java-gasper/</url>
28+
29+
<developers>
30+
<developer>
31+
<id>cardil</id>
32+
<name>Krzysztof Suszyński</name>
33+
<email>krzysztof.suszynski@wavesoftware.pl</email>
34+
<organization>Wave Software</organization>
35+
<organizationUrl>http://wavesoftware.pl/</organizationUrl>
36+
</developer>
37+
</developers>
38+
39+
<organization>
40+
<name>Wave Software</name>
41+
<url>http://wavesoftware.pl/</url>
42+
</organization>
43+
2744
<licenses>
2845
<license>
2946
<name>Apache License 2.0</name>
@@ -47,6 +64,17 @@
4764
<maven>${maven.required.version}</maven>
4865
</prerequisites>
4966

67+
<distributionManagement>
68+
<snapshotRepository>
69+
<id>ossrh</id>
70+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
71+
</snapshotRepository>
72+
<repository>
73+
<id>ossrh</id>
74+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
75+
</repository>
76+
</distributionManagement>
77+
5078
<dependencies>
5179
<dependency>
5280
<groupId>org.projectlombok</groupId>
@@ -162,10 +190,74 @@
162190
<parallelThreads>3</parallelThreads>
163191
</configuration>
164192
</plugin>
193+
<plugin>
194+
<groupId>external.atlassian.jgitflow</groupId>
195+
<artifactId>jgitflow-maven-plugin</artifactId>
196+
<version>1.0-m5.1</version>
197+
<configuration>
198+
<enableSshAgent>true</enableSshAgent>
199+
<flowInitContext>
200+
<versionTagPrefix>v</versionTagPrefix>
201+
</flowInitContext>
202+
</configuration>
203+
</plugin>
165204
</plugins>
166205
</build>
167206

168207
<profiles>
208+
<profile>
209+
<id>release-profile</id>
210+
<activation>
211+
<property>
212+
<name>performRelease</name>
213+
<value>true</value>
214+
</property>
215+
</activation>
216+
<build>
217+
<plugins>
218+
<plugin>
219+
<groupId>org.apache.maven.plugins</groupId>
220+
<artifactId>maven-source-plugin</artifactId>
221+
<version>2.2.1</version>
222+
<executions>
223+
<execution>
224+
<id>attach-sources</id>
225+
<goals>
226+
<goal>jar-no-fork</goal>
227+
</goals>
228+
</execution>
229+
</executions>
230+
</plugin>
231+
<plugin>
232+
<groupId>org.apache.maven.plugins</groupId>
233+
<artifactId>maven-javadoc-plugin</artifactId>
234+
<version>2.9.1</version>
235+
<executions>
236+
<execution>
237+
<id>attach-javadocs</id>
238+
<goals>
239+
<goal>jar</goal>
240+
</goals>
241+
</execution>
242+
</executions>
243+
</plugin>
244+
<plugin>
245+
<groupId>org.apache.maven.plugins</groupId>
246+
<artifactId>maven-gpg-plugin</artifactId>
247+
<version>1.5</version>
248+
<executions>
249+
<execution>
250+
<id>sign-artifacts</id>
251+
<phase>verify</phase>
252+
<goals>
253+
<goal>sign</goal>
254+
</goals>
255+
</execution>
256+
</executions>
257+
</plugin>
258+
</plugins>
259+
</build>
260+
</profile>
169261
<profile>
170262
<id>ci</id>
171263

src/main/java/pl/wavesoftware/gasper/Gasper.java

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright (c) 2016 Wave Software
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package pl.wavesoftware.gasper;
218

319
import com.google.common.base.Charsets;
@@ -97,7 +113,7 @@
97113
* String address = gasper.getAddress(); // Address to deployed app, running live on random port
98114
* String expectedMessage = "WildFly Swarm!";
99115
* // when
100-
* HttpResponse<String> response = Unirest.get(address).asString();
116+
* HttpResponse&lt;String&gt; response = Unirest.get(address).asString();
101117
* // then
102118
* assertThat(response.getStatus()).isEqualTo(200);
103119
* assertThat(response.getBody()).field("hello").isEqualTo(expectedMessage); // JSON Assert
@@ -140,7 +156,7 @@
140156
* <li>Maven 3</li>
141157
* </ul>
142158
*
143-
* @author Krzysztof Suszyński <krzysztof.suszynski@wavesoftware.pl>
159+
* @author Krzysztof Suszyński &lt;krzysztof suszynski@wavesoftware.pl&gt;
144160
* @since 2016-03-04
145161
*/
146162
@Slf4j

src/main/java/pl/wavesoftware/gasper/GasperBuilder.java

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright (c) 2016 Wave Software
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package pl.wavesoftware.gasper;
218

319
import org.slf4j.event.Level;
@@ -24,7 +40,7 @@
2440
* <p>
2541
* Methods implements fluent interface for ease of use.
2642
*
27-
* <h4>Example</h4>
43+
* <h2>Example</h2>
2844
* <pre>
2945
* private final int port = 11909;
3046
* private final String webContext = "/test";
@@ -50,7 +66,7 @@
5066
* .build();
5167
* </pre>
5268
*
53-
* @author Krzysztof Suszyński <krzysztof.suszynski@wavesoftware.pl>
69+
* @author Krzysztof Suszyński
5470
* @since 2016-03-05
5571
*/
5672
public final class GasperBuilder implements Gasper.RunnerCreator {

src/main/java/pl/wavesoftware/gasper/GasperConfigurations.java

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright (c) 2016 Wave Software
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package pl.wavesoftware.gasper;
218

319
/**
@@ -16,7 +32,7 @@
1632
*
1733
* More info in {@link Gasper} javadoc
1834
*
19-
* @author Krzysztof Suszyński <krzysztof.suszynski@wavesoftware.pl>
35+
* @author Krzysztof Suszyński
2036
* @since 2016-03-05
2137
*/
2238
public final class GasperConfigurations {

src/main/java/pl/wavesoftware/gasper/internal/Executor.java

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright (c) 2016 Wave Software
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package pl.wavesoftware.gasper.internal;
218

319
import com.mashape.unirest.http.HttpResponse;
@@ -20,7 +36,7 @@
2036
import static java.lang.String.format;
2137

2238
/**
23-
* @author Krzysztof Suszyński <krzysztof.suszynski@wavesoftware.pl>
39+
* @author Krzysztof Suszyński
2440
* @since 2016-03-05
2541
*/
2642
@Slf4j

src/main/java/pl/wavesoftware/gasper/internal/HttpEndpoint.java

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright (c) 2016 Wave Software
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package pl.wavesoftware.gasper.internal;
218

319
import lombok.Getter;
@@ -7,7 +23,7 @@
723
import static java.lang.String.format;
824

925
/**
10-
* @author Krzysztof Suszyński <krzysztof.suszynski@wavesoftware.pl>
26+
* @author Krzysztof Suszyński
1127
* @since 2016-03-05
1228
*/
1329
@Getter

src/main/java/pl/wavesoftware/gasper/internal/Logger.java

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
1+
/*
2+
* Copyright (c) 2016 Wave Software
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package pl.wavesoftware.gasper.internal;
218

319
import lombok.RequiredArgsConstructor;
420
import org.slf4j.event.Level;
521

622
/**
7-
* @author Krzysztof Suszyński <krzysztof.suszynski@wavesoftware.pl>
23+
* @author Krzysztof Suszyński
824
* @since 2016-03-05
925
*/
1026
@RequiredArgsConstructor

src/main/java/pl/wavesoftware/gasper/internal/Settings.java

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright (c) 2016 Wave Software
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package pl.wavesoftware.gasper.internal;
218

319
import com.google.common.collect.ImmutableList;
@@ -17,7 +33,7 @@
1733
* <p>
1834
* <strong>CAUTION!</strong> It is internal class of Gasper, and shouldn't be used directly. Use gasper configure interface {@link Gasper#configure()} or {@link Gasper#configurations()} to set those settings.
1935
*
20-
* @author Krzysztof Suszyński <krzysztof.suszynski@wavesoftware.pl>
36+
* @author Krzysztof Suszyński
2137
* @since 2016-03-05
2238
* @see Gasper#configure()
2339
* @see Gasper#configurations()

src/main/java/pl/wavesoftware/gasper/internal/maven/MavenResolver.java

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright (c) 2016 Wave Software
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package pl.wavesoftware.gasper.internal.maven;
218

319
import org.apache.maven.model.Model;
@@ -14,7 +30,7 @@
1430

1531

1632
/**
17-
* @author Krzysztof Suszyński <krzysztof.suszynski@wavesoftware.pl>
33+
* @author Krzysztof Suszyński
1834
* @since 2016-03-04
1935
*/
2036
public class MavenResolver {

0 commit comments

Comments
 (0)