Skip to content

Commit 4862a43

Browse files
committed
release preparation
1 parent e005dea commit 4862a43

2 files changed

Lines changed: 68 additions & 0 deletions

File tree

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Created by .gitignore support plugin (hsz.mobi)
2+
### Maven template
3+
target/
4+
pom.xml.tag
5+
pom.xml.releaseBackup
6+
pom.xml.versionsBackup
7+
pom.xml.next
8+
release.properties

pom.xml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,66 @@
125125
<nosuffix>true</nosuffix>
126126
</configuration>
127127
</plugin-->
128+
<plugin>
129+
<groupId>org.apache.maven.plugins</groupId>
130+
<artifactId>maven-source-plugin</artifactId>
131+
<version>2.2.1</version>
132+
<executions>
133+
<execution>
134+
<id>attach-sources</id>
135+
<goals>
136+
<goal>jar-no-fork</goal>
137+
</goals>
138+
</execution>
139+
</executions>
140+
</plugin>
141+
<plugin>
142+
<groupId>org.apache.maven.plugins</groupId>
143+
<artifactId>maven-javadoc-plugin</artifactId>
144+
<version>2.9.1</version>
145+
<executions>
146+
<execution>
147+
<id>attach-javadocs</id>
148+
<goals>
149+
<goal>jar</goal>
150+
</goals>
151+
</execution>
152+
</executions>
153+
</plugin>
154+
<plugin>
155+
<artifactId>maven-gpg-plugin</artifactId>
156+
<version>1.4</version>
157+
<executions>
158+
<execution>
159+
<phase>verify</phase>
160+
<goals>
161+
<goal>sign</goal>
162+
</goals>
163+
</execution>
164+
</executions>
165+
</plugin>
166+
<plugin>
167+
<groupId>org.sonatype.plugins</groupId>
168+
<artifactId>nexus-staging-maven-plugin</artifactId>
169+
<version>1.6</version>
170+
<extensions>true</extensions>
171+
<configuration>
172+
<serverId>sonatype-nexus-staging</serverId>
173+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
174+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
175+
</configuration>
176+
</plugin>
177+
<plugin>
178+
<groupId>org.apache.maven.plugins</groupId>
179+
<artifactId>maven-release-plugin</artifactId>
180+
<version>2.5</version>
181+
<configuration>
182+
<autoVersionSubmodules>true</autoVersionSubmodules>
183+
<useReleaseProfile>false</useReleaseProfile>
184+
<releaseProfiles>release</releaseProfiles>
185+
<goals>deploy</goals>
186+
</configuration>
187+
</plugin>
128188
</plugins>
129189
</build>
130190

0 commit comments

Comments
 (0)