いつもお世話になっております。
Javaのビルドエラーで困っております
バージョン
eclipse 4.4
java
maven
tomcat 7.0
Dynamic source lookup support loaded. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for hogehoge:hogehoge-hogehoge:war:0.0.1 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar -> duplicate declaration of version 1.0 @ line 322, column 15 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.geronimo.specs:geronimo-jpa_3.0_spec:jar -> duplicate declaration of version 1.0 @ line 327, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 27, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 35, column 12 [WARNING] 'repositories.repository.id' must not be 'local', this identifier is reserved for the local repository, using it for other repositories will corrupt your repository metadata. @ line 68, column 8 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building hoge-hoge 0.0.1 [INFO] ------------------------------------------------------------------------ [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml [INFO] Downloading: http://maven.seasar.org/maven2/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.maven.plugins:maven-source-plugin/maven-metadata.xml from/to maven.seasar.org (http://maven.seasar.org/maven2): proxy.host.net [WARNING] Could not transfer metadata org.apache.maven.plugins:maven-source-plugin/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): proxy.host.net [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.381 s [INFO] Finished at: 2015-09-21T21:56:15+09:00 [INFO] Final Memory: 7M/153M [INFO] ------------------------------------------------------------------------ [ERROR] Error resolving version for plugin 'org.apache.maven.plugins:maven-source-plugin' from the repositories [local (d:\xxxx\maven\repos), maven.seasar.org (http://maven.seasar.org/maven2), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository -> [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/PluginVersionResolutionException
何卒よろしくお願い致します。
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/11/16 08:18