You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by th...@bnpparibas.com on 2004/02/17 13:59:38 UTC

Réf. : Cannot make multiproject "hello world" work !


I have finally found the problem : maven has a cache in the user directory

This cache got corrupted somehow



                                                                                  
  17/02/2004 12:56                                                                
                     Thomas Carrie                                                
                                                                                  
                                                                                  
                                                                                  
                     tel : +33 155775802                                          
                     ------------------------------------------------------------ 



Pour : users

cc :


Objet :     Cannot make multiproject "hello world" work !


I have a Hello Word project : a single java class, no dependency

My project.xml file is copied from maven getting started.

Here is my maven.xml :

<project default="toto" xmlns:maven="jelly:maven" xmlns:j="jelly:core" xmlns:ant="jelly:ant">
    <goal name="toto" >
        <attainGoal name="clean:clean" />
        <j:set var="goal">java:compile</j:set>
        <attainGoal name="multiproject:goal"/>
    </goal>
</project>

C:\tmp\mavmer>maven toto
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT


BUILD FAILED
File...... file:/C:/tmp/mavmer/
Element... attainGoal
Line...... 5
Column.... 47
No goal [multiproject:goal]
Total time: 4 seconds
Finished at: Tue Feb 17 12:27:20 CET 2004

The same project works perfectly well on another window machine.
I have tried other plugins (javadoc), they work.
I use maven-1.0-rc1 on every box

That means that there must be some ODD load mechanism for the multiproject
plugin.

I have spent 6 hours looking for differences that could affect the behavior
of that plugin that could make so that this the only plugin can't be called
on this box.








This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org