RE: How to deploy source jar generated by source plug-in into repository when running mvn deploy?

2007-05-10 Thread Barrett Nuzum
Hi folks.
 
For one of our clients, we just have the CI server call 'mvn clean source:jar 
deploy'
and Maven includes the source jars when it deploys.
 
File under what is the simplest thing that could possibly work.
 
Barrett
 
::   
Barrett Nuzum
Consultant, Skill Development
Direct: 918.640.4414
Fax: 972.789.1340 

Valtech Technologies, Inc.
5080 Spectrum Drive
Suite 700 West
Addison, Texas 75001
www.valtech.com http://www.valtech.com/   
making IT business friendly




From: Maria Odea Ching [mailto:[EMAIL PROTECTED]
Sent: Wed 5/9/2007 9:01 PM
To: Maven Users List
Subject: Re: How to deploy source jar generated by source plug-in into 
repository when running mvn deploy?



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
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-source-plugin/artifactId
executions
execution
idattach-sources/id
goals
goaljar/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]




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



Re: How to deploy source jar generated by source plug-in into repository when running mvn deploy?

2007-05-10 Thread Stephane Nicoll

On 5/10/07, Barrett Nuzum [EMAIL PROTECTED] wrote:

Hi folks.

For one of our clients, we just have the CI server call 'mvn clean source:jar 
deploy'
and Maven includes the source jars when it deploys.


That's the same as adding it explicitely in an execution.



File under what is the simplest thing that could possibly work.


Indeed :)

Stéphane


Barrett

::
Barrett Nuzum
Consultant, Skill Development
Direct: 918.640.4414
Fax: 972.789.1340

Valtech Technologies, Inc.
5080 Spectrum Drive
Suite 700 West
Addison, Texas 75001
www.valtech.com http://www.valtech.com/
making IT business friendly




From: Maria Odea Ching [mailto:[EMAIL PROTECTED]
Sent: Wed 5/9/2007 9:01 PM
To: Maven Users List
Subject: Re: How to deploy source jar generated by source plug-in into 
repository when running mvn deploy?



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
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-source-plugin/artifactId
executions
execution
idattach-sources/id
goals
goaljar/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]




-
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]



Re: How to deploy source jar generated by source plug-in into repository when running mvn deploy?

2007-05-09 Thread Maria Odea Ching


Try mvn deploy:deploy-file :-)

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?


!DSPAM:602,4641443a36371546544105!

  



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



Re: How to deploy source jar generated by source plug-in into repository when running mvn deploy?

2007-05-09 Thread Tomasz Pik

On 5/9/07, JesseLiu [EMAIL PROTECTED] wrote:

Hi,all
How to deploy source jar generated by source plug-in into repository when 
running mvn deploy?


For SNAPSHOT versions right?
Try mvn -DperformRelease=true deploy

Regards,
Tomek

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



Re: How to deploy source jar generated by source plug-in into repository when running mvn deploy?

2007-05-09 Thread Stephane Nicoll

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
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-source-plugin/artifactId
   executions
   execution
   idattach-sources/id
   goals
   goaljar/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?


 !DSPAM:602,4641443a36371546544105!




-
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]



Re: How to deploy source jar generated by source plug-in into repository when running mvn deploy?

2007-05-09 Thread Maria Odea Ching

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
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-source-plugin/artifactId
   executions
   execution
   idattach-sources/id
   goals
   goaljar/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]



How to deploy source jar generated by source plug-in into repository when running mvn deploy?

2007-05-08 Thread JesseLiu
Hi,all
How to deploy source jar generated by source plug-in into repository when 
running mvn deploy?