質問編集履歴

1

編集依頼の回答

2018/02/03 12:56

投稿

071132YOSHI
071132YOSHI

スコア13

test CHANGED
File without changes
test CHANGED
@@ -35,3 +35,79 @@
35
35
 
36
36
 
37
37
  よろしくお願いいたします。
38
+
39
+
40
+
41
+ -----------追記-------------
42
+
43
+ 大変失礼しました。
44
+
45
+ 私のgithubは
46
+
47
+ https://github.com/071132YOSHI
48
+
49
+
50
+
51
+ 参考にしたサイトは色々あったのですが、よくわからず自己流でした。。。
52
+
53
+ 調べてわかったことはheroku用のプロジェクトを作らなければいけない
54
+
55
+ というところまでたどり着いて、公式どうりに新しくやってみたのですが、最後の
56
+
57
+ pom.xmlのビルドの時にエラーを起こして詰まってしまいました。。
58
+
59
+ この時は以下のサイトを参考にしました
60
+
61
+ https://devcenter.heroku.com/articles/deploying-java-applications-to-heroku-from-eclipse-or-intellij-idea
62
+
63
+
64
+
65
+ --------エラー文は以下の通りです。------
66
+
67
+
68
+
69
+ [INFO] Downloaded: https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.3/git-commit-id-plugin-2.2.3.jar (90 KB at 162.4 KB/sec)
70
+
71
+ [INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
72
+
73
+ [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
74
+
75
+ [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 KB at 31.6 KB/sec)
76
+
77
+ [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 12.6 KB/sec)
78
+
79
+ [INFO] ------------------------------------------------------------------------
80
+
81
+ [INFO] BUILD FAILURE
82
+
83
+ [INFO] ------------------------------------------------------------------------
84
+
85
+ [INFO] Total time: 42.440 s
86
+
87
+ [INFO] Finished at: 2018-02-03T21:54:20+09:00
88
+
89
+ [INFO] Final Memory: 17M/123M
90
+
91
+ [INFO] ------------------------------------------------------------------------
92
+
93
+ [ERROR] No plugin found for prefix 'heroku' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/yoshidayusuke/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
94
+
95
+ [ERROR]
96
+
97
+ [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
98
+
99
+ [ERROR] Re-run Maven using the -X switch to enable full debug logging.
100
+
101
+ [ERROR]
102
+
103
+ [ERROR] For more information about the errors and possible solutions, please read the following articles:
104
+
105
+ [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
106
+
107
+
108
+
109
+
110
+
111
+ 初心者でとても混乱した状況でやっていました。。。
112
+
113
+ 拙い文章で申し訳ありません。