File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 145
145
146
146
</profile >
147
147
148
+ <!--
149
+ Profile to be run before a release is executed, currently does the following:
150
+
151
+ - Prevents thrid-party snapshot dependencies in projects
152
+ -->
153
+
154
+ <profile >
155
+ <id >pre-release</id >
156
+ <build >
157
+ <plugins >
158
+ <plugin >
159
+ <groupId >org.apache.maven.plugins</groupId >
160
+ <artifactId >maven-enforcer-plugin</artifactId >
161
+ <executions >
162
+ <execution >
163
+ <id >enforce-no-third-party-snapshots</id >
164
+ <goals >
165
+ <goal >enforce</goal >
166
+ </goals >
167
+ <configuration >
168
+ <rules >
169
+ <requireReleaseDeps >
170
+ <failWhenParentIsSnapshot >false</failWhenParentIsSnapshot >
171
+ <excludes >
172
+ <exclude >org.springframework.data.build:*</exclude >
173
+ <exclude >org.springframework.data:*</exclude >
174
+ </excludes >
175
+ </requireReleaseDeps >
176
+ </rules >
177
+ </configuration >
178
+ </execution >
179
+ </executions >
180
+ </plugin >
181
+ </plugins >
182
+ </build >
183
+ </profile >
184
+
148
185
<profile >
149
186
150
187
<!-- Profile for SonarCube -->
739
776
<version >1.0</version >
740
777
</plugin >
741
778
779
+ <plugin >
780
+ <groupId >org.apache.maven.plugins</groupId >
781
+ <artifactId >maven-enforcer-plugin</artifactId >
782
+ <version >1.3.1</version >
783
+ </plugin >
784
+
742
785
</plugins >
743
786
744
787
</pluginManagement >
You can’t perform that action at this time.
0 commit comments