fabric8
fabric8 copied to clipboard
"mvn install docker:build fabric8:json fabric8:apply" doesn't work as in docs
I'm reading through the "Develop Locally" doc (http://fabric8.io/guide/getStarted/develop.html) while using Fabric8 on a Mac laptop via xhyve, and it specifies that you can build and apply with the following:
mvn install docker:build fabric8:json fabric8:apply
I get the following:
C02PVH37G8WP:discovery snelson$ mvn install docker:build fabric8:json fabric8:apply
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 48.6 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 75.7 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.921 s
[INFO] Finished at: 2016-12-29T11:59:11-08:00
[INFO] Final Memory: 19M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'docker' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/snelson/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException
This is probably a documentation issue.
I'm seeing the same thing. Any updates?
Hi Erik,
It seems to me that you do not have the docker plugin , as it is said in your maven log.
No plugin found for prefix 'docker' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories
In order to use maven (mvn commande) you need to have a pom.xml correctly configure for your projet.
for more detail you should look at https://dmp.fabric8.io/#example.
Sincerely yours
Le ven. 24 août 2018 à 02:37, Erik van Zijst [email protected] a écrit :
I'm seeing the same thing. Any updates?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fabric8io/fabric8/issues/6663#issuecomment-415615152, or mute the thread https://github.com/notifications/unsubscribe-auth/ABWrtVbw4OvEcKQoP9MweI5Kue9Xlt5lks5uT0rZgaJpZM4LX0HJ .