I already replied to this yesterday. Search the list please.

On 5/11/07, Ståle Undheim <[EMAIL PROTECTED]> 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.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to