Title: [feature] rewrite the CI scripts to publish to Maven central · Issue #16 · aviatorscript/aviatorscript · GitHub
Open Graph Title: [feature] rewrite the CI scripts to publish to Maven central · Issue #16 · aviatorscript/aviatorscript
X Title: [feature] rewrite the CI scripts to publish to Maven central · Issue #16 · aviatorscript/aviatorscript
Description: use the CI scripts in: https://github.com/casbin/jcasbin see: https://github.com/casbin/jcasbin/blob/master/.github/workflows/maven-ci.yml # This workflow will build a Java project with Maven # For more information see: https://help.gith...
Open Graph Description: use the CI scripts in: https://github.com/casbin/jcasbin see: https://github.com/casbin/jcasbin/blob/master/.github/workflows/maven-ci.yml # This workflow will build a Java project with Maven # For...
X Description: use the CI scripts in: https://github.com/casbin/jcasbin see: https://github.com/casbin/jcasbin/blob/master/.github/workflows/maven-ci.yml # This workflow will build a Java project with Maven # For...
Opengraph URL: https://github.com/aviatorscript/aviatorscript/issues/16
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[feature] rewrite the CI scripts to publish to Maven central","articleBody":"use the CI scripts in: https://github.com/casbin/jcasbin\n\nsee: https://github.com/casbin/jcasbin/blob/master/.github/workflows/maven-ci.yml\n\n```\n# This workflow will build a Java project with Maven\n# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven\n\nname: build\n\non:\n push:\n branches:\n - master\n pull_request:\n\njobs:\n build:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout\n uses: actions/checkout@v2\n with:\n fetch-depth: '0'\n\n - name: Set up JDK 1.8\n uses: actions/setup-java@v1\n with:\n java-version: 1.8\n server-id: ossrh\n server-username: OSSRH_JIRA_USERNAME\n server-password: OSSRH_JIRA_PASSWORD\n gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}\n gpg-passphrase: GPG_PASSPHRASE\n\n - name: Build with Maven\n run: mvn clean test cobertura:cobertura\n\n - name: Codecov\n uses: codecov/codecov-action@v1\n with:\n token: ${{ secrets.CODECOV_TOKEN }}\n\n - name: Set up Node.js\n uses: actions/setup-node@v2\n with:\n node-version: 20\n\n - name: Semantic Release\n run: |\n npm install -g @conveyal/maven-semantic-release semantic-release\n semantic-release --prepare @conveyal/maven-semantic-release --publish @semantic-release/github,@conveyal/maven-semantic-release --verify-conditions @semantic-release/github,@conveyal/maven-semantic-release\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }}\n GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}\n OSSRH_JIRA_USERNAME: ${{ secrets.OSSRH_JIRA_USERNAME }}\n OSSRH_JIRA_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }}\n```\n\n\nsee: https://github.com/casbin/jcasbin/blob/master/.github/semantic.yml\n\n```\n# Always validate the PR title AND all the commits\ntitleAndCommits: true\n```\n\nsee: https://github.com/casbin/jcasbin/blob/master/pom.xml\n\n```\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003cproject xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">\n \u003cmodelVersion>4.0.0\u003c/modelVersion>\n\n \u003cgroupId>org.casbin\u003c/groupId>\n \u003cartifactId>jcasbin\u003c/artifactId>\n \u003cversion>0.0.0-SNAPSHOT\u003c/version>\n\n \u003cname>JCasbin Authorization Library\u003c/name>\n \u003cdescription>An authorization library that supports access control models like ACL, RBAC, ABAC in Java\u003c/description>\n \u003curl>https://casbin.org/\u003c/url>\n \u003cinceptionYear>2017\u003c/inceptionYear>\n\n \u003cissueManagement>\n \u003csystem>Github\u003c/system>\n \u003curl>https://github.com/casbin/jcasbin/issues\u003c/url>\n \u003c/issueManagement>\n\n \u003cparent>\n \u003cgroupId>org.sonatype.oss\u003c/groupId>\n \u003cartifactId>oss-parent\u003c/artifactId>\n \u003cversion>7\u003c/version>\n \u003c/parent>\n \u003clicenses>\n \u003clicense>\n \u003cname>The Apache Software License, Version 2.0\u003c/name>\n \u003curl>https://www.apache.org/licenses/LICENSE-2.0.txt\u003c/url>\n \u003cdistribution>repo\u003c/distribution>\n \u003c/license>\n \u003c/licenses>\n \u003cscm>\n \u003curl>https://github.com/casbin/jcasbin\u003c/url>\n \u003cconnection>scm:git@github.com:casbin/jcasbin.git\u003c/connection>\n \u003cdeveloperConnection>scm:git:https://github.com/casbin/jcasbin.git\u003c/developerConnection>\n \u003c/scm>\n \u003cdevelopers>\n \u003cdeveloper>\n \u003cname>Yang Luo\u003c/name>\n \u003cemail>hsluoyz@qq.com\u003c/email>\n \u003curl>https://github.com/hsluoyz\u003c/url>\n \u003c/developer>\n \u003c/developers>\n\n \u003cproperties>\n \u003cproject.build.sourceEncoding>UTF-8\u003c/project.build.sourceEncoding>\n \u003cslf4j.version>2.0.16\u003c/slf4j.version>\n \u003c/properties>\n\n \u003cdistributionManagement>\n \u003csnapshotRepository>\n \u003cid>ossrh\u003c/id>\n \u003curl>https://central.sonatype.com\u003c/url>\n \u003c/snapshotRepository>\n \u003c/distributionManagement>\n\n \u003cbuild>\n \u003cplugins>\n \u003cplugin>\n \u003cgroupId>org.apache.maven.plugins\u003c/groupId>\n \u003cartifactId>maven-gpg-plugin\u003c/artifactId>\n \u003cversion>3.2.7\u003c/version>\n \u003cexecutions>\n \u003cexecution>\n \u003cid>sign-artifacts\u003c/id>\n \u003cphase>verify\u003c/phase>\n \u003cgoals>\n \u003cgoal>sign\u003c/goal>\n \u003c/goals>\n \u003c/execution>\n \u003c/executions>\n \u003cconfiguration>\n \u003c!-- Prevent gpg from using pinentry programs -->\n \u003cgpgArguments>\n \u003carg>--pinentry-mode\u003c/arg>\n \u003carg>loopback\u003c/arg>\n \u003c/gpgArguments>\n \u003c/configuration>\n \u003c/plugin>\n \u003cplugin>\n \u003c!-- Allow attaching Javadoc during releases -->\n \u003cgroupId>org.apache.maven.plugins\u003c/groupId>\n \u003cartifactId>maven-javadoc-plugin\u003c/artifactId>\n \u003cversion>3.11.1\u003c/version>\n \u003cconfiguration>\n \u003csource>11\u003c/source>\n \u003cdetectJavaApiLink>false\u003c/detectJavaApiLink>\n \u003c!-- Turn off Java 8 strict Javadoc checking -->\n\u003c!-- \u003cadditionalparam>-Xdoclint:none\u003c/additionalparam>-->\n \u003cdoclint>none\u003c/doclint>\n \u003csourceFileIncludes>\n \u003csourceFileInclude>**/*.java\u003c/sourceFileInclude>\n \u003c/sourceFileIncludes>\n \u003ctags>\n \u003ctag>\n \u003cname>notnull\u003c/name>\n \u003cplacement>a\u003c/placement>\n \u003chead>Not null\u003c/head>\n \u003c/tag>\n \u003ctag>\n \u003cname>default\u003c/name>\n \u003cplacement>a\u003c/placement>\n \u003chead>Default:\u003c/head>\n \u003c/tag>\n \u003c/tags>\n \u003c/configuration>\n \u003cexecutions>\n \u003c!-- Compress Javadoc into JAR and include that JAR when deploying. -->\n \u003cexecution>\n \u003cid>attach-javadocs\u003c/id>\n \u003cgoals>\n \u003cgoal>jar\u003c/goal>\n \u003c/goals>\n \u003c/execution>\n \u003c/executions>\n \u003c/plugin>\n \u003cplugin>\n \u003c!-- Include zipped source code in releases -->\n \u003cgroupId>org.apache.maven.plugins\u003c/groupId>\n \u003cartifactId>maven-source-plugin\u003c/artifactId>\n \u003cexecutions>\n \u003cexecution>\n \u003cid>attach-sources\u003c/id>\n \u003cgoals>\n \u003cgoal>jar-no-fork\u003c/goal>\n \u003c/goals>\n \u003c/execution>\n \u003c/executions>\n \u003c/plugin>\n \u003cplugin>\n \u003c!-- Automatically close and deploy from OSSRH -->\n \u003cgroupId>org.sonatype.central\u003c/groupId>\n \u003cartifactId>central-publishing-maven-plugin\u003c/artifactId>\n \u003cversion>0.6.0\u003c/version>\n \u003cextensions>true\u003c/extensions>\n \u003cconfiguration>\n \u003cpublishingServerId>ossrh\u003c/publishingServerId>\n \u003ctokenAuth>true\u003c/tokenAuth>\n \u003c!-- Release versions will be synced to Maven Central automatically. -->\n \u003cautoPublish>true\u003c/autoPublish>\n \u003c/configuration>\n \u003c/plugin>\n \u003cplugin>\n \u003cgroupId>org.apache.maven.plugins\u003c/groupId>\n \u003cartifactId>maven-compiler-plugin\u003c/artifactId>\n \u003cconfiguration>\n \u003csource>1.8\u003c/source>\n \u003ctarget>1.8\u003c/target>\n \u003c/configuration>\n \u003c/plugin>\n \u003cplugin>\n \u003cgroupId>org.eluder.coveralls\u003c/groupId>\n \u003cartifactId>coveralls-maven-plugin\u003c/artifactId>\n \u003cversion>4.3.0\u003c/version>\n \u003c/plugin>\n \u003cplugin>\n \u003cgroupId>org.codehaus.mojo\u003c/groupId>\n \u003cartifactId>cobertura-maven-plugin\u003c/artifactId>\n \u003cversion>2.7\u003c/version>\n \u003cconfiguration>\n \u003cformats>\n \u003cformat>html\u003c/format>\n \u003cformat>xml\u003c/format>\n \u003c/formats>\n \u003ccheck />\n \u003c/configuration>\n \u003c/plugin>\n \u003c/plugins>\n \u003c/build>\n\n \u003cdependencies>\n \u003cdependency>\n \u003cgroupId>org.slf4j\u003c/groupId>\n \u003cartifactId>slf4j-api\u003c/artifactId>\n \u003cversion>${slf4j.version}\u003c/version>\n \u003c/dependency>\n \u003cdependency>\n \u003cgroupId>org.slf4j\u003c/groupId>\n \u003cartifactId>slf4j-simple\u003c/artifactId>\n \u003cversion>${slf4j.version}\u003c/version>\n \u003cscope>test\u003c/scope>\n \u003c/dependency>\n \u003cdependency>\n \u003cgroupId>junit\u003c/groupId>\n \u003cartifactId>junit\u003c/artifactId>\n \u003cversion>4.13.2\u003c/version>\n \u003cscope>test\u003c/scope>\n \u003c/dependency>\n \u003cdependency>\n \u003cgroupId>org.mockito\u003c/groupId>\n \u003cartifactId>mockito-inline\u003c/artifactId>\n \u003cversion>4.11.0\u003c/version>\n \u003cscope>test\u003c/scope>\n \u003c/dependency>\n \u003cdependency>\n \u003cgroupId>com.googlecode.aviator\u003c/groupId>\n \u003cartifactId>aviator\u003c/artifactId>\n \u003cversion>5.4.3\u003c/version>\n \u003c/dependency>\n\n \u003cdependency>\n \u003cgroupId>com.github.seancfoley\u003c/groupId>\n \u003cartifactId>ipaddress\u003c/artifactId>\n \u003cversion>5.5.1\u003c/version>\n \u003c/dependency>\n \u003cdependency>\n \u003cgroupId>commons-io\u003c/groupId>\n \u003cartifactId>commons-io\u003c/artifactId>\n \u003cversion>2.17.0\u003c/version>\n \u003c/dependency>\n \u003cdependency>\n \u003cgroupId>org.openjdk.jmh\u003c/groupId>\n \u003cartifactId>jmh-core\u003c/artifactId>\n \u003cversion>1.37\u003c/version>\n \u003cscope>test\u003c/scope>\n \u003c/dependency>\n \u003cdependency>\n \u003cgroupId>org.openjdk.jmh\u003c/groupId>\n \u003cartifactId>jmh-generator-annprocess\u003c/artifactId>\n \u003cversion>1.37\u003c/version>\n \u003cscope>test\u003c/scope>\n \u003c/dependency>\n \u003cdependency>\n \u003cgroupId>org.apache.commons\u003c/groupId>\n \u003cartifactId>commons-csv\u003c/artifactId>\n \u003cversion>1.12.0\u003c/version>\n \u003c/dependency>\n \u003cdependency>\n \u003cgroupId>com.google.code.gson\u003c/groupId>\n \u003cartifactId>gson\u003c/artifactId>\n \u003cversion>2.11.0\u003c/version>\n \u003c/dependency>\n \u003cdependency>\n \u003cgroupId>com.fasterxml.jackson.core\u003c/groupId>\n \u003cartifactId>jackson-databind\u003c/artifactId>\n \u003cversion>2.18.1\u003c/version>\n \u003c/dependency>\n \u003c/dependencies>\n\u003c/project>\n```\n\n\nsee: https://github.com/casbin/jcasbin/blob/master/maven-settings.xml\n\n```\n\u003csettings>\n \u003cservers>\n \u003cserver>\n \u003cid>ossrh\u003c/id>\n \u003cusername>${OSSRH_JIRA_USERNAME}\u003c/username>\n \u003cpassword>${OSSRH_JIRA_PASSWORD}\u003c/password>\n \u003c/server>\n \u003c/servers>\n \u003cprofiles>\n \u003cprofile>\n \u003cid>ossrh\u003c/id>\n \u003cactivation>\n \u003cactiveByDefault>true\u003c/activeByDefault>\n \u003c/activation>\n \u003cproperties>\n \u003cgpg.executable>gpg\u003c/gpg.executable>\n \u003cgpg.keyname>${GPG_KEY_NAME}\u003c/gpg.keyname>\n \u003cgpg.passphrase>${GPG_PASSPHRASE}\u003c/gpg.passphrase>\n \u003c/properties>\n \u003c/profile>\n \u003c/profiles>\n\u003c/settings>\n```","author":{"url":"https://github.com/mserico","@type":"Person","name":"mserico"},"datePublished":"2026-01-22T16:03:01Z","url":"https://github.com/aviatorscript/aviatorscript/issues/16"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e917a072-75dd-b784-d472-81cb5ce383c6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7E2:31EE77:5F9FEB:7E4F3A:6B04C370 |
| html-safe-nonce | 4d0359b5af9ca8f828eeb963cce8f7e4f050887540428ad46f2e2823e0a7e8e4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0UyOjMxRUU3Nzo1RjlGRUI6N0U0RjNBOjZCMDRDMzcwIiwidmlzaXRvcl9pZCI6IjQ5MDg2MzM2MzM3OTcyMjczNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 250f822172c18f63c866191bd4e17e7de163a804364a33a53f95f7918b702979 |
| hovercard-subject-tag | issue:3843605852 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/aviatorscript/aviatorscript/16/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5de325b4df22f4d8662913edc5a8e2aa78f5bd5d579ed0f18678ec4cb6bfeaa3/aviatorscript/aviatorscript/issues/16 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5de325b4df22f4d8662913edc5a8e2aa78f5bd5d579ed0f18678ec4cb6bfeaa3/aviatorscript/aviatorscript/issues/16 |
| og:image:alt | use the CI scripts in: https://github.com/casbin/jcasbin see: https://github.com/casbin/jcasbin/blob/master/.github/workflows/maven-ci.yml # This workflow will build a Java project with Maven # For... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mserico |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85dd75377eb77313206b8fc108bcee6a3a029286d94bf32bf9b4426e4d92e0c4 |
| turbo-cache-control | no-preview |
| go-import | github.com/aviatorscript/aviatorscript git https://github.com/aviatorscript/aviatorscript.git |
| octolytics-dimension-user_id | 256508575 |
| octolytics-dimension-user_login | aviatorscript |
| octolytics-dimension-repository_id | 1139611944 |
| octolytics-dimension-repository_nwo | aviatorscript/aviatorscript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1139611944 |
| octolytics-dimension-repository_network_root_nwo | aviatorscript/aviatorscript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0d64fa748a2bab9a5b587a967ac4da1cfa8da6dd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width