OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | Febuary 2007 Index

<--  Date Index  --> <--  Thread Index  -->

Re: R: [exoplatform] Unable to compile


You should have "maven-plugins", "maven2" etc.folders. I dnt have "maven2-plugins", for example.
To install exo plugin you should run mvn install within
\v2.x\exo-tools\maven2\plugins\exo\ folder
Why do you need  to install only exo-plugin?
If you want to build exo project you should built all the projects as I'm described recently.
Did you run mvn install within exo-tools folder?

2007/2/21, Davide Ficano <davide.ficano@xxxxxx>:
Hi,
 
Thanks for your help but before my first post I've made all steps described by you, these step are described
on exo site documentation.
 
Consider I've searched/replaced "d:" (without quotes) on all files.
 
Obviously the problem remains...
 
many thanks
 
davide


Da: vetalok@xxxxxxxxx [mailto: vetalok@xxxxxxxxx] Per conto di Vitaliy Obmanjuk
Inviato: mercoledì 21 febbraio 2007 13.55
Cc: exoplatform@xxxxxxxxxxxxx; Davide Ficano
Oggetto: Re: [exoplatform] Unable to compile

1. Copy the $exo_home/projects/v2.x/exo
-tools/build/config/settings.xml to your $HOME/.m2/settings.xml. If you under Windows than copy settings.xml from $exo_home/projects/v2.x/exo-tools/build/config/settings.xml to C:\Documents and Settings\VAZ.VICTOR\.m2\settings.xml, where the VAZ.VICTOR is a current user directory. You should use your user directory, of course :).

2. Check in settings.xml the tag <localRepository>d:/java/maven2/repository</localRepository>. The content of this tag should be specified to your directory! By default it is d:/java/maven2/repository.

2. Check in settings.xml the tag <exo.directory.base>d:/java</exo.directory.base>. The content of this tag should be specified to your directory! By default it is d:/java.

4. Check your $exo_home\projects\v2.x\modules.xml (if it's not exist in v2.x directory you can copy it from $exo_home\projects\v2.x\exo-tools\build\config\modules.xml) must be:
<modules>
   <module>exo-tools/build/config</module>
   <module>exo-tools/maven2/plugins/exo</module>
   <module>exo-platform</module>
   <module>exo-test</module>
   <module>exo-portlet-container</module>
   <module>exo-sso</module>
   <module>exo-portal</module>
   <module>exo-jcr</module>
   <module>exo-ecm</module>
   <!--<module>exo-lcms</module>-->
 </modules>
5. Check in v2.x\exo-tools\build\config\pom.xml the tag <exo.directory.base>d:/java</exo.directory.base>. The content of this tag should be specified to your directory! By default it is d:/java.
6. Run "mvn -f modules.xml clean install" command within v2.x folder


2007/2/21, brice.revenant@xxxxxxxx < brice.revenant@xxxxxxxx>:

Hi Davide,

Maven requires a file called "pom.xml" in the current directory. Are you
seeing such a file in your case ?

HTH,
-Brice.

--
Brice REVENANT
Bull, Architect of an Open World TM
phone: +33 (0)4 76 29 74 22
http://www.bull.com

This e-mail contains material that is confidential for the sole use of the
intended recipient. Any review, reliance or distribution by others or
forwarding without express permission is strictly prohibited. If you are
not the intended recipient, please contact the sender and delete all
copies.




                      "Davide Ficano"
                      <davide.ficano@e         Pour :   <exoplatform@xxxxxxxxxxxxx>
                       ng.it>                   cc :
                                               Objet :  [exoplatform] Unable to compile
                      21/02/2007 12:56





I've download exo from svn.

Using instructions shown at
http://docs.exoplatform.org/exo-documents/exo.site/developer/build.html

1. svn checkout svn://svn.forge.objectweb.org/svnroot/exoplatform/v2.x
2. Copy the v2.x/exo-tools/build/config/settings.xml to your
$HOME/.m2/settings.xml.
3. Open it and adjust the $exo.directory.base and tomcat version according
to your environment.
4. Go to exo-tools/maven2-plugins/exo and run the command mvn install

The command fails with this message

[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but
the build is not using one.

SOS SOS help me :-)

I don't know maven very well (as you can imagine...)



--
You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx
mailing list.
To unsubscribe: mailto: exoplatform-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws








--
You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto: exoplatform-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws




--
Best regards,
Vitaliy


--
You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto: exoplatform-unsubscribe@xxxxxxxxxxxxx
For general help: mailto: sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws




--
Best regards,
Vitaliy

<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.