Skip to content

Commit 31bf513

Browse files
committed
configure deployment
1 parent 2cfab7b commit 31bf513

1 file changed

Lines changed: 104 additions & 1 deletion

File tree

pom.xml

Lines changed: 104 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,41 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<groupId>ws.slink</groupId>
8-
<artifactId>intervals</artifactId>
8+
<artifactId>intervals4j</artifactId>
99
<version>0.0.1</version>
1010

11+
<organization>
12+
<name>slink.ws</name>
13+
<url>https://github.com/ws-slink</url>
14+
</organization>
15+
<name>intervals4j</name>
16+
<description>Intervals java library</description>
17+
<packaging>jar</packaging>
18+
<url>https://github.com/ws-slink/intervals4j</url>
19+
20+
<scm>
21+
<connection>scm:git:git://github.com/github.com/ws-slink/intervals4j.git</connection>
22+
<developerConnection>scm:git:ssh://github.com:github.com/ws-slink/intervals4j.git</developerConnection>
23+
<url>https://github.com/github.com/ws-slink/intervals4j/tree/master</url>
24+
</scm>
25+
26+
<developers>
27+
<developer>
28+
<name>slink.ws</name>
29+
<email>appdev@slink.ws</email>
30+
<organization>slink.ws</organization>
31+
<organizationUrl>https://github.com/ws-slink</organizationUrl>
32+
</developer>
33+
</developers>
34+
35+
<licenses>
36+
<license>
37+
<name>The Apache License, Version 2.0</name>
38+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
39+
</license>
40+
</licenses>
41+
42+
1143
<properties>
1244

1345
<maven.compiler.source>9</maven.compiler.source>
@@ -34,4 +66,75 @@
3466
</dependency>
3567
</dependencies>
3668

69+
<distributionManagement>
70+
<snapshotRepository>
71+
<id>sonatype-nexus-snapshots</id>
72+
<name>Sonatype Nexus Snapshots</name>
73+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
74+
</snapshotRepository>
75+
<repository>
76+
<id>sonatype-nexus-staging</id>
77+
<name>Nexus Release Repository</name>
78+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
79+
</repository>
80+
</distributionManagement>
81+
82+
<profiles>
83+
<profile>
84+
<id>deploy</id>
85+
<build>
86+
<plugins>
87+
<plugin>
88+
<groupId>org.apache.maven.plugins</groupId>
89+
<artifactId>maven-gpg-plugin</artifactId>
90+
<version>3.1.0</version>
91+
<executions>
92+
<execution>
93+
<id>sign-artifacts</id>
94+
<phase>verify</phase>
95+
<goals>
96+
<goal>sign</goal>
97+
</goals>
98+
<configuration>
99+
<keyname>${GPG_KEY_NAME}</keyname>
100+
<passphrase>${GPG_KEY_PASS}</passphrase>
101+
</configuration>
102+
</execution>
103+
</executions>
104+
</plugin>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-source-plugin</artifactId>
108+
<version>3.3.0</version>
109+
<executions>
110+
<execution>
111+
<id>attach-source</id>
112+
<phase>compile</phase>
113+
<goals>
114+
<goal>jar-no-fork</goal>
115+
</goals>
116+
</execution>
117+
</executions>
118+
</plugin>
119+
<plugin>
120+
<groupId>org.apache.maven.plugins</groupId>
121+
<artifactId>maven-javadoc-plugin</artifactId>
122+
<version>3.5.0</version>
123+
<configuration>
124+
<source>${maven.compiler.source}</source>
125+
</configuration>
126+
<executions>
127+
<execution>
128+
<id>attach-javadocs</id>
129+
<goals>
130+
<goal>jar</goal>
131+
</goals>
132+
</execution>
133+
</executions>
134+
</plugin>
135+
</plugins>
136+
</build>
137+
</profile>
138+
</profiles>
139+
37140
</project>

0 commit comments

Comments
 (0)