Re: Assembly ID error with mvn-rpmbuild

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Many thanks!

On 18 July 2013 05:14, Mikolaj Izdebski <mizdebsk@xxxxxxxxxx> wrote:
Patching assembly descriptor should help:

  sed -i '/<assembly>/a\  <id>foo</id>' src/main/assembly/static.xml

Alternatively add <appendAssemblyId>false</appendAssemblyId> to plugin
configuration (recommended in the FAQ, but not by me).

This patch directly from the developer fixes it:

From ac8222430c54245f78cffa5bd9b031811380481c Mon Sep 17 00:00:00 2001
From: Michael Jumper <mike.jumper@xxxxxxxxxxxx>
Date: Wed, 17 Jul 2013 15:10:53 -0700
Subject: [PATCH] Use assembly plugin 2.4, add missing ID.

---
 guacamole-common-js/pom.xml    |    2 ++
 guacamole-common-js/static.xml |    1 +
 2 files changed, 3 insertions(+)

diff --git a/guacamole-common-js/pom.xml b/guacamole-common-js/pom.xml
index 2913103..5d3dd1d 100644
--- a/guacamole-common-js/pom.xml
+++ b/guacamole-common-js/pom.xml
@@ -18,7 +18,9 @@
         <plugins>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.4</version>
                 <configuration>
+                    <appendAssemblyId>false</appendAssemblyId>
                     <descriptors>
                         <descriptor>static.xml</descriptor>
                     </descriptors>
diff --git a/guacamole-common-js/static.xml b/guacamole-common-js/static.xml
index f9b6bdf..d3903dc 100644
--- a/guacamole-common-js/static.xml
+++ b/guacamole-common-js/static.xml
@@ -1,5 +1,6 @@
 <assembly>
     <baseDirectory>guacamole-common-js</baseDirectory>
+    <id>guacamole-common-js</id>
     <formats>
         <format>zip</format>
     </formats>
--
1.7.10.4

Regards,
--Simone

--
You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).

http://xkcd.com/229/
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux