the <scm> element in the pom is used for every SCM action in maven, e.g. if you 
do a mvn release:prepare / mvn release:perform and stuff.

Since Hudson and other CI environments often do not rely on the build system 
for updating the project, they have the ability to do this their self (otoh, 
some CI systems do use maven-scm internally, but get the scm URL parameter from 
the UI rather than the pom.

LieGrue,
strub

--- Rémy <[email protected]> schrieb am Mo, 14.12.2009:

> Von: Rémy <[email protected]>
> Betreff: pom.xml : <scm> element
> An: [email protected]
> Datum: Montag, 14. Dezember 2009, 10:41
> 
> Hello,
> 
> What is the purpose of the <scm> element defined in
> the pom.xml. I can't
> understand its usefulness.
> In Hudson, the link to the SCM is configured in the job.
> When I make a
> release (maven-release-plugin), I feel that the plugin is
> based on
> information contained in the workspace.
> 
> http://maven.apache.org/pom.html#SCM http://maven.apache.org/pom.html#SCM 
> 
> Thank you.
> 
> Remy
> 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/pom.xml-%3A-%3Cscm%3E-element-tp26775153p26775153.html
> Sent from the Maven - Users mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to