jira-importer commented on issue #154: URL: https://github.com/apache/maven-install-plugin/issues/154#issuecomment-2771841811
**[Robert Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)** commented You've just described a perfect example where you thought that skipping would be the best solution, but which would be the start of a chain of other adjustments. So actually, the `install` phase was always correct: the plugin installed the artifact and the attachments. However, during `deploy` in some cases you don't want to upload the attachments. By trying to solve this issue, the closest you could get was an `install-file` hack. But the hack is not good enough so the hack needs to be hacked. Instead, I'm willing to do the following: improve the `deploy` goal the a `excludeClassifiedArtifacts` (or something like that) where you can specify the classifiers (and/or extension?) of the attachments which should be excluded. In conclusion: I still think that the `install-file` goal should not have the `skip` option. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org