Skip to content

Commit 3379266

Browse files
Added maven central deployment rules
1 parent 298cac4 commit 3379266

File tree

2 files changed

+80
-1
lines changed

2 files changed

+80
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sudo: false
55
before_install:
66
- chmod +x mvnw
77

8-
script: ./mvnw -Ptravis clean package
8+
script: ./mvnw clean package -Dgpg.skip -Dmaven.javadoc.skip=true
99

1010
jdk:
1111
- oraclejdk8

pom.xml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,33 @@
99
<name>TLS-Attacker</name>
1010
<url>https://github.com/RUB-NDS/TLS-Attacker</url>
1111
<description>TLS-Attacker is a Java-based framework for analyzing TLS libraries. It is developed by the Ruhr University Bochum (http://nds.rub.de/) and the Hackmanit GmbH (http://hackmanit.de/). </description>
12+
13+
<licenses>
14+
<license>
15+
<name>Apache License, Version 2.0</name>
16+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
17+
<distribution>repo</distribution>
18+
</license>
19+
</licenses>
20+
21+
<distributionManagement>
22+
<snapshotRepository>
23+
<id>ossrh</id>
24+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
25+
</snapshotRepository>
26+
<repository>
27+
<id>ossrh</id>
28+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
29+
</repository>
30+
</distributionManagement>
31+
32+
<!-- Information to version control system -->
33+
<scm>
34+
<connection>scm:git:git://github.com/RUB-NDS/TLS-Attacker.git</connection>
35+
<developerConnection>scm:git:ssh://github.com/RUB-NDS/TLS-Attacker.git</developerConnection>
36+
<url>https://github.com/RUB-NDS/TLS-Attacker/tree/master</url>
37+
</scm>
38+
1239
<developers>
1340
<developer>
1441
<id>jsomorovsky</id>
@@ -251,6 +278,58 @@
251278
</execution>
252279
</executions>
253280
</plugin>
281+
<plugin>
282+
<groupId>org.apache.maven.plugins</groupId>
283+
<artifactId>maven-source-plugin</artifactId>
284+
<version>3.0.1</version>
285+
<executions>
286+
<execution>
287+
<id>attach-sources</id>
288+
<goals>
289+
<goal>jar-no-fork</goal>
290+
</goals>
291+
</execution>
292+
</executions>
293+
</plugin>
294+
<plugin>
295+
<groupId>org.apache.maven.plugins</groupId>
296+
<artifactId>maven-javadoc-plugin</artifactId>
297+
<version>2.10.4</version>
298+
<executions>
299+
<execution>
300+
<id>attach-javadocs</id>
301+
<goals>
302+
<goal>jar</goal>
303+
</goals>
304+
</execution>
305+
</executions>
306+
</plugin>
307+
<plugin>
308+
<groupId>org.apache.maven.plugins</groupId>
309+
<artifactId>maven-gpg-plugin</artifactId>
310+
<version>1.6</version>
311+
<executions>
312+
<execution>
313+
<id>sign-artifacts</id>
314+
<phase>verify</phase>
315+
<goals>
316+
<goal>sign</goal>
317+
</goals>
318+
</execution>
319+
</executions>
320+
</plugin>
321+
<plugin>
322+
<groupId>org.sonatype.plugins</groupId>
323+
<artifactId>nexus-staging-maven-plugin</artifactId>
324+
<version>1.6.8</version>
325+
<extensions>true</extensions>
326+
<configuration>
327+
<serverId>ossrh</serverId>
328+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
329+
<!-- deploy with the following command: mvn nexus-staging:release -->
330+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
331+
</configuration>
332+
</plugin>
254333
</plugins>
255334
</build>
256335
<reporting>

0 commit comments

Comments
 (0)