Skip to content

[core] Config block project.java validation skipped mavenCentral deployer is configured #1745

@aalmiray

Description

@aalmiray

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem (link to git repository is ideal)
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. Define a jreleaser.yml config without a project.java block
  2. Configure a mavenCentral deployer.
  3. Deploy by setting missing properties using env vars, such as JRELEASER_PROJECT_JAVA_GROUP_ID

Expected Behaviour

Successful deployment.

Actual Behaviour

Validation error because project.java.group.id is missing.

Environment Information

  • Operating System: N/A
  • JReleaser Version: 1.14.0
  • JDK Version: N/A

Follow up to #1709

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleasedIssue has been released

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions