|
52 | 52 | </developers> |
53 | 53 |
|
54 | 54 | <properties> |
55 | | - <maven-gpg-plugin.version>4.0.0-RC2</maven-gpg-plugin.version> |
| 55 | + <maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version> |
56 | 56 | </properties> |
57 | 57 |
|
58 | 58 | <dependencyManagement> |
|
105 | 105 | </dependencies> |
106 | 106 | </dependencyManagement> |
107 | 107 |
|
| 108 | + <build> |
| 109 | + <plugins> |
| 110 | + <plugin> |
| 111 | + <groupId>org.apache.maven.plugins</groupId> |
| 112 | + <artifactId>maven-gpg-plugin</artifactId> |
| 113 | + <version>${maven-gpg-plugin.version}</version> |
| 114 | + <executions> |
| 115 | + <execution> |
| 116 | + <id>sign-artifacts</id> |
| 117 | + <phase>verify</phase> |
| 118 | + <goals> |
| 119 | + <goal>sign</goal> |
| 120 | + </goals> |
| 121 | + </execution> |
| 122 | + </executions> |
| 123 | + </plugin> |
| 124 | + |
| 125 | + <plugin> |
| 126 | + <groupId>org.sonatype.central</groupId> |
| 127 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 128 | + <version>0.9.0</version> |
| 129 | + <extensions>true</extensions> |
| 130 | + <configuration> |
| 131 | + <publishingServerId>central</publishingServerId> |
| 132 | + <autoPublish>true</autoPublish> |
| 133 | + <waitUntil>published</waitUntil> |
| 134 | + <skipPublishing>true</skipPublishing> |
| 135 | + </configuration> |
| 136 | + </plugin> |
| 137 | + |
| 138 | + <plugin> |
| 139 | + <groupId>org.apache.maven.plugins</groupId> |
| 140 | + <artifactId>maven-deploy-plugin</artifactId> |
| 141 | + <version>3.1.2</version> |
| 142 | + <configuration> |
| 143 | + <skip>true</skip> |
| 144 | + </configuration> |
| 145 | + </plugin> |
| 146 | + </plugins> |
| 147 | + </build> |
| 148 | + |
108 | 149 | <profiles> |
109 | 150 | <profile> |
110 | | - <id>release-sign-artifacts</id> |
111 | | - <activation> |
112 | | - <property> |
113 | | - <name>performRelease</name> |
114 | | - <value>true</value> |
115 | | - </property> |
116 | | - </activation> |
| 151 | + <id>release-to-central</id> |
117 | 152 | <build> |
118 | 153 | <plugins> |
119 | 154 | <plugin> |
120 | | - <groupId>org.apache.maven.plugins</groupId> |
121 | | - <artifactId>maven-gpg-plugin</artifactId> |
122 | | - <version>${maven-gpg-plugin.version}</version> |
123 | | - <executions> |
124 | | - <execution> |
125 | | - <id>sign-artifacts</id> |
126 | | - <phase>verify</phase> |
127 | | - <goals> |
128 | | - <goal>sign</goal> |
129 | | - </goals> |
130 | | - </execution> |
131 | | - </executions> |
| 155 | + <groupId>org.sonatype.central</groupId> |
| 156 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 157 | + <configuration> |
| 158 | + <skipPublishing>false</skipPublishing> |
| 159 | + </configuration> |
132 | 160 | </plugin> |
133 | 161 | </plugins> |
134 | 162 | </build> |
|
0 commit comments