You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Shenghao Fang <mi...@gmail.com> on 2011/03/10 09:25:07 UTC
Server build failed
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
Re: Server build failed
Posted by Ivan <xh...@gmail.com>.
:-)
2011/3/15 Shenghao Fang <mi...@gmail.com>
> 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 <mi...@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 <xh...@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 <mi...@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
>
>
>
--
Ivan
Re: Server build failed
Posted by Shenghao Fang <mi...@gmail.com>.
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 <mi...@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 <xh...@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 <mi...@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
Re: Server build failed
Posted by David Blevins <da...@gmail.com>.
On Mar 16, 2011, at 2:09 PM, Kevan Miller wrote:
>
> On Mar 15, 2011, at 5:00 AM, Shenghao Fang wrote:
>
>> 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 <xh...@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.
>
>
> I've been building fine with mvn 2.2.1. If we have a bad snapshot pom, then let's get a new snapshot deployed...
Added a buildbot definition for forcing a snapshot deploy "geronimo-trunk-deploy". It can be triggered from the IRC bot like the other build definitions, but won't run on a schedule. I.e. we can run it as needed. Will fire it off as soon as the build Kevan triggered is done.
-David
Re: Server build failed
Posted by Kevan Miller <ke...@gmail.com>.
On Mar 15, 2011, at 5:00 AM, Shenghao Fang wrote:
> 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 <xh...@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.
I've been building fine with mvn 2.2.1. If we have a bad snapshot pom, then let's get a new snapshot deployed...
--kevan
Re: Server build failed
Posted by Shenghao Fang <mi...@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 <xh...@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 <mi...@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
Re: Server build failed
Posted by Ivan <xh...@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 <mi...@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