44 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
55 <modelVersion >4.0.0</modelVersion >
66
7+ <name >OJP Server</name >
78 <artifactId >ojp-server</artifactId >
89 <version >0.4.0-beta</version >
910
318319 </extraDirectories >
319320 </configuration >
320321 </plugin >
322+ <!-- Sources JAR -->
323+ <plugin >
324+ <groupId >org.apache.maven.plugins</groupId >
325+ <artifactId >maven-source-plugin</artifactId >
326+ <version >3.2.1</version >
327+ <executions >
328+ <execution >
329+ <id >attach-sources</id >
330+ <goals >
331+ <goal >jar</goal >
332+ </goals >
333+ </execution >
334+ </executions >
335+ </plugin >
336+ <!-- Javadoc JAR -->
337+ <plugin >
338+ <groupId >org.apache.maven.plugins</groupId >
339+ <artifactId >maven-javadoc-plugin</artifactId >
340+ <version >3.6.3</version >
341+ <configuration >
342+ <failOnWarnings >false</failOnWarnings >
343+ <doclint >none</doclint >
344+ <excludePackageNames >org.openjproxy.grpc.server.action.streaming</excludePackageNames >
345+ </configuration >
346+ <executions >
347+ <execution >
348+ <id >attach-javadocs</id >
349+ <goals >
350+ <goal >jar</goal >
351+ </goals >
352+ </execution >
353+ </executions >
354+ </plugin >
355+ <plugin >
356+ <groupId >org.apache.maven.plugins</groupId >
357+ <artifactId >maven-compiler-plugin</artifactId >
358+ <configuration >
359+ <source >21</source >
360+ <target >21</target >
361+ </configuration >
362+ </plugin >
363+ <!-- Signs the JARs for deployments-->
364+ <plugin >
365+ <groupId >org.apache.maven.plugins</groupId >
366+ <artifactId >maven-gpg-plugin</artifactId >
367+ <version >3.1.0</version >
368+ <executions >
369+ <execution >
370+ <id >sign-artifacts</id >
371+ <phase >verify</phase >
372+ <goals >
373+ <goal >sign</goal >
374+ </goals >
375+ </execution >
376+ </executions >
377+ </plugin >
378+ <!-- Deploys to maven central-->
379+ <plugin >
380+ <groupId >org.sonatype.central</groupId >
381+ <artifactId >central-publishing-maven-plugin</artifactId >
382+ <version >0.8.0</version >
383+ <extensions >true</extensions >
384+ <configuration >
385+ <publishingServerId >central</publishingServerId >
386+ </configuration >
387+ </plugin >
321388 </plugins >
322389 </build >
390+
391+ <!-- Add SCM and project info for Maven Central requirements -->
392+ <scm >
393+ <url >https://github.com/Open-J-Proxy/ojp</url >
394+ <connection >scm:git:https://github.com/Open-J-Proxy/ojp.git</connection >
395+ <developerConnection >scm:git:ssh://git@github.com:Open-J-Proxy/ojp.git</developerConnection >
396+ <tag >HEAD</tag >
397+ </scm >
398+
399+ <licenses >
400+ <license >
401+ <name >The Apache License, Version 2.0</name >
402+ <url >http://www.apache.org/licenses/LICENSE-2.0.txt</url >
403+ <distribution >repo</distribution >
404+ </license >
405+ </licenses >
406+
407+ <developers >
408+ <developer >
409+ <id >rrobetti</id >
410+ <name >Rogerio Robetti</name >
411+ </developer >
412+ </developers >
413+
414+ <url >https://github.com/Open-J-Proxy/ojp</url >
415+ <description >OJP Server (Open J Proxy)</description >
416+
323417</project >
0 commit comments