Skip to content

Commit 6a75200

Browse files
committed
Release support.
1 parent 5b92d00 commit 6a75200

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
*.log
44
.idea
55
target
6-
application-dev.properties
6+
application-dev.properties
7+
pom.xml.versionsBackup

pom.xml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss (XXX)</maven.build.timestamp.format>
2828
<version.springBoot>2.3.3.RELEASE</version.springBoot>
2929
<version.gitbTypes>1.11.0</version.gitbTypes>
30-
<version.itbCommons>1.0.0-SNAPSHOT</version.itbCommons>
30+
<version.itbCommons>1.0.0</version.itbCommons>
3131
<version.slf4j>1.7.30</version.slf4j>
3232
<version.jaxws>2.3.1</version.jaxws>
3333
<version.jws>1.1</version.jws>
@@ -218,6 +218,31 @@
218218
</archive>
219219
</configuration>
220220
</plugin>
221+
<plugin>
222+
<groupId>org.codehaus.mojo</groupId>
223+
<artifactId>versions-maven-plugin</artifactId>
224+
<version>2.8.1</version>
225+
<configuration>
226+
<processAllModules>true</processAllModules>
227+
</configuration>
228+
</plugin>
229+
<plugin>
230+
<groupId>org.apache.maven.plugins</groupId>
231+
<artifactId>maven-enforcer-plugin</artifactId>
232+
<version>3.0.0-M3</version>
233+
<configuration>
234+
<rules>
235+
<requireReleaseDeps>
236+
<failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
237+
<excludes>
238+
<exclude>eu.europa.ec.itb.json:*</exclude>
239+
</excludes>
240+
<message>No snapshot dependencies are allowed.</message>
241+
</requireReleaseDeps>
242+
</rules>
243+
<fail>true</fail>
244+
</configuration>
245+
</plugin>
221246
</plugins>
222247
</build>
223248

0 commit comments

Comments
 (0)