Hi,
Just try :
 <preparationGoals>assembly:assembly</preparationGoals>

If you have more than one, just use as this :
<preparationGoals>clean test-compile</preparationGoals>

Have a look : 
http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#preparationGoals



HTH,
--
Olivier

-----Message d'origine-----
De : Evan Toliopoulos [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 18 mai 2007 05:26
À : Maven Users List
Objet : Problems with preparationGoals config in the release plugin

Hi,

Has any one managed to configure the *preparationGoals *for the *release 
*plugin successfully.

I have the following in my pom.xml (which is a parent POM with packaging
pom):

  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-release-plugin</artifactId>
    <configuration>
        
<tagBase>scm:svn:svn://svn.emagineinternational.com/tags/sms-transceiver</tagBase>
        <preparationGoals>
            <preparationGoal>assembly:assembly</preparationGoal>
        </preparationGoals>
    </configuration>
  </plugin>

and when I try to run Maven v2.0.6 with goal *release:prepare* I get:

  [INFO] Failed to configure plugin parameters for: 
org.apache.maven.plugins:maven-release-plugin:2.0-beta-4
  Cause: When configuring a basic element the configuration cannot contain any 
child elements. Configuration element 'preparationGoals'.

Does anyone know what I am doing wrong?

Thanks,
Evan

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


This e-mail, any attachments and the information contained therein ("this 
message") are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après "le message" ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
-------------------------------------------------------------------------------------------------------------


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

Reply via email to