[ 
https://issues.apache.org/jira/browse/MDEPLOY-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15935655#comment-15935655
 ] 

Richard Sand commented on MDEPLOY-131:
--------------------------------------

By that logic Robert, you should remove the "pomFile" parameter from the 
deploy-file goal. It only leads to abuse. Just like you should remove the 
automatic update from the javadoc plugin, or require it to be explicitly 
invoked like deploy-file, because adding a skip smells so bad too.

Maven *is* a complex tool. If you want to constrain how people use it and not 
only adopt your tool but adopt your philosophies, then dumb it down. But maven 
isn't that - its a powerful can-do-almost-anything tool. If I want simplicity 
and a single formulaic method, there are certainly simpler and more 
straightforward tools out there. But you seem to want to dictate process as 
well, and keep all of your users in line. I guess you know our businesses best?

> use default repository when no url specified
> --------------------------------------------
>
>                 Key: MDEPLOY-131
>                 URL: https://issues.apache.org/jira/browse/MDEPLOY-131
>             Project: Maven Deploy Plugin
>          Issue Type: Improvement
>          Components: deploy:deploy-file
>            Reporter: raymond domingo
>              Labels: contributers-welcome
>         Attachments: DeployFileMojo.java, 
> maven-deploy-useProjectRepo-20170319.patch, patch_deploy_file_mojo.diff
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to