File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 25
25
<system >GitHub</system >
26
26
</issueManagement >
27
27
28
+ <distributionManagement >
29
+ <snapshotRepository >
30
+ <id >ossrh</id >
31
+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
32
+ </snapshotRepository >
33
+ </distributionManagement >
34
+
28
35
<licenses >
29
36
<license >
30
37
<name >GNU General Public License, Version 3.0</name >
84
91
</resources >
85
92
<plugins >
86
93
<plugin >
94
+ <!-- specify using Java 8 -->
87
95
<groupId >org.apache.maven.plugins</groupId >
88
96
<artifactId >maven-compiler-plugin</artifactId >
89
97
<version >3.1</version >
93
101
</configuration >
94
102
</plugin >
95
103
<plugin >
104
+ <!-- create sources.jar -->
96
105
<groupId >org.apache.maven.plugins</groupId >
97
106
<artifactId >maven-source-plugin</artifactId >
98
107
<version >2.3</version >
106
115
</executions >
107
116
</plugin >
108
117
<plugin >
118
+ <!-- create javadoc.jar -->
109
119
<groupId >org.apache.maven.plugins</groupId >
110
120
<artifactId >maven-javadoc-plugin</artifactId >
111
121
<version >2.9.1</version >
118
128
</execution >
119
129
</executions >
120
130
</plugin >
131
+ <plugin >
132
+ <!-- sign all jars and pom -->
133
+ <groupId >org.apache.maven.plugins</groupId >
134
+ <artifactId >maven-gpg-plugin</artifactId >
135
+ <version >1.5</version >
136
+ <executions >
137
+ <execution >
138
+ <id >sign-artifacts</id >
139
+ <phase >verify</phase >
140
+ <goals >
141
+ <goal >sign</goal >
142
+ </goals >
143
+ </execution >
144
+ </executions >
145
+ </plugin >
146
+ <plugin >
147
+ <!-- deploy to sonatype OSSRH -->
148
+ <groupId >org.sonatype.plugins</groupId >
149
+ <artifactId >nexus-staging-maven-plugin</artifactId >
150
+ <version >1.6.2</version >
151
+ <extensions >true</extensions >
152
+ <configuration >
153
+ <serverId >ossrh</serverId >
154
+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
155
+ <autoReleaseAfterClose >false</autoReleaseAfterClose >
156
+ </configuration >
157
+ </plugin >
121
158
</plugins >
122
159
</build >
123
160
You can’t perform that action at this time.
0 commit comments