Skip to content

Commit

Permalink
Duplicating jreleaser config for now
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarmorling committed Feb 18, 2024
1 parent fd3ee5d commit 76e861d
Showing 1 changed file with 78 additions and 0 deletions.
78 changes: 78 additions & 0 deletions oss-quickstart-simple-archetype/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

<name>OSS Quickstart Single-Module Archetype</name>
<description>A Maven Archetype for setting up a single-module project following best practices</description>
<url>https://github.com/moditect/oss-quickstart</url>

<build>
<extensions>
Expand All @@ -47,4 +48,81 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>stage</id>
<properties>
<altDeploymentRepository>local::file:${maven.multiModuleProjectDirectory}/target/staging-deploy</altDeploymentRepository>
</properties>
<build>
<defaultGoal>deploy</defaultGoal>
</build>
</profile>
<profile>
<id>jreleaser</id>
<build>
<plugins>
<plugin>
<groupId>org.jreleaser</groupId>
<artifactId>jreleaser-maven-plugin</artifactId>
<version>1.10.0</version>
<inherited>false</inherited>
<configuration>
<gitRootSearch>true</gitRootSearch>
<jreleaser>
<project>
<name>oss-quickstart</name>
<links>
<homepage>https://github.com/moditect/oss-quickstart</homepage>
<documentation>https://github.com/moditect/oss-quickstart</documentation>
</links>
</project>
<signing>
<active>ALWAYS</active>
<armored>true</armored>
</signing>
<deploy>
<maven>
<nexus2>
<maven-central>
<active>ALWAYS</active>
<url>https://oss.sonatype.org/service/local</url>
<snapshotUrl>https://oss.sonatype.org/content/repositories/snapshots/</snapshotUrl>
<closeRepository>true</closeRepository>
<releaseRepository>true</releaseRepository>
<stagingRepositories>${maven.multiModuleProjectDirectory}/target/staging-deploy</stagingRepositories>
</maven-central>
</nexus2>
</maven>
</deploy>
<release>
<github>
<tagName>{{projectVersion}}</tagName>
<releaseName>{{projectVersion}}</releaseName>
<overwrite>true</overwrite>
<issues>
<enabled>true</enabled>
</issues>
<changelog>
<formatted>ALWAYS</formatted>
<formatted>ALWAYS</formatted>
<preset>conventional-commits</preset>
<skipMergeCommits>true</skipMergeCommits>
<contributors>
<format>- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}</format>
</contributors>
<hide>
<contributors>GitHub,dependabot</contributors>
</hide>
</changelog>
</github>
</release>
</jreleaser>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 76e861d

Please sign in to comment.