「Drools JBoss Rules 5.0 Developer's Guide」から例を作成しようとしているときに、奇妙な問題が発生しました。readme ファイルから段階的な手順を実行して、この例を実行しようとしました (同様の手順はhttp://code.google.com/p/droolsbook/にあります) 。
次のログを取得します。
コマンド: mvn eclipse:eclipse -DdownloadSources=true
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Drools Book Parent
[INFO] Banking Core
[INFO] Validation
[INFO] ETL with iBatis
[INFO] DSL
[INFO] Decision Tables
[INFO] Ruleflow
[INFO] Stateful Rules
[INFO] Complex Event Processing
[INFO] Drools Flow
[INFO] Integration
[INFO] Sample Application
[INFO] Testing
[INFO] Performance
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org
Downloading: http://repository.jboss.com/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2' from repository repository.jboss.com (http://repository.jboss.com/maven2): Authorization failed: Access denied to: http://repository.jboss.com/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.maven.plugins:maven-compiler-plugin
Reason: POM 'org.apache.maven.plugins:maven-compiler-plugin' not found in repository: Unable to download the artifact from any repository
org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2
from the specified remote repositories:
repository.jboss.com (http://repository.jboss.com/maven2),
central (http://repo1.maven.org/maven2)
for project org.apache.maven.plugins:maven-compiler-plugin
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21 seconds
[INFO] Finished at: Fri Apr 26 14:41:02 CEST 2013
[INFO] Final Memory: 6M/119M
[INFO] ------------------------------------------------------------------------
「mvn clean install」( http://pastebin.com/FHQ4QqBH )を実行すると、同様のエラーが発生します。
ガドンさん、アドバイスありがとうございます。