By the way, there is a more convenient way to install the pom into the
repository by executing 'mvn install -N' at the folder of the pom file. The
option '-N' means 'Do not recurse into sub-projects'. :)

2011/3/15 Shenghao Fang <michael1224.f...@gmail.com>

> I finally made the build successfully by upgrading maven to 3.03.
>
> But I don't know the root cause exactly.
>
> Anyway, thanks for your hint.
>
>
> 2011/3/15 Ivan <xhh...@gmail.com>
>
>> Do you solve this issue ? I got the similar error, and found it was caused
>> by an old
>> org\apache\geronimo\geronimo\3.0-SNAPSHOT\geronimo-3.0-SNAPSHOT.pom file on
>> the snapshot site. Manually copy this file from the source code to the local
>> maven repository would make it work.
>>
>>
>> 2011/3/10 Shenghao Fang <michael1224.f...@gmail.com>
>>
>>> Hi,
>>>
>>> I got the following error when trying to build the server.
>>> Does anyone can help? Thanks.
>>>
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 3:27.203s
>>> [INFO] Finished at: Thu Mar 10 16:19:16 CST 2011
>>> [INFO] Final Memory: 271M/647M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.apache.geronimo.buildsupport:car-maven-plugin
>>> :3.0-SNAPSHOT:validate-configuration (default-validate-configuration) on
>>> project
>>>  geronimo-gbean-deployer-bootstrap: Execution
>>> default-validate-configuration of
>>> goal
>>> org.apache.geronimo.buildsupport:car-maven-plugin:3.0-SNAPSHOT:validate-con
>>> figuration failed: Unable to load the mojo 'validate-configuration' in
>>> the plugi
>>> n 'org.apache.geronimo.buildsupport:car-maven-plugin:3.0-SNAPSHOT'. A
>>> required c
>>> lass is missing:
>>> org/apache/maven/shared/filtering/MavenFilteringException
>>> [ERROR] -----------------------------------------------------
>>> [ERROR] realm =
>>>  plugin>org.apache.geronimo.buildsupport:car-maven-plugin:3.0-
>>> SNAPSHOT
>>> [ERROR] strategy =
>>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
>>> [ERROR] urls[0] =
>>> file:/D:/Development/Project/Geronimo/framework/buildsupport/c
>>> ar-maven-plugin/target/car-maven-plugin-3.0-SNAPSHOT.jar
>>> [ERROR] urls[1] =
>>> file:/d:/development/repository/org/codehaus/plexus/plexus-uti
>>> ls/1.1/plexus-utils-1.1.jar
>>> [ERROR] Number of foreign imports: 1
>>> [ERROR] import: Entry[import  from realm
>>> ClassRealm[project>org.apache.geronimo.
>>> framework:configs:3.0-SNAPSHOT, parent: ClassRealm[maven.api, parent:
>>> null]]]
>>> [ERROR]
>>> [ERROR] -----------------------------------------------------:
>>> org.apache.maven.
>>> shared.filtering.MavenFilteringException
>>> [ERROR] -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e swit
>>> ch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please rea
>>> d the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/PluginContaine
>>> rException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>>
>>> [ERROR]   mvn <goals> -rf :geronimo-gbean-deployer-bootstrap
>>>
>>>
>>
>>
>> --
>> Ivan
>>
>
>
>
> --
> Michael
>
>
>


-- 
Michael

Reply via email to