You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploying to maven-central should succeed, like when the property applyMavenCentralRules is set to false.
Actual Behaviour
Log:
[INFO] JReleaser 1.3.1
[INFO] Configuring with jreleaser.yml
[INFO] - basedir set to /Users/jagodevreede/git/jreleaser-reproducer
[INFO] Reading configuration
[INFO] Loading variables from /Users/jagodevreede/.jreleaser/config.properties
[INFO] Validating configuration
[INFO] Project version set to 0.0.1
[INFO] Release is not snapshot
[INFO] Timestamp is 2022-12-18T20:13:21.775897+01:00
[INFO] HEAD is at 7ebace2
[INFO] Platform is osx-x86_64
[INFO] dry-run set to true
[INFO] Generating changelog
[INFO] Storing changelog: out/jreleaser/release/CHANGELOG.md
[INFO] Calculating checksums
[INFO] [checksum] No files configured for checksum. Skipping
[INFO] Signing files
[INFO] [sign] No files configured for signing. Skipping
[INFO] Deploying all staged artifacts
[INFO] [nexus2] Deploying to maven-central
[ERROR] [nexus2] jreleaser-reproducer-0.0.1-sources.jar is missing
[ERROR] [nexus2] jreleaser-reproducer-0.0.1-javadoc.jar is missing
[INFO] Writing output properties to out/jreleaser/output.properties
[ERROR] JReleaser failed after 2,329 s
Rules for publishing to Maven Central were not met
Environment Information
Operating System: OSX
JReleaser Version: 1.3.1
JDK Version: openjdk 17.0.4
Please paste stacktraces from [out|build|target]/jreleaser/trace.log.
org.jreleaser.model.JReleaserException: Rules for publishing to Maven Central were not met
at org.jreleaser.sdk.commons.AbstractMavenDeployer.collectDeployables(AbstractMavenDeployer.java:116)
at org.jreleaser.sdk.nexus2.Nexus2MavenDeployer.deploy(Nexus2MavenDeployer.java:54)
at org.jreleaser.engine.deploy.maven.ProjectMavenDeployer.deploy(ProjectMavenDeployer.java:55)
at org.jreleaser.engine.deploy.maven.MavenDeployers.deploy(MavenDeployers.java:124)
at org.jreleaser.engine.deploy.maven.MavenDeployers.deploy(MavenDeployers.java:111)
at org.jreleaser.workflow.DeployWorkflowItem.doInvoke(DeployWorkflowItem.java:35)
at org.jreleaser.workflow.AbstractWorkflowItem.lambda$invoke$0(AbstractWorkflowItem.java:43)
at org.jreleaser.engine.hooks.CommandHookExecutor.execute(CommandHookExecutor.java:52)
at org.jreleaser.workflow.AbstractWorkflowItem.invoke(AbstractWorkflowItem.java:43)
at org.jreleaser.workflow.WorkflowImpl.execute(WorkflowImpl.java:102)
at org.jreleaser.cli.FullRelease.doExecute(FullRelease.java:180)
at org.jreleaser.cli.AbstractModelCommand.execute(AbstractModelCommand.java:82)
at org.jreleaser.cli.AbstractCommand.call(AbstractCommand.java:36)
at org.jreleaser.cli.AbstractModelCommand.call(AbstractModelCommand.java:48)
at org.jreleaser.cli.AbstractCommand.call(AbstractCommand.java:29)
at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
at picocli.CommandLine.execute(CommandLine.java:2078)
at org.jreleaser.cli.Main.execute(Main.java:72)
at org.jreleaser.cli.Main.run(Main.java:57)
at org.jreleaser.cli.Main.main(Main.java:48)
Maybe this issue is for the pom checker?
The text was updated successfully, but these errors were encountered:
Task List
Steps to Reproduce
mvn -Ppublication deploy -DaltDeploymentRepository=local::file:./target/staging-deploy
as per example: https://jreleaser.org/guide/latest/examples/maven/staging-artifacts.htmljreleaser full-release --dry-run
Expected Behaviour
Deploying to maven-central should succeed, like when the property
applyMavenCentralRules
is set to false.Actual Behaviour
Log:
Environment Information
Please paste stacktraces from
[out|build|target]/jreleaser/trace.log
.Maybe this issue is for the pom checker?
The text was updated successfully, but these errors were encountered: