{"action":"opened","issue":{"url":"https://api.github.com/repos/wouterd/docker-maven-plugin/issues/67","labels_url":"https://api.github.com/repos/wouterd/docker-maven-plugin/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/wouterd/docker-maven-plugin/issues/67/comments","events_url":"https://api.github.com/repos/wouterd/docker-maven-plugin/issues/67/events","html_url":"https://github.com/wouterd/docker-maven-plugin/issues/67","id":75547338,"number":67,"title":"Sample POM XML doesn't work","user":{"login":"nickcodefresh","id":5837418,"avatar_url":"https://avatars.githubusercontent.com/u/5837418?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcodefresh","html_url":"https://github.com/nickcodefresh","followers_url":"https://api.github.com/users/nickcodefresh/followers","following_url":"https://api.github.com/users/nickcodefresh/following{/other_user}","gists_url":"https://api.github.com/users/nickcodefresh/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcodefresh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcodefresh/subscriptions","organizations_url":"https://api.github.com/users/nickcodefresh/orgs","repos_url":"https://api.github.com/users/nickcodefresh/repos","events_url":"https://api.github.com/users/nickcodefresh/events{/privacy}","received_events_url":"https://api.github.com/users/nickcodefresh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-12T10:10:43Z","updated_at":"2015-05-12T10:10:43Z","closed_at":null,"body":"I've been trying to use the sample POM XML for my project:\r\n\r\n```\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>net.wouterdanes.docker</groupId>\r\n\t\t\t\t<artifactId>docker-maven-plugin</artifactId>\r\n\t\t\t\t<version>3.0</version>\r\n\t\t\t\t<configuration>\r\n\t\t\t\t\t<userName>....</userName>\r\n\t\t\t\t\t<password>....</password>\r\n\t\t\t\t\t<email>....</email>\r\n\t\t\t\t</configuration>\r\n\t\t\t\t<executions>\r\n\t\t\t\t\t<execution>\r\n\t\t\t\t\t\t<id>build</id>\r\n\t\t\t\t\t\t<goals>\r\n\t\t\t\t\t\t\t<goal>build-images</goal>\r\n\t\t\t\t\t\t</goals>\r\n\t\t\t\t\t\t<configuration>\r\n\t\t\t\t\t\t\t<images>\r\n\t\t\t\t\t\t\t\t<image>\r\n\t\t\t\t\t\t\t\t\t<id>content-link-service</id>\r\n\t\t\t\t\t\t\t\t\t<dockerFile>${project.basedir}/src/main/docker/Dockerfile</dockerFile>\r\n\t\t\t\t\t\t\t\t\t<nameAndTag>nickcodefresh/content-link-service:${project.version}</nameAndTag>\r\n\t\t\t\t\t\t\t\t\t<artifacts>\r\n\t\t\t\t\t\t\t\t\t\t<artifact>\r\n\t\t\t\t\t\t\t\t\t\t\t<file>${project.basedir}/target/${project.artifactId}-${project.version}.jar</file>\r\n\t\t\t\t\t\t\t\t\t\t\t<dest>${project.artifactId}.jar</dest>\r\n\t\t\t\t\t\t\t\t\t\t</artifact>\r\n\t\t\t\t\t\t\t\t\t</artifacts>\r\n\t\t\t\t\t\t\t\t\t<keep>true</keep>\r\n\t\t\t\t\t\t\t\t\t<push>true</push>\r\n\t\t\t\t\t\t\t\t\t<registry>https://registry.hub.docker.com</registry>\r\n\t\t\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t\t</images>\r\n\t\t\t\t\t\t</configuration>\r\n\t\t\t\t\t</execution>\r\n\t\t\t\t\t<execution>\r\n\t\t\t\t\t\t<id>start</id>\r\n\t\t\t\t\t\t<configuration>\r\n\t\t\t\t\t\t\t<containers>\r\n\t\t\t\t\t\t\t\t<container>\r\n\t\t\t\t\t\t\t\t\t<id>Debian</id>\r\n\t\t\t\t\t\t\t\t\t<image>debian:wheezy</image>\r\n\t\t\t\t\t\t\t\t</container>\r\n\t\t\t\t\t\t\t\t<container>\r\n\t\t\t\t\t\t\t\t\t<id>BusyBox</id>\r\n\t\t\t\t\t\t\t\t\t<image>busybox</image>\r\n\t\t\t\t\t\t\t\t\t<hostname>busyhost</hostname>\r\n\t\t\t\t\t\t\t\t</container>\r\n\t\t\t\t\t\t\t\t<container>\r\n\t\t\t\t\t\t\t\t\t<id>cache</id>\r\n\t\t\t\t\t\t\t\t\t<image>nginx</image>\r\n\t\t\t\t\t\t\t\t</container>\r\n\t\t\t\t\t\t\t</containers>\r\n\t\t\t\t\t\t</configuration>\r\n\t\t\t\t\t\t<goals>\r\n\t\t\t\t\t\t\t<goal>start-containers</goal>\r\n\t\t\t\t\t\t</goals>\r\n\t\t\t\t\t</execution>\r\n\t\t\t\t\t<execution>\r\n\t\t\t\t\t\t<id>push</id>\r\n\t\t\t\t\t\t<goals>\r\n\t\t\t\t\t\t\t<goal>push-images</goal>\r\n\t\t\t\t\t\t</goals>\r\n\t\t\t\t\t</execution>\r\n\t\t\t\t</executions>\r\n\t\t\t</plugin>\r\n```\r\n\r\nWhen I run mvn -X docker:build-images I'm getting the error:\r\n\r\n```\r\n[ERROR] Failed to execute goal net.wouterdanes.docker:docker-maven-plugin:3.0:build-images (default-cli) on project content-link-service: The parameters 'images' for goal net.wouterdanes.docker:docker-maven-plugin:3.0:build-images are missing or invalid -> [Help 1]\r\norg.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.wouterdanes.docker:docker-maven-plugin:3.0:build-images (default-cli) on project content-link-service: The parameters 'images' for goal net.wouterdanes.docker:docker-maven-plugin:3.0:build-images are missing or invalid\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:220)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)\r\n\tat org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)\r\n\tat org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)\r\n\tat org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)\r\n\tat org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)\r\n\tat org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)\r\n\tat org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)\r\n\tat org.apache.maven.cli.MavenCli.main(MavenCli.java:197)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)\r\nCaused by: org.apache.maven.plugin.PluginParameterException: The parameters 'images' for goal net.wouterdanes.docker:docker-maven-plugin:3.0:build-images are missing or invalid\r\n\tat org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:665)\r\n\tat org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:618)\r\n\tat org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)\r\n\t... 20 more\r\n```\r\n\r\nIs the sample POM XML valid? It doesn't appear to be to me"}}