{"action":"created","issue":{"url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/issues/171","repository_url":"https://api.github.com/repos/fabric8io/docker-maven-plugin","labels_url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/issues/171/comments","events_url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/issues/171/events","html_url":"https://github.com/fabric8io/docker-maven-plugin/issues/171","id":77268441,"number":171,"title":"Problem writing in xAR operation; archives contains unclosed entries","user":{"login":"sverhagen","id":2049860,"avatar_url":"https://avatars.githubusercontent.com/u/2049860?v=3","gravatar_id":"","url":"https://api.github.com/users/sverhagen","html_url":"https://github.com/sverhagen","followers_url":"https://api.github.com/users/sverhagen/followers","following_url":"https://api.github.com/users/sverhagen/following{/other_user}","gists_url":"https://api.github.com/users/sverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/sverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sverhagen/subscriptions","organizations_url":"https://api.github.com/users/sverhagen/orgs","repos_url":"https://api.github.com/users/sverhagen/repos","events_url":"https://api.github.com/users/sverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/sverhagen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/labels/bug","name":"bug","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/milestones/11","html_url":"https://github.com/fabric8io/docker-maven-plugin/milestones/0.11.5","labels_url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/milestones/11/labels","id":1114860,"number":11,"title":"0.11.5","description":"Bug fix release","creator":{"login":"rhuss","id":99080,"avatar_url":"https://avatars.githubusercontent.com/u/99080?v=3","gravatar_id":"","url":"https://api.github.com/users/rhuss","html_url":"https://github.com/rhuss","followers_url":"https://api.github.com/users/rhuss/followers","following_url":"https://api.github.com/users/rhuss/following{/other_user}","gists_url":"https://api.github.com/users/rhuss/gists{/gist_id}","starred_url":"https://api.github.com/users/rhuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhuss/subscriptions","organizations_url":"https://api.github.com/users/rhuss/orgs","repos_url":"https://api.github.com/users/rhuss/repos","events_url":"https://api.github.com/users/rhuss/events{/privacy}","received_events_url":"https://api.github.com/users/rhuss/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":7,"state":"closed","created_at":"2015-05-18T07:49:05Z","updated_at":"2015-05-22T13:50:55Z","due_on":null,"closed_at":"2015-05-22T13:50:55Z"},"comments":15,"created_at":"2015-05-17T09:48:52Z","updated_at":"2016-05-30T16:53:12Z","closed_at":"2015-05-18T10:16:39Z","body":"As of 0.11.4 we are seeing the following problem:\r\n\r\n\t[INFO] --- docker-maven-plugin:0.11.4:build (dockerize) @ myProject ---\r\n\t[INFO] DOCKER> Creating image [myCompany/myProject:0.1.0-SNAPSHOT] \"myProject\"\r\n\t[INFO] Reading assembly descriptor: E:\\myProject\\src\\build\\docker\\assembly.xml\r\n\t[INFO] Building tar: E:\\myProject\\target\\docker\\myCompany\\myProject\\0.1.0-SNAPSHOT\\build\\maven.tgz\r\n\t[WARNING] When creating tar entry\r\n\torg.codehaus.plexus.archiver.ArchiverException: Problem writing to output in xAR operation request to write '732' bytes exceeds size in header of '488' bytes for entry './usr/local/tomcat/webapps/myWebapp/META-INF/MANIFEST.MF'\r\n\t        at org.codehaus.plexus.archiver.util.Streams.copyFullyDontCloseOutput(Streams.java:122)\r\n\t        at org.codehaus.plexus.archiver.tar.TarArchiver.tarFile(TarArchiver.java:335)\r\n\t        at org.codehaus.plexus.archiver.tar.TarArchiver.execute(TarArchiver.java:188)\r\n\t        at org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:930)\r\n\t        at org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.createArchive(AssemblyProxyArchiver.java:589)\r\n\t        at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:165)\r\n\t        at org.jolokia.docker.maven.assembly.DockerAssemblyManager.createAssemblyTarArchive(DockerAssemblyManager.java:177)\r\n\t        at org.jolokia.docker.maven.assembly.DockerAssemblyManager.createDockerTarArchive(DockerAssemblyManager.java:69)\r\n\t        at org.jolokia.docker.maven.BuildMojo.buildImage(BuildMojo.java:82)\r\n\t        at org.jolokia.docker.maven.BuildMojo.executeInternal(BuildMojo.java:64)\r\n\t        at org.jolokia.docker.maven.AbstractDockerMojo.execute(AbstractDockerMojo.java:134)\r\n\t        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)\r\n\t        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)\r\n\t        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)\r\n\t        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)\r\n\t        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)\r\n\t        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)\r\n\t        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)\r\n\t        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)\r\n\t        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)\r\n\t        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)\r\n\t        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)\r\n\t        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)\r\n\t        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)\r\n\t        at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)\r\n\t        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\t        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\t        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\t        at java.lang.reflect.Method.invoke(Method.java:606)\r\n\t        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)\r\n\t        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)\r\n\t        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)\r\n\t        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)\r\n\r\nAnd:\t\r\n\t\r\n\t[ERROR] Failed to execute goal org.jolokia:docker-maven-plugin:0.11.4:build (dockerize) on project myProject: Failed to create assembly for docker image: Error creating assembly archive docker: This archives contains unclosed entries. -> [Help 1]\r\n\r\nPlugin execution as configured in `pom.xml`:\r\n\r\n    <plugin>\r\n        <groupId>org.jolokia</groupId>\r\n        <artifactId>docker-maven-plugin</artifactId>\r\n        <version>0.11.4</version> <!-- NO PROBLEM WITH 0.11.3 -->\r\n        <executions>\r\n            <execution>\r\n                <id>dockerize</id>\r\n                <phase>package</phase>\r\n                <goals>\r\n                    <goal>build</goal>\r\n                </goals>\r\n                <configuration>\r\n                    <images>\r\n                        <image>\r\n                            <name>myCompany/${project.artifactId}:${project.version}</name>\r\n                            <alias>${project.artifactId}</alias>\r\n                            <build>\r\n                                <from>registry.hub.docker.com/tomcat:7-jre8</from>\r\n                                <ports>\r\n                                    <port>8080</port>\r\n                                </ports>\r\n                                <assembly>\r\n                                    <basedir>/</basedir>\r\n                                    <descriptor>${basedir}/src/build/docker/assembly.xml</descriptor>\r\n                                </assembly>\r\n                            </build>\r\n                        </image>\r\n                    </images>\r\n                    <registry>my company's registry</registry>\r\n                </configuration>\r\n            </execution>\r\n        </executions>\r\n    </plugin>\r\n\r\nAssembly as defined in `${basedir}/src/build/docker/assembly.xml`:\r\n\r\n    <assembly xmlns=\"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0\"\r\n              xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n              xsi:schemaLocation=\"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd\">\r\n        <id>redacted</id>\r\n        <dependencySets>\r\n            <dependencySet>\r\n                <includes>\r\n                    <include>${project.groupId}:${project.artifactId}</include>\r\n                </includes>\r\n                <outputDirectory>/usr/local/tomcat/webapps/myWebapp</outputDirectory>\r\n                <unpack>true</unpack>\r\n                <useProjectArtifact>true</useProjectArtifact>\r\n            </dependencySet>\r\n        </dependencySets>\r\n        <files>\r\n            <file>\r\n                <outputDirectory>/usr/local/tomcat/conf</outputDirectory>\r\n                <source>${basedir}/src/build/docker/context.xml</source>\r\n            </file>\r\n        </files>\r\n    </assembly>\r\n\r\nThis defect may have been introduced by issue #139, although that's just a hunch."},"comment":{"url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/issues/comments/222527348","html_url":"https://github.com/fabric8io/docker-maven-plugin/issues/171#issuecomment-222527348","issue_url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/issues/171","id":222527348,"user":{"login":"rhuss","id":99080,"avatar_url":"https://avatars.githubusercontent.com/u/99080?v=3","gravatar_id":"","url":"https://api.github.com/users/rhuss","html_url":"https://github.com/rhuss","followers_url":"https://api.github.com/users/rhuss/followers","following_url":"https://api.github.com/users/rhuss/following{/other_user}","gists_url":"https://api.github.com/users/rhuss/gists{/gist_id}","starred_url":"https://api.github.com/users/rhuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhuss/subscriptions","organizations_url":"https://api.github.com/users/rhuss/orgs","repos_url":"https://api.github.com/users/rhuss/repos","events_url":"https://api.github.com/users/rhuss/events{/privacy}","received_events_url":"https://api.github.com/users/rhuss/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T16:53:12Z","updated_at":"2016-05-30T16:53:12Z","body":"Can you please post your configuration ?"}}
{"actor":{"display_login":"rhuss"}}