[Maven Assembly Plugin] Deploy assembly
Hello, we have the following pom: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdgisdistribution/groupId artifactIdgisdistribution/artifactId namegisdistribution/name version0.0.2/version descriptiondistribution archive of the mirgis/description packagingpom/packaging parent groupIdmirgis/groupId artifactIdmirgis/artifactId version1.11/version /parent build plugins plugin artifactIdmaven-assembly-plugin/artifactId configuration descriptors descriptorsrc/main/assembly/distribution.xml/descriptor /descriptors /configuration executions execution idmake-assembly/id phasepackage/phase goals goalassembly/goal /goals /execution /executions /plugin /plugins /build dependencies dependency groupIdgiskernel/groupId artifactIdgiskernel/artifactId version0.0.4/version /dependency /dependencies scm /scm /project And the following distribution.xml: ?xml version='1.0' encoding='UTF-8'? assembly idassembly/id formats formatzip/format /formats dependencySets dependencySet outputDirectorylib/outputDirectory useProjectArtifacttrue/useProjectArtifact /dependencySet /dependencySets /assembly Maven now creates the gisdistribution-0.0.2-assembly.zip but it doesn't deploy it. We tried to use packaging jar but only empty jars are deployed. In which way can we deploy the assembly? Yours Rüdiger -- View this message in context: http://old.nabble.com/-Maven-Assembly-Plugin--Deploy-assembly-tp26333720p26333720.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [Maven Assembly Plugin] Deploy assembly
A quick Internet search gives the answer: http://old.nabble.com/Maven-assembly-plug-in-and-deploy-not-happening--td18161292.html /Anders On Fri, Nov 13, 2009 at 10:35, rgubler2 rgub...@init-ka.de wrote: Hello, we have the following pom: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdgisdistribution/groupId artifactIdgisdistribution/artifactId namegisdistribution/name version0.0.2/version descriptiondistribution archive of the mirgis/description packagingpom/packaging parent groupIdmirgis/groupId artifactIdmirgis/artifactId version1.11/version /parent build plugins plugin artifactIdmaven-assembly-plugin/artifactId configuration descriptors descriptorsrc/main/assembly/distribution.xml/descriptor /descriptors /configuration executions execution idmake-assembly/id phasepackage/phase goals goalassembly/goal /goals /execution /executions /plugin /plugins /build dependencies dependency groupIdgiskernel/groupId artifactIdgiskernel/artifactId version0.0.4/version /dependency /dependencies scm /scm /project And the following distribution.xml: ?xml version='1.0' encoding='UTF-8'? assembly idassembly/id formats formatzip/format /formats dependencySets dependencySet outputDirectorylib/outputDirectory useProjectArtifacttrue/useProjectArtifact /dependencySet /dependencySets /assembly Maven now creates the gisdistribution-0.0.2-assembly.zip but it doesn't deploy it. We tried to use packaging jar but only empty jars are deployed. In which way can we deploy the assembly? Yours Rüdiger -- View this message in context: http://old.nabble.com/-Maven-Assembly-Plugin--Deploy-assembly-tp26333720p26333720.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [Maven Assembly Plugin] Deploy assembly
Anders Hammar wrote: A quick Internet search gives the answer: http://old.nabble.com/Maven-assembly-plug-in-and-deploy-not-happening--td18161292.html /Anders Hmm, I changed execution idmake-assembly/id phasepackage/phase goals goalassembly/goal /goals /execution to execution idmake-assembly/id phasepackage/phase goals goalattach/goal /goals /execution and get now the following error: 'attach' was specified in an execution, but not found in the plugin What's wrong? Yours Rüdiger -- View this message in context: http://old.nabble.com/-Maven-Assembly-Plugin--Deploy-assembly-tp26333720p26333970.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [Maven Assembly Plugin] Deploy assembly
http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html Regards, Stevo. On Fri, Nov 13, 2009 at 10:51 AM, rgubler2 rgub...@init-ka.de wrote: Anders Hammar wrote: A quick Internet search gives the answer: http://old.nabble.com/Maven-assembly-plug-in-and-deploy-not-happening--td18161292.html /Anders Hmm, I changed execution idmake-assembly/id phasepackage/phase goals goalassembly/goal /goals /execution to execution idmake-assembly/id phasepackage/phase goals goalattach/goal /goals /execution and get now the following error: 'attach' was specified in an execution, but not found in the plugin What's wrong? Yours Rüdiger -- View this message in context: http://old.nabble.com/-Maven-Assembly-Plugin--Deploy-assembly-tp26333720p26333970.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [Maven Assembly Plugin] Deploy assembly
Yes, read the docs. My earlier link points at info about the deprecated goal (attached). There is a new one. My apologizes. /Anders On Fri, Nov 13, 2009 at 10:55, Stevo Slavić ssla...@gmail.com wrote: http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html Regards, Stevo. On Fri, Nov 13, 2009 at 10:51 AM, rgubler2 rgub...@init-ka.de wrote: Anders Hammar wrote: A quick Internet search gives the answer: http://old.nabble.com/Maven-assembly-plug-in-and-deploy-not-happening--td18161292.html /Anders Hmm, I changed execution idmake-assembly/id phasepackage/phase goals goalassembly/goal /goals /execution to execution idmake-assembly/id phasepackage/phase goals goalattach/goal /goals /execution and get now the following error: 'attach' was specified in an execution, but not found in the plugin What's wrong? Yours Rüdiger -- View this message in context: http://old.nabble.com/-Maven-Assembly-Plugin--Deploy-assembly-tp26333720p26333970.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org