OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | December 2006 Index

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

Re: [exoplatform] exo v2.x build problem


Alexey,

Thank you for sharing the detailed build report. Based on that, I found
the missing jars problem was caused by a typo in my settings.xml. Since
the folder there was invalid, maven always tried to download the jar from
central or ibibilo which gave me the wrong impression.

Have a great holiday.

-Jimmy

> Hi Jimmy
>
> Check out here
> v2.x\exo-platform\maven2\mysql\mysql-connector-java\5.0.3-bin\
>  and here v2.x\exo-platform\maven2\jsf\jsf-api\1.1\ for required jars.
>
>
> Below the log of my build process.
> ====================================================
> D:\java\projects\v2.x\exo-platform\commons>mvn clean install
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building eXo Commons
> [INFO]    task-segment: [clean, install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Ignoring available plugin update: 2.0-beta-5 as it requires
> Maven version 2.0.2
> [INFO] [clean:clean]
> [INFO] Deleting directory
> D:\java\projects\v2.x\exo-platform\commons\target
> [INFO] Deleting directory
> D:\java\projects\v2.x\exo-platform\commons\target\classes
> [INFO] Deleting directory
> D:\java\projects\v2.x\exo-platform\commons\target\test-classes
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading:
> file:d:/java/projects/v2.x/exo-platform/maven2/mysql/mysql-connector-java/5.0.3-bin/mysql-connector-java-5.0.3-bin.pom
> 172b downloaded
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
> mysql/mysql-connector-java/5.0.3-bin/mysql-connector-java-5.0.3-bin.pom
> - IGNORING
> Downloading:
> file:d:/java/projects/v2.x/exo-platform/maven2/jsf/jsf-api/1.1/jsf-api-1.1.pom
> 144b downloaded
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
> jsf/jsf-api/1.1/jsf-api-1.1.pom - IGNORING
> Downloading:
> file:d:/java/projects/v2.x/exo-platform/maven2/jsf/jsf-api/1.1/jsf-api-1.1.jar
> 355K downloaded
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
> jsf/jsf-api/1.1/jsf-api-1.1.jar - IGNORING
> Downloading:
> file:d:/java/projects/v2.x/exo-platform/maven2/mysql/mysql-connector-java/5.0.3-bin/mysql-connector-java-5.0.3-bin.jar
> 481K downloaded
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
> mysql/mysql-connector-java/5.0.3-bin/mysql-connector-java-5.0.3-bin.jar
> - IGNORING
> [INFO] [compiler:compile]
> Compiling 48 source files to
> D:\java\projects\v2.x\exo-platform\commons\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> Compiling 2 source files to
> D:\java\projects\v2.x\exo-platform\commons\target\test-classes
> [INFO] [surefire:test]
> [INFO] Tests are skipped.
> [INFO] [jar:jar]
> [INFO] Building jar:
> D:\java\projects\v2.x\exo-platform\commons\target\exo-platform.commons-2.0.3.jar
> [INFO] [install:install]
> [INFO] Installing
> D:\java\projects\v2.x\exo-platform\commons\target\exo-platform.commons-2.0.3.jar
> to d:\java\maven2\repository\exo-platform\exo-platf
> orm.commons\2.0.3\exo-platform.commons-2.0.3.jar
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Thu Dec 28 10:14:52 EET 2006
> [INFO] Final Memory: 6M/17M
> [INFO]
> ----------------------------------------------------------------------------
> ====================================================
>
> HTH,
> regards,
> Alexey
>
>
> On 12/27/06, jimmy@xxxxxxxxxxxx <jimmy@xxxxxxxxxxxx> wrote:
>> Hi,
>>
>> I checked out the latest source code (version 11469) from SVN this
>> morning
>> and got the following error when I ran mvn clean install in the
>> exo-platform module.
>> I noticed that ibibio repository does not have the two dependent jars.
>> What puzzled me is the daily build process is indicated successful on
>> the
>> eXo site, why I got the following errors when using the latest source
>> code?
>> Could the daily build process use some cached repository while the
>> general
>> public cannot access?
>>
>> btw, I have got the similar problem(mysql jar cannot be found) for the
>> past week or so. I started to get the JSF jar problem starting from last
>> night.
>>
>> Any of your insight is highly appreciated.
>>
>> Thanks
>>
>> -Jimmy
>>
>>
>> Missing:
>> ----------
>> 1) mysql:mysql-connector-java:jar:5.0.3-bin
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>       mvn install:install-file -DgroupId=mysql
>> -DartifactId=mysql-connector-java \
>>           -Dversion=5.0.3-bin -Dpackaging=jar -Dfile=/path/to/file
>>
>>   Path to dependency:
>>         1) exo-platform:exo-platform.commons:jar:2.0.3
>>         2) mysql:mysql-connector-java:jar:5.0.3-bin
>>
>> 2) jsf:jsf-api:jar:1.1
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>       mvn install:install-file -DgroupId=jsf -DartifactId=jsf-api \
>>           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
>>
>>   Path to dependency:
>>         1) exo-platform:exo-platform.commons:jar:2.0.3
>>         2) jsf:jsf-api:jar:1.1
>>
>> ----------
>> 2 required artifacts are missing.
>>
>> for artifact:
>>   exo-platform:exo-platform.commons:jar:2.0.3
>>
>> from the specified remote repositories:
>>   central (http://repo1.maven.org/maven2),
>>   ibiblio (http://www.ibiblio.org/maven2),
>>   local-ecm (file:c:/java/eXoplatform/projects/v2.x/exo-ecm/maven2),
>>   objectweb-snapshot (http://maven.objectweb.org/maven2-snapshot/),
>>   local-jcr (file:c:/java/eXoplatform/projects/v2.x/exo-jcr/maven2),
>>   local (file:c:/java/eXoplatform/projects/v2.x/exo-platform/maven2),
>>   objectweb (http://maven.objectweb.org/maven2)
>>
>>
>>
>>
>>
>>
>> --
>> 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
>>
>>
>>
>





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

Reply via email to:

Powered by MHonArc.

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