|
45 | 45 |
|
46 | 46 | <build> |
47 | 47 | <plugins> |
| 48 | + <plugin> |
| 49 | + <groupId>org.sonatype.plugins</groupId> |
| 50 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 51 | + <version>1.6.8</version> |
| 52 | + <extensions>true</extensions> |
| 53 | + <configuration> |
| 54 | + <serverId>ossrh</serverId> |
| 55 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 56 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 57 | + </configuration> |
| 58 | + </plugin> |
48 | 59 | <plugin> |
49 | 60 | <groupId>org.apache.maven.plugins</groupId> |
50 | 61 | <artifactId>maven-compiler-plugin</artifactId> |
|
54 | 65 | <target>8</target> |
55 | 66 | </configuration> |
56 | 67 | </plugin> |
| 68 | + <plugin> |
| 69 | + <groupId>org.apache.maven.plugins</groupId> |
| 70 | + <artifactId>maven-source-plugin</artifactId> |
| 71 | + <version>3.1.0</version> |
| 72 | + <executions> |
| 73 | + <execution> |
| 74 | + <id>attach-sources</id> |
| 75 | + <goals> |
| 76 | + <goal>jar</goal> |
| 77 | + </goals> |
| 78 | + </execution> |
| 79 | + </executions> |
| 80 | + </plugin> |
| 81 | + <plugin> |
| 82 | + <groupId>org.apache.maven.plugins</groupId> |
| 83 | + <artifactId>maven-gpg-plugin</artifactId> |
| 84 | + <version>1.6</version> |
| 85 | + <executions> |
| 86 | + <execution> |
| 87 | + <id>sign-artifacts</id> |
| 88 | + <phase>verify</phase> |
| 89 | + <goals> |
| 90 | + <goal>sign</goal> |
| 91 | + </goals> |
| 92 | + </execution> |
| 93 | + </executions> |
| 94 | + <configuration> |
| 95 | + <!-- Prevent `gpg` from using pinentry programs --> |
| 96 | + <gpgArguments> |
| 97 | + <arg>--pinentry-mode</arg> |
| 98 | + <arg>loopback</arg> |
| 99 | + </gpgArguments> |
| 100 | + </configuration> |
| 101 | + </plugin> |
57 | 102 | <plugin> |
58 | 103 | <groupId>org.apache.maven.plugins</groupId> |
59 | 104 | <artifactId>maven-surefire-plugin</artifactId> |
|
78 | 123 | </archive> |
79 | 124 | </configuration> |
80 | 125 | </plugin> |
81 | | - <plugin> |
82 | | - <groupId>org.apache.maven.plugins</groupId> |
83 | | - <artifactId>maven-source-plugin</artifactId> |
84 | | - <version>3.1.0</version> |
85 | | - <executions> |
86 | | - <execution> |
87 | | - <id>attach-sources</id> |
88 | | - <goals> |
89 | | - <goal>jar</goal> |
90 | | - </goals> |
91 | | - </execution> |
92 | | - </executions> |
93 | | - </plugin> |
94 | 126 | <plugin> |
95 | 127 | <groupId>org.apache.maven.plugins</groupId> |
96 | 128 | <artifactId>maven-javadoc-plugin</artifactId> |
|
107 | 139 | <source>8</source> |
108 | 140 | </configuration> |
109 | 141 | </plugin> |
110 | | - <plugin> |
111 | | - <artifactId>maven-deploy-plugin</artifactId> |
112 | | - <version>2.8.2</version> |
113 | | - <executions> |
114 | | - <execution> |
115 | | - <id>deploy</id> |
116 | | - <phase>deploy</phase> |
117 | | - <goals> |
118 | | - <goal>deploy</goal> |
119 | | - </goals> |
120 | | - </execution> |
121 | | - </executions> |
122 | | - </plugin> |
123 | | - <plugin> |
124 | | - <groupId>org.apache.maven.plugins</groupId> |
125 | | - <artifactId>maven-release-plugin</artifactId> |
126 | | - <version>2.5.3</version> |
127 | | - <configuration> |
128 | | - <localCheckout>true</localCheckout> |
129 | | - <pushChanges>false</pushChanges> |
130 | | - <mavenExecutorId>forked-path</mavenExecutorId> |
131 | | - <arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments> |
132 | | - </configuration> |
133 | | - <dependencies> |
134 | | - <dependency> |
135 | | - <groupId>org.apache.maven.scm</groupId> |
136 | | - <artifactId>maven-scm-provider-gitexe</artifactId> |
137 | | - <version>1.9.5</version> |
138 | | - </dependency> |
139 | | - </dependencies> |
140 | | - </plugin> |
141 | | - <plugin> |
142 | | - <groupId>org.sonatype.plugins</groupId> |
143 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
144 | | - <version>1.6.8</version> |
145 | | - <extensions>true</extensions> |
146 | | - <configuration> |
147 | | - <serverId>ossrh</serverId> |
148 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
149 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
150 | | - </configuration> |
151 | | - </plugin> |
152 | | - <plugin> |
153 | | - <groupId>org.codehaus.mojo</groupId> |
154 | | - <artifactId>flatten-maven-plugin</artifactId> |
155 | | - <version>1.2.2</version> |
156 | | - <configuration> |
157 | | - <flattenMode>ossrh</flattenMode> |
158 | | - </configuration> |
159 | | - <executions> |
160 | | - <execution> |
161 | | - <id>flatten</id> |
162 | | - <phase>process-resources</phase> |
163 | | - <goals> |
164 | | - <goal>flatten</goal> |
165 | | - </goals> |
166 | | - </execution> |
167 | | - <execution> |
168 | | - <id>flatten.clean</id> |
169 | | - <phase>clean</phase> |
170 | | - <goals> |
171 | | - <goal>clean</goal> |
172 | | - </goals> |
173 | | - </execution> |
174 | | - </executions> |
175 | | - </plugin> |
176 | 142 | </plugins> |
177 | 143 | </build> |
178 | 144 |
|
|
187 | 153 | </repository> |
188 | 154 | </distributionManagement> |
189 | 155 |
|
190 | | - <profiles> |
191 | | - <profile> |
192 | | - <id>release</id> |
193 | | - <activation> |
194 | | - <property> |
195 | | - <name>gpg.passphrase</name> |
196 | | - </property> |
197 | | - </activation> |
198 | | - <build> |
199 | | - <plugins> |
200 | | - <plugin> |
201 | | - <groupId>org.apache.maven.plugins</groupId> |
202 | | - <artifactId>maven-gpg-plugin</artifactId> |
203 | | - <version>1.6</version> |
204 | | - <configuration> |
205 | | - <!-- Prevent `gpg` from using pinentry programs --> |
206 | | - <gpgArguments> |
207 | | - <arg>--pinentry-mode</arg> |
208 | | - <arg>loopback</arg> |
209 | | - </gpgArguments> |
210 | | - </configuration> |
211 | | - <executions> |
212 | | - <execution> |
213 | | - <id>sign-artifacts</id> |
214 | | - <phase>verify</phase> |
215 | | - <goals> |
216 | | - <goal>sign</goal> |
217 | | - </goals> |
218 | | - </execution> |
219 | | - </executions> |
220 | | - </plugin> |
221 | | - </plugins> |
222 | | - </build> |
223 | | - </profile> |
224 | | - </profiles> |
225 | | - |
226 | 156 | <dependencies> |
227 | 157 | <!-- crypto --> |
228 | 158 | <dependency> |
|
0 commit comments