File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed
Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ Release 4.0.0 - 2011-11-30
4242
4343 BOOKKEEPER-66: use IPv4 for builds (mmorel via ivank)
4444
45+ BOOKKEEPER-132: Sign artifacts before deploying to maven (ivank)
46+
4547 bookkeeper-server/
4648
4749 BOOKKEEPER-1: Static variable makes tests fail (fpj via ivank)
Original file line number Diff line number Diff line change 116116 </build >
117117 <reporting >
118118 <plugins >
119-
120-
121119 <plugin >
122120 <groupId >org.apache.maven.plugins</groupId >
123121 <artifactId >maven-jxr-plugin</artifactId >
139137 </plugin >
140138 </plugins >
141139 </reporting >
140+ <profiles >
141+ <profile >
142+ <!-- Used only when cutting a full release. Configures the deploy plugin to mark
143+ each artifact as a release (especially important for the archetype). Signs each
144+ file deployed (it actually signs way too many files and we have to clean up a bit
145+ once deployed). -->
146+ <id >deploy</id >
147+ <build >
148+ <plugins >
149+ <plugin >
150+ <groupId >org.apache.maven.plugins</groupId >
151+ <artifactId >maven-gpg-plugin</artifactId >
152+ <configuration >
153+ <useAgent >true</useAgent >
154+ </configuration >
155+ <executions >
156+ <execution >
157+ <id >sign-artifacts</id >
158+ <phase >verify</phase >
159+ <goals >
160+ <goal >sign</goal >
161+ </goals >
162+ </execution >
163+ </executions >
164+ </plugin >
165+ </plugins >
166+ </build >
167+ <properties >
168+ <update-release-info >true</update-release-info >
169+ <!-- Don't re-run tests as part of the deploy build.
170+ Note we use skipTests, not maven.test.skip, since the latter skips
171+ compilation too and we want to deploy tests. -->
172+ <skipTests >true</skipTests >
173+ </properties >
174+ </profile >
175+ </profiles >
142176</project >
You can’t perform that action at this time.
0 commit comments