Revert to a working state

This commit is contained in:
Guillaume Nodet
2022-04-27 22:05:22 +02:00
parent 0a1f35af5f
commit c95c523692
8 changed files with 255 additions and 409 deletions

149
pom.xml
View File

@@ -77,15 +77,6 @@
<takari-lifecycle.version>1.13.9</takari-lifecycle.version>
<takari-provisio.version>1.0.19</takari-provisio.version>
<jreleaser.version>1.0.0</jreleaser.version>
<jreleaser.prerelease>false</jreleaser.prerelease>
<jreleaser.upload.assets>ALWAYS</jreleaser.upload.assets>
<jreleaser.distribution.active>ALWAYS</jreleaser.distribution.active>
<jreleaser.overwrite>false</jreleaser.overwrite>
<jreleaser.update>false</jreleaser.update>
<jreleaser.brew.active>NEVER</jreleaser.brew.active>
<jreleaser.sdkman.active>NEVER</jreleaser.sdkman.active>
<javassist.version>3.27.0-GA</javassist.version>
</properties>
@@ -550,127 +541,35 @@ limitations under the License.</inlineHeader>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jreleaser</groupId>
<artifactId>jreleaser-maven-plugin</artifactId>
<version>${jreleaser.version}</version>
<inherited>false</inherited>
<configuration>
<jreleaser>
<environment>
<properties>
<artifactsDir>dist/target</artifactsDir>
</properties>
</environment>
<project>
<name>mvnd</name>
<description>Maven Daemon</description>
<license>Apache-2.0</license>
<website>https://github.com/mvndaemon/mvnd</website>
<authors>The Maven project</authors>
<tags>maven,mvn,daemon,graalvm</tags>
</project>
<release>
<github>
<branch>master</branch>
<skipTag>true</skipTag>
<tagName>{{projectVersion}}</tagName>
<releaseName>{{projectVersion}}</releaseName>
<prerelease>
<enabled>${jreleaser.prerelease}</enabled>
</prerelease>
<overwrite>${jreleaser.overwrite}</overwrite>
<update>
<enabled>${jreleaser.update}</enabled>
</update>
<uploadAssets>${jreleaser.upload.assets}</uploadAssets>
<changelog>
<formatted>ALWAYS</formatted>
<format>- {{commitShortHash}} {{commitTitle}}</format>
<contributors>
<format>- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}</format>
</contributors>
<labelers>
<labeler>
<label>update-changelog</label>
<title>Updated CHANGELOG.md</title>
</labeler>
</labelers>
<categories>
<category>
<key>changelog</key>
<title>changelog</title>
<labels>update-changelog</labels>
</category>
</categories>
<hide>
<categories>changelog</categories>
<contributors>GitHub,bot</contributors>
</hide>
</changelog>
</github>
</release>
<distributions>
<mvnd>
<type>NATIVE_IMAGE</type>
<active>${jreleaser.distribution.active}</active>
<artifacts>
<artifact>
<path>{{artifactsDir}}/mvnd-{{projectVersion}}-linux-amd64.zip</path>
<platform>linux-x86_64</platform>
</artifact>
<artifact>
<path>{{artifactsDir}}/mvnd-{{projectVersion}}-windows-amd64.zip</path>
<platform>windows-x86_64</platform>
</artifact>
<artifact>
<path>{{artifactsDir}}/mvnd-{{projectVersion}}-darwin-amd64.zip</path>
<platform>osx-x86_64</platform>
</artifact>
</artifacts>
<brew>
<active>${jreleaser.brew.active}</active>
<multiPlatform>true</multiPlatform>
<tap>
<owner>mvndaemon</owner>
<name>homebrew-mvnd</name>
<commitMessage>Release {{tagName}}</commitMessage>
</tap>
</brew>
<sdkman>
<active>${jreleaser.sdkman.active}</active>
</sdkman>
</mvnd>
</distributions>
</jreleaser>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>prerelease</id>
<properties>
<jreleaser.prerelease>true</jreleaser.prerelease>
<jreleaser.upload.assets>PRERELEASE</jreleaser.upload.assets>
<jreleaser.distribution.active>NEVER</jreleaser.distribution.active>
<jreleaser.overwrite>false</jreleaser.overwrite>
<jreleaser.update>false</jreleaser.update>
</properties>
</profile>
<profile>
<id>release</id>
<properties>
<jreleaser.prerelease>false</jreleaser.prerelease>
<jreleaser.upload.assets>RELEASE</jreleaser.upload.assets>
<jreleaser.distribution.active>ALWAYS</jreleaser.distribution.active>
<jreleaser.overwrite>false</jreleaser.overwrite>
<jreleaser.update>true</jreleaser.update>
<jreleaser.brew.active>RELEASE</jreleaser.brew.active>
<jreleaser.sdkman.active>RELEASE</jreleaser.sdkman.active>
</properties>
<id>source-distribution</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>create-source-distribution</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/src.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>