Skip to content

Commit

Permalink
Updated to go to maven central rather than github packages (#42)
Browse files Browse the repository at this point in the history
* Updated to go to maven central rather than github packages

* let's stick with the default tag format
  • Loading branch information
therealryan authored Aug 9, 2022
1 parent 0ac8ccd commit 50ecd7d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 44 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/deploy.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
git config user.email "[email protected]"
git config user.name "GitHub Actions"
- name: Create release and publish to GitHub Packages
- name: Create release
env:
GITHUB_TOKEN: ${{ github.token }}
run: mvn -B -Dnode=system release:prepare release:perform
run: mvn -B -Dnode=system -Darguments="-Dmaven.deploy.skip=true" release:prepare release:perform
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,14 @@
<scm>
<connection>scm:git:https://github.com/Mastercard/flow.git</connection>
<developerConnection>scm:git:https://github.com/Mastercard/flow.git</developerConnection>
<tag>HEAD</tag>
<url>https://github.com/Mastercard/flow</url>
<tag>HEAD</tag>
</scm>
</scm>

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Mastercard Apache Maven Packages</name>
<url>https://maven.pkg.github.com/Mastercard/flow</url>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

Expand Down Expand Up @@ -178,6 +177,8 @@
<lineSeparator>\n</lineSeparator>
<nrOfIndentSpace>-1</nrOfIndentSpace>
<createBackupFile>false</createBackupFile>
<expandEmptyElements>false</expandEmptyElements>
<spaceBeforeCloseEmptyElement>true</spaceBeforeCloseEmptyElement>
</configuration>
</plugin>

Expand Down Expand Up @@ -288,7 +289,6 @@
<arguments>-Dnode=system -DexcludedGroups=avoid_on_release</arguments>
<autoVersionSubmodules>true</autoVersionSubmodules>
<lineSeparator>lf</lineSeparator>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>

Expand Down
3 changes: 0 additions & 3 deletions report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
<module>report-core</module>
<module>report-ng</module>
</modules>
<dependencyManagement>
<dependencies />
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
Expand Down
3 changes: 0 additions & 3 deletions validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
<module>validation-junit5</module>
<module>coppice</module>
</modules>
<dependencyManagement>
<dependencies />
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
Expand Down

0 comments on commit 50ecd7d

Please sign in to comment.