[MDEPLOY-131] use default repository when no url specified
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- build-system
Research direction
Start by reviewing the attached DeployFileMojo.java and the maven-deploy-useProjectRepo-20170319.patch to understand the proposed deploy-file behavior. Verify that omitting the URL uses the default snapshot or release repository while an explicitly supplied URL remains supported.
Written by the indexing model from the issue text.
Description
raymond domingo opened MDEPLOY-131 and commented
When using the deploy goal there is no need to specify the url of the repository.
When using deploy-file you DO need to specify the url. This is a problem, because during development I like to deploy to snapshot repository and when releasing i deploy to release repository and I can't add this logic to the pom.
Thas is why I like the url paramter to become optional (backwards compatible) and add default behaviour when it is null. It should just like the deploy plugin use the default repository. Snapshot for snapshots and release for none snapshot versions.
I added a patch file fixing this.
I also added complete source of patched Mojo
Attachments:
- DeployFileMojo.java (14.57 kB)
- maven-deploy-useProjectRepo-20170319.patch (2.78 kB)
- patch_deploy_file_mojo.diff (3.98 kB)
4 votes, 9 watchers
- Dominant language
- Java
- Stars
- 78
- Forks
- 76
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 13
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/maven-deploy-plugin
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/maven-deploy-plugin#666 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 42/100
apache/maven-deploy-plugin#649 · 1 comment ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/maven-deploy-plugin#622 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/maven-deploy-plugin#122 · 2 reactions ·
-
bug priority:major
Difficulty 3/5 1-2 days Newbie friendliness 45/100
apache/maven-deploy-plugin#412 · 1 reaction ·
All issues in apache/maven-deploy-plugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100