Skip to content

Comments

fix(gen-build-spec): remove the default -Dmaven.test.skip=true mvn option from the default spec#1301

Merged
behnazh-w merged 1 commit intomainfrom
1298-bug---generic-buildspec-should-not-include--dmaventestskiptrue
Feb 19, 2026
Merged

fix(gen-build-spec): remove the default -Dmaven.test.skip=true mvn option from the default spec#1301
behnazh-w merged 1 commit intomainfrom
1298-bug---generic-buildspec-should-not-include--dmaventestskiptrue

Conversation

@behnazh-w
Copy link
Member

@behnazh-w behnazh-w commented Feb 16, 2026

Summary

This PR removes the default -Dmaven.test.skip=true option from the default buildspec for Maven artifacts.

Description of changes

Previously, the default buildspec for Maven projects included -Dmaven.test.skip=true by default. This option is no longer added in the default spec, ensuring that test dependencies are complied unless explicitly specified otherwise by the configuration. The -Dmaven.test.skip=true flag is still included in the reproducible-central build specification, where skipping tests improves the build success rate given the requirements and resource constraints of the central infrastructure. This change helps maintain better test coverage in generic scenarios, while still supporting reliable builds on the reproducible central infrastructure.

Related issues

Fixes #1298

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 16, 2026
@behnazh-w behnazh-w force-pushed the 1298-bug---generic-buildspec-should-not-include--dmaventestskiptrue branch from 2077f74 to d6f14fe Compare February 16, 2026 04:22
@behnazh-w behnazh-w requested a review from nicallen February 16, 2026 04:51
@behnazh-w behnazh-w force-pushed the 1298-bug---generic-buildspec-should-not-include--dmaventestskiptrue branch 2 times, most recently from 1d9deea to ee6a4cc Compare February 18, 2026 06:00
…tion from the generic spec

Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w behnazh-w force-pushed the 1298-bug---generic-buildspec-should-not-include--dmaventestskiptrue branch from ee6a4cc to de56519 Compare February 19, 2026 04:47
@behnazh-w behnazh-w merged commit 4116250 into main Feb 19, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] - [Generic buildspec should not include -Dmaven.test.skip=true]

2 participants