On 12/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:

Hi,

How can I make the goal install to also install the sources and not just
the classes?


there are at least 3 ways to do this; the quickest  one is to pass
-DperformRelease=true  parameter.
it works with both install and deploy: mvn install -DperformRelease=true
does the trick and installs sources and javadocs as well.

This is an extract from the documentation:
"install:install is used to automatically install the main project
artifact (the jar, war or ear), its pom and any attached artifacts
(sources, javadoc, etc) produced by a particular project."

So I assume it could be done.

:-)


/iulian

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


Reply via email to