|
|
|
@ -157,6 +157,15 @@
|
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>${project.basedir}</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>LICENSE.md</include>
|
|
|
|
|
</includes>
|
|
|
|
|
<targetPath>META-INF</targetPath>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
@ -319,8 +328,17 @@
|
|
|
|
|
</repository>
|
|
|
|
|
</distributionManagement>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>${project.basedir}</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>LICENSE.md</include>
|
|
|
|
|
</includes>
|
|
|
|
|
<targetPath>META-INF</targetPath>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
@ -448,8 +466,17 @@
|
|
|
|
|
</repository>
|
|
|
|
|
</distributionManagement>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>${project.basedir}</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>LICENSE.md</include>
|
|
|
|
|
</includes>
|
|
|
|
|
<targetPath>META-INF</targetPath>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
@ -942,9 +969,9 @@
|
|
|
|
|
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 CHANGELOG.md")
|
|
|
|
|
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 CHANGELOG.md"
|
|
|
|
|
assert matcher[0][1]: "Tag [v$project.version] not found in ${project.basedir}/CHANGELOG.md"
|
|
|
|
|
</source>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|