John,
Here are the questions that might help to identify the reason for failure:
Do you have access to maven2 repo from your workstation?
Did you try to force dependencies as suggested by error log?
Can you check above in the log, where Maven is trying to get plugin whether
it was found and downloaded?
Can you confirm that the artifact is in your local Maven repo and if yes,
delete and retry again.
Did you try to run mvn clean package -U
Andrey

On Fri, Jul 20, 2012 at 1:10 AM, John Hsing <[email protected]> wrote:

> Hi everybody,
>
> who met the same problem as bellow ?
>
> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.8:checkstyle (default)
>>> on project gerrit-events: Execution default of goal
>>> org.apache.maven.plugins:maven-checkstyle-plugin:2.8:checkstyle failed:
>>> Failed to build parent project for
>>> com.sonyericsson.hudson.plugins.gerrit:gerrit-trigger-parent:pom:1.6.4-SNAPSHOT:
>>> Some problems were encountered while processing the POMs:
>>
>> [ERROR] [ERROR] Unresolveable build extension: Plugin
>>> org.jenkins-ci.tools:maven-hpi-plugin:1.64 or one of its dependencies could
>>> not be resolved: Failure to find
>>> org.jenkins-ci.tools:maven-hpi-plugin:jar:1.64 in
>>> http://repo.maven.apache.org/maven2 was cached in the local repository,
>>> resolution will not be reattempted until the update interval of central has
>>> elapsed or updates are forced @: 1 problem was encountered while building
>>> the effective model for org.jenkins-ci.plugins:plugin:1.400
>>
>> [ERROR] [ERROR] Unresolveable build extension: Plugin
>>> org.jenkins-ci.tools:maven-hpi-plugin:1.64 or one of its dependencies could
>>> not be resolved: Failure to find
>>> org.jenkins-ci.tools:maven-hpi-plugin:jar:1.64 in
>>> http://repo.maven.apache.org/maven2 was cached in the local repository,
>>> resolution will not be reattempted until the update interval of central has
>>> elapsed or updates are forced @
>>
>> [ERROR] -> [Help 1]
>>
>> [ERROR]
>>
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>
>> [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 read the following articles:
>>
>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
>>
>> [ERROR]
>>
>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>
>> [ERROR]   mvn <goals> -rf :gerrit-events
>>
>>
>> when I excute the command as bellow:
>
>> mvn package
>
>
> btw: I clone gerrit-trigger-plugin repo in GitHub and excute the command
> above!
>

Reply via email to