moved to 1.2.1-SNAPSHOT. see #25872
update groovy-all plugin related to jdk17 profile
This commit is contained in:
parent
fe94a49225
commit
62686e818e
42
pom.xml
42
pom.xml
|
@ -5,7 +5,7 @@
|
|||
|
||||
<groupId>org.gcube.tools</groupId>
|
||||
<artifactId>maven-parent</artifactId>
|
||||
<version>1.2.0</version>
|
||||
<version>1.2.1-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<scm>
|
||||
|
@ -354,6 +354,46 @@
|
|||
<url>${repository.snapshots.url}</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.gmaven</groupId>
|
||||
<artifactId>groovy-maven-plugin</artifactId>
|
||||
<version>2.1.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>execute</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<defaults>
|
||||
<name>tag</name>
|
||||
</defaults>
|
||||
<source>
|
||||
def fileContents = new File("${project.basedir}/CHANGELOG.md").getText('UTF-8')
|
||||
matcher = (fileContents =~ /(?s).\[v$project.version\].*?/)
|
||||
if (!matcher.find()) {
|
||||
throw new IllegalArgumentException("Tag [v$project.version] not found in ${project.basedir}/CHANGELOG.md")
|
||||
}
|
||||
assert matcher[0][1]: "Tag [v$project.version] not found in ${project.basedir}/CHANGELOG.md"
|
||||
</source>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.groovy</groupId>
|
||||
<artifactId>groovy-all</artifactId>
|
||||
<version>3.0.8</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>gcore-legacy</id>
|
||||
|
|
Loading…
Reference in New Issue