jira-importer commented on issue #154: URL: https://github.com/apache/maven-install-plugin/issues/154#issuecomment-2771841803
**[Ivan Bondarenko](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=buzzeri)** commented 1) Yes, 'attach' param is how we not attaching 'sources' artifacts. 2+3) As for adding 'skip', I understand it is not easy task to add it for all plugins. Actually this requirement can be kind of documentational, not interfacial. In any case, there is a lot of complaining in the internet for the lack of 'skip' option for different plugins. To clear our task a bit: we want to install 'sources' to local repository every time (local is always trusted). Also we have several remote repos, some of them are trusted and some - not. So 'sources' must not be deployed to untrusted repositories. Currently we mark trusted repositories with enabling a special profile 'deploy-sources', which sets 'attach' param of sources-plugin to true. But for the case when 'attach' is false, we still need to install to local repo and do it with 'install-file'. Thus we must switch of 'install-file' when 'attach' is true. Btw, later we plan to do multiple deploys at one time (not to reinstall local repo for each deploy), so probably 'skip' parameter will be necessary in 'deploy-file' too. -- 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