When I run \"mvn deploy:deploy\", maven deploys 4 jar files to my internal remote repository.
They are:
[module-name]-1.jar
[module-name]-1.pom
[modu
Is there any way to exclude [module-name]-1-sources.jar from the deployment process?
Don't generate sources if you don't want to deploy them. So either remove the following (that you must have in your POM) or put it in a profile that you don't use or exclude during release (I wonder when you use sources in that case):
org.apache.maven.plugins
maven-source-plugin
jar