Hi,

this will work, but I also think that mvn deploy and mvn release makes the
source jars automatically:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>



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?

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.

:-)



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


Reply via email to