bazel-contrib / bazel-contrib/rules_jvm_external

How to publish SNAPSHOT version

Open
#1,004 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
373
Forks
301
Avg merge
7d 17h
Merged PRs (30d)
3

Description

Hi
I have a problem to publish snapshot version, I saw in other tickets comments that `java_export` could publish snapshots but when I'm adding `-SNAPSHOT` to maven coordinates I'm getting following error:
`File name specifies \"snapshot\" for version. Non-unique snapshot versions are not supported. Use unique (timestamped) snapshot versions instead"`

I tired to run publish with `--stamp` option but without success and I'm not able to find anything in rules_jvm_external sources.
Could you give me a hint?
thanks
Tomasz

Contributor guide

Open the contributing guide

Research direction

Start by reading the java_export documentation and inspecting the rules_jvm_external sources for Maven coordinate handling and the --stamp option. The issue is resolved when the supported way to publish a timestamped SNAPSHOT, or the reason it is unsupported, is documented and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.