Re: When building (large) projects for a second time, I want to skip some of them

2009-07-16 Thread Gabriel Euzet
Hi,

I think maven reactor plugin will solve your problem :
http://maven.apache.org/plugins/maven-reactor-plugin/index.html

Gabriel.

2009/7/16 Arand, Thomas (NSN - DE/Munich) 

> Hi all,
>
> consider the following scenario: In order to build our project, I have to
> start mvn in the root of the project. The complete run consists of many,
> many sub-projects, and the build lasts half an hour.
>
> What unfortunately happens very often: One (or more) of the projects that
> are near the end of production fail - say after 20 minutes. After correction
> of the local problem I have to restart the build process. Currently, I have
> to wait again 20 minutes until mvn reached the place where it was before.
>
> And here I would like to have a possibility to tell maven that it simply
> should skip all projects the it built successfully in the first run. I.e. it
> should resume where the failure initially happened.
>
> The way it is now (repetition of the complete build) is a waste of time.
>
> Any ideas whether that is possible?
>
> Thanks a lot,
>
> Thoma
>
>
> ---
> Thomas Arand
> Tel. +49 (89) 636 76328 / +49 (160) 90888023
> Fax. +49 (89) 636 76282
> thomas.ar...@nsn.com
>
> Nokia Siemens Networks GmbH & Co. KG
> Sitz der Gesellschaft: München / Registered office: Munich
> Registergericht: München / Commercial registry: Munich, HRA 88537
> WEEE-Reg.-Nr.: DE 52984304
>
> Persönlich haftende Gesellschafterin / General Partner: Nokia Siemens
> Networks Management GmbH
> Geschäftsleitung / Board of Directors: Lydia Sommer, Olaf Horsthemke
> Vorsitzender des Aufsichtsrats / Chairman of supervisory board: Lauri
> Kivinen
> Sitz der Gesellschaft: München / Registered office: Munich
> Registergericht: München / Commercial registry: Munich, HRB 163416
>
>
>
>


Re: Multi-Project Question

2009-07-15 Thread Gabriel Euzet
Hello,

It does not work like this. You should better use the release plugin
http://maven.apache.org/plugins/maven-release-plugin/ , It changes the
version in all projects tree and much ... ^^

Regards,
Gabriel Euzet

2009/7/15 ChipSchoch 

>
> I am new to Maven and am converting a fairly large group of related
> projects
> to Maven2 build.  There are about 15 projects that share the same parent
> pom.  In each project pom there is a parent.version tag.  Is there a way to
> use a property in this so when I move to another version I only have to
> change the project version in one place?
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/Multi-Project-Question-tp24497550p24497550.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: how to configure existing project for maven2

2009-04-10 Thread Gabriel Euzet
Hi,

Some questions you need to find responses :

 * is your project single module or multiple ? => one pom or several pom
with one parent
 * does your project tree respects the default structure used by maven
(src/main/java, src/main/resources, ...) ? modify your project structure or
configure it in the pom (http://maven.apache.org/pom.html#Build_Element). My
advice : try to match as much as possible the default configuration .

Hope it helps ...

Gab'

2009/4/10 rohan chauhan 

>
>
>  Hi al,
>
> I'm wondering that how can i configure an existing project in maven2.
>
> How to create pom.xml file for that.
>
> And  is it necessary to have pom.xml file in each sub-folder of root folder
>
>
>
> 
> Do not follow where the path may lead. Go instead where there is no path
> and leave a trail ! ! !
>
> 
>
> 
> * Learn to enjoy every minute of your life.  Be happy now.  Don't wait for
> something outside of yourself to make you happy in the future.  Think how
> really precious is the time you have to spend, whether it's at work or with
> your family..  Every minute should be enjoyed and savored
> by forgetting problems. * - My Thought
>
> 
>
>
>  Add more friends to your messenger and enjoy! Go to
> http://messenger.yahoo.com/invite/
>