[ 
https://jira.codehaus.org/browse/MINSTALL-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=329321#comment-329321
 ] 

Robert Scholte commented on MINSTALL-51:
----------------------------------------

By {{includeAttachedArtifacts}} you're introducing some sort of anti-pattern. 
This should be fixed at the cause, meaning there where the artifacts are 
attached. Suppose there are other plugins which check the attached artifacts as 
well, they are based on different information. For instance, I'd like to report 
all attached artifacts. If I set the {{includeAttachedArtifacts}} to false, the 
report will still these artifacts as attached.
I'm not going to implement a detach artifacts either, because I can't assure 
there's no plugin between the attaching and detaching.

For the {{uniqueVersion}} I have to investigate the cons and pros.
Having unique versions is interesting if you want to lock a version of a 
dependency. This means that dependencies with a lock on a unique version of an 
installed version makes it useless for your co-workers. For that same reason I 
use most of the time either {{verify}} or {{deploy}}. I'd really like to avoid 
{{install}}, because that makes my local repository different from my 
co-workers. Instead I prefer to pull all SNAPSHOTs from a remote repository.




                
> uniqueVersion, includeAttachedArtifacts
> ---------------------------------------
>
>                 Key: MINSTALL-51
>                 URL: https://jira.codehaus.org/browse/MINSTALL-51
>             Project: Maven 2.x Install Plugin
>          Issue Type: New Feature
>          Components: install:install
>    Affects Versions: 2.2
>            Reporter: Francis Korning
>         Attachments: MINSTALL-51-patch.zip
>
>
> by default the maven install plugin is inconsistent in its use of the 
> uniqueVersion flag,
> which can be set manually in the explicit install-file goal but isn't present 
> in the implicit install goal.
> another thing we'd like to do is disabling the installment of deliverable 
> attached artifacts,
> or allowing to select only specific artifacts, classifiers, or assemblies. 
> for installment.
> new configuration parameters include:
> || parameter  || type || default      || description ||
> | uniqueVersion       | boolean       | true  | use uniqueVersion 
> buildnumbers (${artifactId}-YYYYmmdd-HHmmss-nn) |
> | includeAttachedArtifacts    | boolean       | true  | also install attached 
> artifacts |

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to