|
92 | 92 | </execution> |
93 | 93 | </executions> |
94 | 94 | </plugin> |
95 | | - <plugin> |
96 | | - <groupId>org.apache.maven.plugins</groupId> |
97 | | - <artifactId>maven-release-plugin</artifactId> |
98 | | - <version>3.1.1</version> |
99 | | - <configuration> |
100 | | - <tagNameFormat>@{project.version}</tagNameFormat> |
101 | | - <pushChanges>true</pushChanges> |
102 | | - <scmCommentPrefix>[BOT](release): </scmCommentPrefix> |
103 | | - </configuration> |
104 | | - </plugin> |
105 | 95 | <plugin> |
106 | 96 | <groupId>org.apache.maven.plugins</groupId> |
107 | 97 | <artifactId>maven-source-plugin</artifactId> |
|
115 | 105 | </execution> |
116 | 106 | </executions> |
117 | 107 | </plugin> |
118 | | - |
119 | 108 | <plugin> |
120 | 109 | <groupId>org.apache.maven.plugins</groupId> |
121 | 110 | <artifactId>maven-javadoc-plugin</artifactId> |
|
131 | 120 | </plugin> |
132 | 121 | </plugins> |
133 | 122 | </build> |
134 | | - <distributionManagement> |
135 | | - <repository> |
136 | | - <id>github</id> |
137 | | - <name>GitHub Packages</name> |
138 | | - <url>https://maven.pkg.github.com/gchauvet/mojet</url> |
139 | | - </repository> |
140 | | - </distributionManagement> |
| 123 | + <profiles> |
| 124 | + <profile> |
| 125 | + <id>publish</id> |
| 126 | + <build> |
| 127 | + <plugins> |
| 128 | + <plugin> |
| 129 | + <groupId>org.apache.maven.plugins</groupId> |
| 130 | + <artifactId>maven-release-plugin</artifactId> |
| 131 | + <version>3.1.1</version> |
| 132 | + <configuration> |
| 133 | + <tagNameFormat>@{project.version}</tagNameFormat> |
| 134 | + <pushChanges>true</pushChanges> |
| 135 | + <scmCommentPrefix>[BOT](release): </scmCommentPrefix> |
| 136 | + </configuration> |
| 137 | + </plugin> |
| 138 | + <plugin> |
| 139 | + <groupId>org.apache.maven.plugins</groupId> |
| 140 | + <artifactId>maven-gpg-plugin</artifactId> |
| 141 | + <version>3.2.7</version> |
| 142 | + <executions> |
| 143 | + <execution> |
| 144 | + <id>sign-artifacts</id> |
| 145 | + <phase>verify</phase> |
| 146 | + <goals> |
| 147 | + <goal>sign</goal> |
| 148 | + </goals> |
| 149 | + </execution> |
| 150 | + </executions> |
| 151 | + </plugin> |
| 152 | + </plugins> |
| 153 | + </build> |
| 154 | + <distributionManagement> |
| 155 | + <snapshotRepository> |
| 156 | + <id>ossrh</id> |
| 157 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 158 | + </snapshotRepository> |
| 159 | + <repository> |
| 160 | + <id>ossrh</id> |
| 161 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 162 | + </repository> |
| 163 | + </distributionManagement> |
| 164 | + </profile> |
| 165 | + </profiles> |
141 | 166 | <properties> |
142 | 167 | <lombok.version>1.18.38</lombok.version> |
143 | 168 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
0 commit comments