27
27
<connection >scm:git:https://github.com/wanaku-ai/wanaku.git</connection >
28
28
<developerConnection >scm:git:ssh://git@github.com/wanaku-ai/wanaku.git</developerConnection >
29
29
<url >https://github.com/wanaku-ai/wanaku</url >
30
- <tag >HEAD</tag >
31
- </scm >
30
+ <tag >HEAD</tag >
31
+ </scm >
32
32
33
33
<licenses >
34
34
<license >
46
46
<distribution .directory>${project.build.directory} /distributions</distribution .directory>
47
47
<maven-gpg-plugin .version>3.2.7</maven-gpg-plugin .version>
48
48
<central-publishing-maven-plugin .version>0.7.0</central-publishing-maven-plugin .version>
49
+ <maven-release-plugin .version>3.1.1</maven-release-plugin .version>
50
+ <maven-scm-plugin .version>2.1.0</maven-scm-plugin .version>
49
51
</properties >
50
52
51
53
<build >
56
58
<version >${os-maven-plugin.version} </version >
57
59
</extension >
58
60
</extensions >
61
+ <plugins >
62
+ <plugin >
63
+ <groupId >org.apache.maven.plugins</groupId >
64
+ <artifactId >maven-release-plugin</artifactId >
65
+ <version >${maven-release-plugin.version} </version >
66
+ <configuration >
67
+ <preparationGoals >-PcommitFiles clean scm:add scm:checkin install</preparationGoals >
68
+ <completionGoals >-PcommitFiles clean scm:add scm:checkin install</completionGoals >
69
+ <pushChanges >false</pushChanges >
70
+ </configuration >
71
+ </plugin >
72
+ </plugins >
59
73
</build >
60
74
61
75
<repositories >
141
155
</execution >
142
156
</executions >
143
157
</plugin >
144
- <plugin >
145
- <artifactId >maven-release-plugin</artifactId >
146
- <configuration >
147
- <preparationGoals >clean install</preparationGoals >
148
- </configuration >
149
- </plugin >
150
-
151
158
</plugins >
152
159
</build >
153
160
</profile >
161
+ <profile >
162
+ <id >commitFiles</id >
163
+ <build >
164
+ <pluginManagement >
165
+ <plugins >
166
+ <plugin >
167
+ <groupId >org.apache.maven.plugins</groupId >
168
+ <artifactId >maven-scm-plugin</artifactId >
169
+ <version >${maven-scm-plugin.version} </version >
170
+ <configuration >
171
+ <message >[maven-scm-plugin] Update version in UI files</message >
172
+ <includes >ui/**/*.ts,routers/wanaku-router/src/main/webui/openapi.json,routers/wanaku-router/src/main/webui/openapi.yaml</includes >
173
+ <excludes >ui/node_modules/**</excludes >
174
+ </configuration >
175
+ </plugin >
176
+ </plugins >
177
+ </pluginManagement >
178
+ </build >
179
+ </profile >
154
180
</profiles >
155
181
156
182
</project >
0 commit comments