Skip to content

Commit 5f9c1d5

Browse files
committed
add release
1 parent e4388b0 commit 5f9c1d5

1 file changed

Lines changed: 40 additions & 1 deletion

File tree

pom.xml

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,12 @@
156156
</mailingLists>
157157

158158
<developers>
159-
<!-- TODO: Add developers -->
159+
<developer>
160+
<name>Timecho Release</name>
161+
<email>contact@timecho.com</email>
162+
<organization>timecho</organization>
163+
<organizationUrl>http://www.timecho.com</organizationUrl>
164+
</developer>
160165
</developers>
161166

162167

@@ -751,6 +756,16 @@
751756
</pluginManagement>
752757

753758
<plugins>
759+
<plugin>
760+
<groupId>org.sonatype.central</groupId>
761+
<artifactId>central-publishing-maven-plugin</artifactId>
762+
<version>0.7.0</version>
763+
<extensions>true</extensions>
764+
<configuration>
765+
<publishingServerId>central</publishingServerId>
766+
<autoPublish>true</autoPublish>
767+
</configuration>
768+
</plugin>
754769
<plugin>
755770
<groupId>com.github.spotbugs</groupId>
756771
<artifactId>spotbugs-maven-plugin</artifactId>
@@ -994,6 +1009,20 @@
9941009
</execution>
9951010
</executions>
9961011
</plugin>
1012+
<plugin>
1013+
<groupId>org.apache.maven.plugins</groupId>
1014+
<artifactId>maven-gpg-plugin</artifactId>
1015+
<version>1.5</version>
1016+
<executions>
1017+
<execution>
1018+
<id>sign-artifacts</id>
1019+
<phase>verify</phase>
1020+
<goals>
1021+
<goal>sign</goal>
1022+
</goals>
1023+
</execution>
1024+
</executions>
1025+
</plugin>
9971026
<plugin>
9981027
<groupId>org.apache.maven.plugins</groupId>
9991028
<artifactId>maven-source-plugin</artifactId>
@@ -1197,5 +1226,15 @@
11971226
</plugins>
11981227
</build>
11991228
</profile>
1229+
<profile>
1230+
<id>ossrh</id>
1231+
<activation>
1232+
<activeByDefault>true</activeByDefault>
1233+
</activation>
1234+
<properties>
1235+
<gpg.executable>gpg2</gpg.executable>
1236+
<gpg.passphrase>the_pass_phrase</gpg.passphrase>
1237+
</properties>
1238+
</profile>
12001239
</profiles>
12011240
</project>

0 commit comments

Comments
 (0)