You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by prince s <pr...@gmail.com> on 2008/11/26 08:33:25 UTC

Regd: Incremental build

Hello,
I have just started working on Maven. I need one clarification. In the big
project which has many modules when source files of one module get modified
Maven builds only that module or it builds entire project?. I have noticed
that Maven doesn't compile any files even after modification in source file
without performing "mvn clean" operation. Please clarify me.

Thanks for your time
Elavarasan.S

Re: Regd: Incremental build

Posted by Stephen Connolly <st...@gmail.com>.
FYI, you are probably using an IDE.

Maven has tools or integrations to help set up most of the IDEs (InteilliJ,
Eclipse, Netbeans)

These IDEs will usually do incremental compiles for you while you are
developing, you then just use maven every so often to do a full rebuild (to
make sure that the IDEs have not got out of sync)

Typically, we just develop using the IDE until it's time to commit, then
we'll do a mvn clean package of either the module or the whole project
depending on the scope of the changes.

We use a CI server to do full clean builds with Maven (in our case we use
Hudson) and email us if we broke something

-Stephen

2008/11/26 Stephen Connolly <st...@gmail.com>

> correct
>
> 2008/11/26 prince s <pr...@gmail.com>
>
> Hello,
>> I have just started working on Maven. I need one clarification. In the big
>> project which has many modules when source files of one module get
>> modified
>> Maven builds only that module or it builds entire project?. I have noticed
>> that Maven doesn't compile any files even after modification in source
>> file
>> without performing "mvn clean" operation. Please clarify me.
>>
>> Thanks for your time
>> Elavarasan.S
>>
>
>

Re: Regd: Incremental build

Posted by Stephen Connolly <st...@gmail.com>.
correct

2008/11/26 prince s <pr...@gmail.com>

> Hello,
> I have just started working on Maven. I need one clarification. In the big
> project which has many modules when source files of one module get modified
> Maven builds only that module or it builds entire project?. I have noticed
> that Maven doesn't compile any files even after modification in source file
> without performing "mvn clean" operation. Please clarify me.
>
> Thanks for your time
> Elavarasan.S
>