|
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | 4 | <groupId>io.github.kavahub</groupId> |
5 | 5 | <artifactId>kavahub-async-file</artifactId> |
6 | | - <version>1.0.0-SNA</version> |
| 6 | + <version>1.0.0-SNAPSHOT</version> |
7 | 7 | <name>kavahub-async-file</name> |
8 | 8 | <packaging>jar</packaging> |
9 | 9 |
|
|
31 | 31 | <url>https://github.com/kavahub/async-file.git</url> |
32 | 32 | <tag>HEAD</tag> |
33 | 33 | </scm> |
34 | | - <distributionManagement> |
35 | | - <snapshotRepository> |
36 | | - <id>ossrh</id> |
37 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
38 | | - </snapshotRepository> |
39 | | - <repository> |
40 | | - <id>ossrh</id> |
41 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
42 | | - </repository> |
43 | | - </distributionManagement> |
| 34 | + |
44 | 35 |
|
45 | 36 | <properties> |
46 | 37 | <!-- Generic properties --> |
|
53 | 44 |
|
54 | 45 | <!-- maven plugin --> |
55 | 46 | <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version> |
56 | | - <maven-release-plugin.veriosn>3.0.0-M4</maven-release-plugin.veriosn> |
| 47 | + <maven-release-plugin.version>3.0.0-M4</maven-release-plugin.version> |
57 | 48 | <maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version> |
58 | 49 | <maven-source-plugin.version>3.2.1</maven-source-plugin.version> |
59 | 50 | <maven-javadoc-plugin.version>3.3.1</maven-javadoc-plugin.version> |
|
151 | 142 | <artifactId>maven-compiler-plugin</artifactId> |
152 | 143 | <version>${maven-compiler-plugin.version}</version> |
153 | 144 | </plugin> |
| 145 | + |
| 146 | + <plugin> |
| 147 | + <groupId>org.apache.maven.plugins</groupId> |
| 148 | + <artifactId>maven-release-plugin</artifactId> |
| 149 | + <version>${maven-release-plugin.version}</version> |
| 150 | + </plugin> |
154 | 151 | </plugins> |
155 | 152 | </build> |
156 | 153 |
|
157 | 154 | <profiles> |
158 | 155 | <profile> |
159 | 156 | <id>release</id> |
160 | 157 |
|
| 158 | + <distributionManagement> |
| 159 | + <snapshotRepository> |
| 160 | + <id>ossrh</id> |
| 161 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 162 | + </snapshotRepository> |
| 163 | + <repository> |
| 164 | + <id>ossrh</id> |
| 165 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 166 | + </repository> |
| 167 | + </distributionManagement> |
| 168 | + |
161 | 169 | <build> |
162 | 170 | <plugins> |
163 | 171 | <plugin> |
|
173 | 181 | </configuration> |
174 | 182 | </plugin> |
175 | 183 |
|
176 | | - <plugin> |
177 | | - <groupId>org.apache.maven.plugins</groupId> |
178 | | - <artifactId>maven-release-plugin</artifactId> |
179 | | - <version>${maven-release-plugin.version}</version> |
180 | | - <configuration> |
181 | | - <autoVersionSubmodules>true</autoVersionSubmodules> |
182 | | - <useReleaseProfile>false</useReleaseProfile> |
183 | | - <releaseProfiles>release</releaseProfiles> |
184 | | - <goals>deploy</goals> |
185 | | - <pushChanges>false</pushChanges> |
186 | | - </configuration> |
187 | | - </plugin> |
188 | | - |
189 | 184 | <plugin> |
190 | 185 | <groupId>org.apache.maven.plugins</groupId> |
191 | 186 | <artifactId>maven-gpg-plugin</artifactId> |
|
208 | 203 | <executions> |
209 | 204 | <execution> |
210 | 205 | <id>attach-sources</id> |
| 206 | + <phase>verify</phase> |
211 | 207 | <goals> |
212 | 208 | <goal>jar-no-fork</goal> |
213 | 209 | </goals> |
|
0 commit comments