OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | January 2007 Index

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

Re: [exoplatform] building exo modules


Hi Alexey,

thanks for your answers!
Try to build it (maven-exo-plugin) manually, just run "mvn clean
install" in v2.x\exo-tools\maven2\plugins\exo\

I did but what I did not notice is an error occured during building.
It comes from the import at the beginning of ExoPCWar.java file. The error is :


/[INFO] [compiler:compile]
Compiling 42 source files to /home/mcoudert/exo/projects/v2.x/exo-tools/maven2/plugins/exo/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure


/home/mcoudert/exo/projects/v2.x/exo-tools/maven2/plugins/exo/src/java/org/exoplatform/maven2/plugin/exo/ExoPCWar.java:[10,31] package org.apache.maven.plugin does not exist

/home/mcoudert/exo/projects/v2.x/exo-tools/maven2/plugins/exo/src/java/org/exoplatform/maven2/plugin/exo/ExoPCWar.java:[11,31] package org.apache.maven.plugin does not exist

/home/mcoudert/exo/projects/v2.x/exo-tools/maven2/plugins/exo/src/java/org/exoplatform/maven2/plugin/exo/ExoPCWar.java:[12,32] package org.codehaus.plexus.util does not exist

/home/mcoudert/exo/projects/v2.x/exo-tools/maven2/plugins/exo/src/java/org/exoplatform/maven2/plugin/exo/ExoPCWar.java:[14,33] package org.apache.maven.archiver does not exist

/home/mcoudert/exo/projects/v2.x/exo-tools/maven2/plugins/exo/src/java/org/exoplatform/maven2/plugin/exo/ExoPCWar.java:[15,33] package org.apache.maven.archiver does not exist

/home/mcoudert/exo/projects/v2.x/exo-tools/maven2/plugins/exo/src/java/org/exoplatform/maven2/plugin/exo/ExoPCWar.java:[16,32] package org.apache.maven.project does not exist

/home/mcoudert/exo/projects/v2.x/exo-tools/maven2/plugins/exo/src/java/org/exoplatform/maven2/plugin/exo/ExoPCWar.java:[17,40] package org.codehaus.plexus.archiver.war does not exist/


But, it should be built automatic first of all by follow list of modules:
sure, it is! but with the same error! ;-)

Regards,

Mathieu

<module>exo-tools/maven2/plugins/exo</module> <module>/</module> <module>exo-platform</module> <module>exo-test</module> <module>exo-portlet-container</module> <module>exo-sso</module> <module>exo-portal</module> <module>exo-jcr</module> <module>exo-ecm</module> <module>exo-groupware</module> <module>exo-company</module> <module>exo-bi</module> <module>exo-esb</module> <module>site</module>

Regards,
Alexey

On 1/23/07, Mathieu Coudert <mathieu.coudert@xxxxxxxxxxxxxx> wrote:
Hi Alexey,

That is almost what I have done, just forgot to comment first module.
(For information I am trying to built the v2.x project.)
Now It is getting better but I am still facing to a build error which is:


/[INFO] eXo Modules
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-exo-plugin/1.0/maven-exo-plugin-1.0.jar


<http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-exo-plugin/1.0/maven-exo-plugin-1.0.jar>

[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Plugin could not be found - check that the goal name is correct:
Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.plugins
-DartifactId=maven-exo-plugin \
        -Dversion= 1.0 -Dpackaging=maven-plugin -Dfile=/path/to/file


org.apache.maven.plugins:maven-exo-plugin:maven-plugin:1.0

from the specified remote repositories:
  central ( http://repo1.maven.org/maven2)

  org.apache.maven.plugins:maven-exo-plugin:maven-plugin:1.0

from the specified remote repositories:
central (http://repo1.maven.org/maven2 <http://repo1.maven.org/maven2>)
/


I tried to download it manually from the project website but I did not
manage to find it.
Does anybody know where could I find this file?

Regards,

Mathieu


Alexey Zavizionov a écrit :
> Hello, Mathieu
>
> Which project did you try to build? Did you build the v2.x at all?
>
> Concerning me, I make as follows:
>
> 1. Update v2.x
> 2. Copy the pom.xml and the modules.xml from:
> v2.x\exo-tools\build\config\ to: v2.x\
> 3. Comment first module: <module>exo-tools/build/config</module>
> 4. run in v2.x "mvn -f modules clean install"
>
> Regards,
> Alexey
>
>
> On 1/23/07, Mathieu Coudert <mathieu.coudert@xxxxxxxxxxxxxx> wrote:
>> Hi list,
>>
>> compiling and installing exo project as mentionned here
>> http://docs.exoplatform.org/exo-documents/exo.site/developer/build.html
>> I'm facing to a fatal error ...
>>
>> Does anybody can help me?
>> thanks,
>>
>> mathieu
>>
>>
>> [INFO] Scanning for projects...
>> Downloading:
>> http://repo1.maven.org/maven2/exo-tools/exo-tools.build.config/2.0.1/exo-tools.build.config-2.0.1.pom


>>
>> <http://repo1.maven.org/maven2/exo-tools/exo-tools.build.config/2.0.1/exo-tools.build.config-2.0.1.pom>


>>
>> [WARNING] Unable to get resource from repository central
>> (http://repo1.maven.org/maven2)
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> GroupId: exo-tools
>> ArtifactId: exo-tools.build.config
>> Version: 2.0.1
>>
>> Reason: Unable to download the artifact from any repository
>>
>> exo-tools:exo-tools.build.config:pom:2.0.1
>>
>> from the specified remote repositories:
>> central ( http://repo1.maven.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
>>
>>
>>



------------------------------------------------------------------------


--
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


--

Mathieu COUDERT

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 04 79 44 44 95
Mail : mathieu.coudert@xxxxxxxxxxxxxx
http://www.camptocamp.com




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

Reply via email to:

Powered by MHonArc.

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