GithubHelp home page GithubHelp logo

akijoey / semantic-release-maven Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 3.0 1.64 MB

๐Ÿ‘จโ€๐Ÿซ Semantic release plugin to publish a maven package.

License: MIT License

JavaScript 97.76% Shell 2.24%

semantic-release-maven's Introduction

Hi there ๐Ÿ‘‹ I am AkiJoey

Emacs enthusiast and front end developer.

emacs typescript node-js views

semantic-release-maven's People

Contributors

akijoey avatar renovate-bot avatar renovate[bot] avatar semantic-release-bot avatar therockyong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

semantic-release-maven's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): lock file maintenance

Detected dependencies

github-actions
.github/workflows/build.yml
npm
package.json

  • Check this box to trigger a request for Renovate to run again on this repository

How to set the configuration options?

Hi,

what a nice plugin, good job!

But I have no idea how to set the configuration options. Could you please add an example to the README.md? I'd like to set the profiles option, but how? I am using the YAML format.

branches:
  - main
  - release-dry-run

tagFormat: "${version}"

preset: 'conventionalcommits'

plugins:
  - "@semantic-release/commit-analyzer"
  - "@semantic-release/release-notes-generator"
  - "@semantic-release/changelog"
  - "@semantic-release/git"
  - "@semantic-release/github"
  - "@semantic-release/exec"
  - "semantic-release-maven"

Maven build fails for Java 17

I have a Java project using Java 17 and Maven. Building it on the command line works fine, but using semantic-release doesn't. I do not have a ./mvnw script in my repository. My workflow fails with

The release workflow failed with `Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project api: Fatal error compiling: error: invalid
target release: 17 -> [Help 1]`. It seems that the Java version used is
not compatible with Java 17.

mvn --version (executed in the semantic-release step of the workflow) returns

Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)
Maven home: /usr/share/apache-maven-3.8.8
Java version: 17.0.9, vendor: Eclipse Adoptium, runtime: /usr/lib/jvm/temurin-17-jdk-amd64
Default locale: en, platform encoding: UTF-8

So everything looks good from my point of view. But somehow this plugin uses a different Java version. But which one? And how can this be configured to use Java 17?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.