I think this was already discussed a few days ago,
Pls. see the thread, "How to deploy source jar generated by source
plug-in into repository when running mvn deploy?" :)
-Deng
Ståle Undheim wrote:
When I do maven install on a project, the jar for it is compiled and
placed in my local repository, however the accompanying source jar is
not created and added. Is there any way in which I can easily install a
source jar for the project I am in?
The only way I know off now, is 2 steps:
1. mvn source:jar
2. mvn install:install-file -Dfile=.. -DartifactId=.. -DgroupId=..
-Dpackaging=.. -Dversion=.. -Dclassifier=sources
Even though all the parameters can be easily figured out from the
pom.xml, I have to repeat them on the command line. I just want mvn
install to also install source jars, or for there to be an
install:source kinda target.
------------------------------------------------------------------------
!DSPAM:602,46442499110541032652825!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]