Maven does take care of the dependencies, but I believe it takes a
little time before the changes to the shared project are pushed to the
global Maven repository, so in these cases, unless you can wait you
need to build shared and deploy it to your local repository.


Curtiss Howard


On Mon, Mar 8, 2010 at 11:53 AM, Ganesh <gan...@j4fry.org> wrote:
> No, I actually didn't. Shouldn't maven take care of dependencies? Until now
> it always did!
> Do I need to set up a seperate shared project now?
>
> Best regards,
> Ganesh
>
> Jakob Korherr schrieb:
>>
>> Hi Ganesh,
>>
>> Did you build shared core and shared impl too?
>>
>> Regards,
>> Jakob
>>
>> 2010/3/8 Ganesh <gan...@j4fry.org <mailto:gan...@j4fry.org>>
>>
>>    Hi,
>>
>>    Today I did my usual svn update and mvn and I get:
>>
>>    [INFO] Compiling 36 source files to
>>    C:\projects\MyFaces_Trunk\impl\target\classes
>>    [INFO]
>>
>>  ------------------------------------------------------------------------
>>    [ERROR] BUILD FAILURE
>>    [INFO]
>>
>>  ------------------------------------------------------------------------
>>    [INFO] Compilation failure
>>
>>
>>  C:\projects\MyFaces_Trunk\impl\src\main\java\org\apache\myfaces\util\ContainerUtils.java:[25,42]
>>    cannot find symbol
>>    symbol  : class ExternalContextUtils
>>    location: package org.apache.myfaces.shared_impl.util
>>
>>
>>  C:\projects\MyFaces_Trunk\impl\src\main\java\org\apache\myfaces\util\ContainerUtils.java:[128,52]
>>    cannot find symbol
>>    symbol  : method getServerInfo(javax.faces.context.ExternalContext)
>>    location: class org.apache.myfaces.util.ExternalContextUtils
>>
>>
>>    [INFO]
>>
>>  ------------------------------------------------------------------------
>>    [INFO] For more information, run Maven with the -e switch
>>    [INFO]
>>
>>  ------------------------------------------------------------------------
>>    [INFO] Total time: 2 minutes 38 seconds
>>    [INFO] Finished at: Mon Mar 08 17:14:17 CET 2010
>>    [INFO] Final Memory: 91M/420M
>>    [INFO]
>>
>>  ------------------------------------------------------------------------
>>
>>    What's wrong?
>>
>>    Best regards,
>>    Ganesh
>>
>>
>

Reply via email to