[EMAIL PROTECTED] wrote:
> Hi,
> 
> I tried to take the project from scratch and I had this error :
> 
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> C:\DÚveloppement\MavenNX\NXCommon\test\org\nuxeo\common\utils\TestFileUtils.java:[8,24]
> package org.apache.log4j does not exist
> 
> C:\DÚveloppement\MavenNX\NXCommon\test\org\nuxeo\common\utils\TestFileUtils.java:[14,25]
> cannot find symbol
> symbol  : class Logger
> location: class org.nuxeo.common.utils.TestFileUtils
> 
> C:\DÚveloppement\MavenNX\NXCommon\test\org\nuxeo\common\utils\TestFileUtils.java:[14,38]
> cannot find symbol
> symbol  : variable Logger
> location: class org.nuxeo.common.utils.TestFileUtils
> 
> ---------------------------------------------------------------------------------
> 
> 
> 
> I think (I'm not expert in maven) it comes from the dependency missing :
>  <dependency>
>   <groupId>log4j</groupId>
>   <artifactId>log4j</artifactId>
>   <version>1.2.13</version>
>   </dependency>
> 
> I'm not sure of the log4j version (there is 3 versions on the repo of maven)
> 
> But Now I have test failures, I think on NXMimeType (if somebody have an idea)

You need to take the ECM-BUNDLE  and launch the maven install here, at
the root, since all components are inheriting the parent pom file.

 $ svn co http://svn.nuxeo.org/nuxeo/bundles/ECM-trunk
 $ cd ECM-trunk
 $ mvn install

This is what buildbot is doing :

http://buildbot2.demo.nuxeo.com/

Let me know if you still have some issues.

        J.
-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - http://www.nuxeo.com
Nuxeo 5 : http://www.nuxeo.org
Mobile: +33 (0) 6 72 57 57 66

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to