Hmm.. yeah it makes more sense.
Thanks for correcting me :)
- Deng
Stephane Nicoll wrote:
On 5/9/07, Maria Odea Ching <[EMAIL PROTECTED]> wrote:
Try mvn deploy:deploy-file :-)
?
Not sure it's the right advice. If you want to deploy the source
within the standard deploy phase, you need to bind the source plugin
to the lifecycle. To do so, configure the source plugin as follows:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
HTH,
Stéphane
http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html
- Deng
JesseLiu wrote:
> Hi,all
> How to deploy source jar generated by source plug-in into
repository when running mvn deploy?
>
>
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
!DSPAM:602,46419d83126011969219952!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]