|
44 | 44 | <assertj.version>3.26.3</assertj.version> |
45 | 45 | </properties> |
46 | 46 |
|
| 47 | + <profiles> |
| 48 | + <profile> |
| 49 | + <id>sonatype-oss-release</id> |
| 50 | + <build> |
| 51 | + <plugins> |
| 52 | + <plugin> |
| 53 | + <groupId>org.apache.maven.plugins</groupId> |
| 54 | + <artifactId>maven-source-plugin</artifactId> |
| 55 | + <version>3.3.1</version> |
| 56 | + <executions> |
| 57 | + <execution> |
| 58 | + <id>attach-sources</id> |
| 59 | + <goals> |
| 60 | + <goal>jar-no-fork</goal> |
| 61 | + </goals> |
| 62 | + </execution> |
| 63 | + </executions> |
| 64 | + </plugin> |
| 65 | + <plugin> |
| 66 | + <groupId>org.apache.maven.plugins</groupId> |
| 67 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 68 | + <version>3.10.0</version> |
| 69 | + <executions> |
| 70 | + <execution> |
| 71 | + <id>attach-javadocs</id> |
| 72 | + <goals> |
| 73 | + <goal>jar</goal> |
| 74 | + </goals> |
| 75 | + </execution> |
| 76 | + </executions> |
| 77 | + </plugin> |
| 78 | + <plugin> |
| 79 | + <groupId>org.apache.maven.plugins</groupId> |
| 80 | + <artifactId>maven-gpg-plugin</artifactId> |
| 81 | + <version>3.2.6</version> |
| 82 | + <executions> |
| 83 | + <execution> |
| 84 | + <id>sign-artifacts</id> |
| 85 | + <phase>verify</phase> |
| 86 | + <goals> |
| 87 | + <goal>sign</goal> |
| 88 | + </goals> |
| 89 | + <configuration> |
| 90 | + <gpgArguments> |
| 91 | + <arg>--pinentry-mode</arg> |
| 92 | + <arg>loopback</arg> |
| 93 | + </gpgArguments> |
| 94 | + </configuration> |
| 95 | + </execution> |
| 96 | + </executions> |
| 97 | + </plugin> |
| 98 | + |
| 99 | + <plugin> |
| 100 | + <groupId>org.apache.maven.plugins</groupId> |
| 101 | + <artifactId>maven-deploy-plugin</artifactId> |
| 102 | + <configuration> |
| 103 | + <skip>true</skip> |
| 104 | + </configuration> |
| 105 | + </plugin> |
| 106 | + <plugin> |
| 107 | + <groupId>org.sonatype.plugins</groupId> |
| 108 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 109 | + <executions> |
| 110 | + <execution> |
| 111 | + <id>deploy-to-sonatype</id> |
| 112 | + <phase>deploy</phase> |
| 113 | + <goals> |
| 114 | + <goal>deploy</goal> |
| 115 | + <goal>release</goal> |
| 116 | + </goals> |
| 117 | + </execution> |
| 118 | + </executions> |
| 119 | + <configuration> |
| 120 | + <serverId>oss.sonatype.org</serverId> |
| 121 | + <nexusUrl>https://oss.sonatype.org</nexusUrl> |
| 122 | + </configuration> |
| 123 | + </plugin> |
| 124 | + </plugins> |
| 125 | + </build> |
| 126 | + </profile> |
| 127 | + </profiles> |
47 | 128 | <build> |
48 | 129 | <defaultGoal>deploy</defaultGoal> |
49 | 130 | <finalName>${project.artifactId}-${project.version}</finalName> |
|
85 | 166 | </configuration> |
86 | 167 | </plugin> |
87 | 168 |
|
88 | | - <plugin> |
89 | | - <groupId>org.apache.maven.plugins</groupId> |
90 | | - <artifactId>maven-gpg-plugin</artifactId> |
91 | | - <version>3.2.6</version> |
92 | | - <executions> |
93 | | - <execution> |
94 | | - <id>sign-artifacts</id> |
95 | | - <phase>verify</phase> |
96 | | - <goals> |
97 | | - <goal>sign</goal> |
98 | | - </goals> |
99 | | - <configuration> |
100 | | - <gpgArguments> |
101 | | - <arg>--pinentry-mode</arg> |
102 | | - <arg>loopback</arg> |
103 | | - </gpgArguments> |
104 | | - </configuration> |
105 | | - </execution> |
106 | | - </executions> |
107 | | - </plugin> |
108 | | - |
109 | 169 | <plugin> |
110 | 170 | <artifactId>maven-surefire-plugin</artifactId> |
111 | 171 | <version>3.5.0</version> |
|
0 commit comments