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
Deploy plugin maven site:
http://maven.apache.org/plugins/maven-deploy-plugin/index.html
Based on what I am reading there, it looks like you can exclude modules from deployment, but not individual files - at least not yet.
If you look at the goals page:
http://maven.apache.org/plugins/maven-deploy-plugin/plugin-info.html
it does not show any specific configurations of the plugin for what you are looking for. As the goals page is made from the plugin class, by looking at the annotations, I would say that they do not have the ability.
One thing you could do would be to make a different build that does not create the jars you don't want created - i.e. make a different assembly package or the like for that build, and have the build be run when you are trying to deploy specific packages.
Edit: koppernickus has a full description of this, I would recommend you see his post.