11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
33 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
4-
54 <modelVersion >4.0.0</modelVersion >
6- <groupId >com.github.bbottema</groupId >
5+
6+ <parent >
7+ <groupId >com.github.bbottema</groupId >
8+ <artifactId >standard-project-parent</artifactId >
9+ <version >1.0.3</version >
10+ </parent >
11+
712 <artifactId >java-reflection</artifactId >
813 <packaging >jar</packaging >
914 <name >Java Reflection</name >
1217 <url >https://github.com/bbottema/java-reflection</url >
1318 <inceptionYear >2011</inceptionYear >
1419
15- <licenses >
16- <license >
17- <name >The Apache Software License, Version 2.0</name >
18- <url >http://www.apache.org/licenses/LICENSE-2.0.txt</url >
19- <distribution >repo</distribution >
20- </license >
21- </licenses >
22-
2320 <scm >
2421 <connection >scm:git:git://github.com/bbottema/java-reflection.git</connection >
2522 <
developerConnection >scm:git:
[email protected] :bbottema/java-reflection.git</
developerConnection >
2623 <url >https://github.com/bbottema/java-reflection</url >
2724 </scm >
2825
29- <developers >
30- <developer >
31- <id >benny</id >
32- <name >Benny Bottema</name >
33- 34- <url >http://www.bennybottema.com</url >
35- <roles >
36- <role >developer</role >
37- <role >packager</role >
38- </roles >
39- </developer >
40- </developers >
41-
4226 <issueManagement >
4327 <system >GitHub Issues</system >
4428 <url >https://github.com/bbottema/java-reflection/issues</url >
4529 </issueManagement >
4630
47- <properties >
48- <java .version>1.7</java .version>
49- <compiler .encoding>UTF-8</compiler .encoding>
50- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
51- <maven .compiler.source>1.7</maven .compiler.source>
52- <maven .compiler.target>1.7</maven .compiler.target>
53- </properties >
54-
5531 <dependencies >
5632 <dependency >
5733 <groupId >com.sun.activation</groupId >
5834 <artifactId >jakarta.activation</artifactId >
5935 <version >1.2.1</version >
6036 </dependency >
61- <dependency ><!-- Gives us @NotNull and @Nullable -->
62- <groupId >org.jetbrains</groupId >
63- <artifactId >annotations</artifactId >
64- <version >16.0.2</version >
65- <scope >provided</scope >
66- </dependency >
67- <dependency ><!-- Gives us Spotbugs maven build directives -->
68- <groupId >com.github.spotbugs</groupId >
69- <artifactId >spotbugs-annotations</artifactId >
70- <version >3.1.3</version >
71- <scope >provided</scope >
72- </dependency >
7337 <dependency >
7438 <groupId >org.projectlombok</groupId >
7539 <artifactId >lombok</artifactId >
7640 <version >1.18.2</version >
7741 <scope >provided</scope >
7842 </dependency >
7943
80-
81- <!-- logging -->
82- <dependency >
83- <groupId >org.slf4j</groupId >
84- <artifactId >slf4j-api</artifactId >
85- <version >1.7.21</version >
86- </dependency >
87- <dependency >
88- <groupId >org.apache.logging.log4j</groupId >
89- <artifactId >log4j-slf4j-impl</artifactId ><!-- or log4j2 or logback or whatever-->
90- <version >2.6.1</version >
91- <scope >test</scope >
92- </dependency >
93- <dependency >
94- <groupId >org.apache.logging.log4j</groupId >
95- <artifactId >log4j-api</artifactId >
96- <version >2.6.1</version >
97- <scope >test</scope >
98- </dependency >
99- <dependency >
100- <groupId >org.apache.logging.log4j</groupId >
101- <artifactId >log4j-core</artifactId >
102- <version >2.6.1</version >
103- <scope >test</scope >
104- </dependency >
105-
10644 <!-- testing dependencies-->
107- <dependency >
108- <groupId >junit</groupId >
109- <artifactId >junit</artifactId >
110- <version >4.8.1</version >
111- <scope >test</scope >
112- </dependency >
113- <dependency >
114- <groupId >org.assertj</groupId >
115- <artifactId >assertj-core</artifactId >
116- <version >2.9.1</version >
117- <scope >test</scope >
118- </dependency >
11945 <dependency >
12046 <groupId >org.powermock</groupId >
12147 <artifactId >powermock-module-junit4</artifactId >
122- <version >1.7.1 </version >
48+ <version >2.0.4 </version >
12349 <scope >test</scope >
12450 </dependency >
12551 <dependency >
12652 <groupId >org.powermock</groupId >
12753 <artifactId >powermock-api-mockito2</artifactId >
128- <version >1.7.1 </version >
54+ <version >2.0.4 </version >
12955 <scope >test</scope >
13056 </dependency >
13157 </dependencies >
132-
133- <distributionManagement >
134- <snapshotRepository >
135- <id >ossrh</id >
136- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
137- </snapshotRepository >
138- <repository >
139- <id >ossrh</id >
140- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
141- </repository >
142- </distributionManagement >
143-
144- <build >
145- <resources >
146- <resource >
147- <directory >.</directory >
148- <includes >
149- <include >LICENSE-2.0.txt</include >
150- <include >NOTICE.txt</include >
151- <include >RELEASE.txt</include >
152- </includes >
153- </resource >
154- </resources >
155-
156- <plugins >
157- <plugin >
158- <artifactId >maven-release-plugin</artifactId >
159- <version >2.5.2</version >
160- </plugin >
161-
162- <plugin >
163- <groupId >org.sonatype.plugins</groupId >
164- <artifactId >nexus-staging-maven-plugin</artifactId >
165- <version >1.6.3</version >
166- <extensions >true</extensions >
167- <configuration >
168- <serverId >ossrh</serverId >
169- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
170- <autoReleaseAfterClose >true</autoReleaseAfterClose >
171- </configuration >
172- </plugin >
173-
174- <plugin >
175- <groupId >org.apache.maven.plugins</groupId >
176- <artifactId >maven-source-plugin</artifactId >
177- <version >3.0.1</version >
178- <executions >
179- <execution >
180- <id >attach-sources</id >
181- <goals >
182- <goal >jar-no-fork</goal >
183- </goals >
184- </execution >
185- </executions >
186- </plugin >
187-
188- <plugin >
189- <groupId >org.apache.maven.plugins</groupId >
190- <artifactId >maven-javadoc-plugin</artifactId >
191- <version >2.9.1</version >
192- <executions >
193- <execution >
194- <id >attach-javadocs</id >
195- <goals >
196- <goal >jar</goal >
197- </goals >
198- <configuration >
199- <!-- <additionalparam>-Xdoclint:none</additionalparam>-->
200- <additionalparam >-Xdoclint:all</additionalparam >
201- <additionalparam >-Xdoclint:-missing</additionalparam >
202- <show >public</show >
203- <nohelp >true</nohelp >
204- <excludePackageNames >*.internal.*</excludePackageNames >
205- </configuration >
206- </execution >
207- </executions >
208- <configuration >
209- <failOnError >false</failOnError >
210- </configuration >
211- </plugin >
212-
213- <plugin >
214- <groupId >org.apache.maven.plugins</groupId >
215- <artifactId >maven-compiler-plugin</artifactId >
216- <version >3.5.1</version >
217- <configuration >
218- <source >${java.version} </source >
219- <target >${java.version} </target >
220- <encoding >${compiler.encoding} </encoding >
221- <compilerArgument >-Xlint:all</compilerArgument >
222- <useIncrementalCompilation >false</useIncrementalCompilation >
223- </configuration >
224- </plugin >
225-
226- <plugin >
227- <groupId >se.eris</groupId >
228- <artifactId >notnull-instrumenter-maven-plugin</artifactId >
229- <version >0.6.8</version >
230- <executions >
231- <execution >
232- <id >instrument</id >
233- <goals >
234- <goal >instrument</goal >
235- <goal >tests-instrument</goal >
236- </goals >
237- </execution >
238- </executions >
239- <configuration >
240- <implicit >true</implicit >
241- <nullable >
242- <param >org.jetbrains.annotations.Nullable</param >
243- </nullable >
244- <notNull >
245- <param >org.jetbrains.annotations.NotNull</param >
246- </notNull >
247- </configuration >
248- </plugin >
249-
250- <plugin >
251- <groupId >org.apache.maven.plugins</groupId >
252- <artifactId >maven-jar-plugin</artifactId >
253- <version >3.1.0</version >
254- <configuration >
255- <archive >
256- <manifestFile >${project.build.outputDirectory} /META-INF/MANIFEST.MF</manifestFile >
257- </archive >
258- </configuration >
259- </plugin >
260-
261- <plugin >
262- <groupId >org.apache.felix</groupId >
263- <artifactId >maven-bundle-plugin</artifactId >
264- <version >3.5.1</version >
265- <executions >
266- <execution >
267- <id >bundle-manifest</id >
268- <phase >process-classes</phase >
269- <goals >
270- <goal >manifest</goal >
271- </goals >
272- </execution >
273- </executions >
274- </plugin >
275-
276- <plugin >
277- <groupId >com.github.spotbugs</groupId >
278- <artifactId >spotbugs-maven-plugin</artifactId >
279- <version >3.1.6</version >
280- <!-- this will make findbugs run during mvn verify -->
281- <executions >
282- <execution >
283- <phase >verify</phase >
284- <goals >
285- <goal >check</goal >
286- </goals >
287- </execution >
288- </executions >
289- </plugin >
290-
291- <plugin >
292- <groupId >com.mycila</groupId >
293- <artifactId >license-maven-plugin</artifactId >
294- <version >2.5</version >
295- <configuration >
296- <header >com/mycila/maven/plugin/license/templates/APACHE-2.txt</header >
297- <properties >
298- <owner >Benny Bottema</owner >
299- <year >2019</year >
300- 301- </properties >
302- <mapping >
303- <java >SLASHSTAR_STYLE</java >
304- </mapping >
305- <includes >
306- <include >src/main/java/**/*.java</include >
307- </includes >
308- </configuration >
309- <executions >
310- <execution ><id >remove-licence-boilerplate-on-clean</id ><phase >clean</phase ><goals ><goal >remove</goal ></goals ></execution >
311- <execution ><id >add-licence-boilerplate-on-compile</id ><phase >process-sources</phase ><goals ><goal >format</goal ></goals ></execution >
312- <execution ><id >remove-licence-boilerplate-after-package</id ><phase >package</phase ><goals ><goal >remove</goal ></goals ></execution >
313- </executions >
314- </plugin >
315- </plugins >
316- </build >
317-
318- <profiles >
319- <profile >
320- <id >release-sign-artifacts</id >
321- <activation >
322- <property >
323- <name >performRelease</name >
324- <value >true</value >
325- </property >
326- </activation >
327- <build >
328- <plugins >
329- <plugin >
330- <groupId >org.apache.maven.plugins</groupId >
331- <artifactId >maven-gpg-plugin</artifactId >
332- <version >1.5</version >
333- <executions >
334- <execution >
335- <id >sign-artifacts</id >
336- <phase >verify</phase >
337- <goals >
338- <goal >sign</goal >
339- </goals >
340- <!-- fixes tty error under linux -->
341- <configuration >
342- <gpgArguments >
343- <arg >--pinentry-mode</arg >
344- <arg >loopback</arg >
345- </gpgArguments >
346- </configuration >
347- </execution >
348- </executions >
349- </plugin >
350- </plugins >
351- </build >
352- </profile >
353- </profiles >
35458</project >
0 commit comments