Hello,
I'm experiencing differences between "mvn" and "mvn-rpmbuild".
With "mvn"
the project builds fine; while I have the following error when using
"mvn-rpmbuild":
DEBUG: [INFO]
------------------------------------------------------------------------
DEBUG: [INFO] Building guacamole-common-js 0.7.3
DEBUG: [INFO]
------------------------------------------------------------------------
DEBUG: [INFO]
DEBUG: [INFO] --- maven-assembly-plugin:2.4:attached (make-zip) @
guacamole-common-js ---
DEBUG: [INFO] Reading assembly descriptor: static.xml
DEBUG:
[INFO]
DEBUG: [INFO]
------------------------------------------------------------------------
DEBUG: [INFO] Skipping guacamole-client
DEBUG: [INFO] This project has been banned from the build due to previous
failures.
DEBUG: [INFO]
------------------------------------------------------------------------
DEBUG: [INFO]
------------------------------------------------------------------------
DEBUG: [INFO] Reactor Summary:
DEBUG: [INFO]
DEBUG: [INFO] guacamole-common .................................. SUCCESS
[6.322s]
DEBUG: [INFO] guacamole-ext ..................................... SUCCESS
[0.992s]
DEBUG: [INFO] guacamole-common-js ............................... FAILURE
[1.208s]
DEBUG: [INFO] guacamole ......................................... SKIPPED
DEBUG: [INFO] guacamole-client .................................. SKIPPED
DEBUG: [INFO]
------------------------------------------------------------------------
DEBUG: [INFO] BUILD FAILURE
DEBUG: [INFO]
------------------------------------------------------------------------
DEBUG: [INFO] Total time: 12.590s
DEBUG: [INFO] Finished at: Wed Jul 17 21:19:17 CEST 2013
DEBUG: [INFO] Final Memory: 25M/224M
DEBUG: [INFO]
------------------------------------------------------------------------
DEBUG: [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.4:attached (make-zip) on
project guacamole-common-js: Assembly is incorrectly configured: null:
Assembly is incorrectly configured: null:
DEBUG: [ERROR] Assembly: null is not configured correctly: Assembly ID must
be present and non-empty.
The project submodule contains the correct Assembly ID:
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>static.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-zip</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
The only way I've found so far to build the project is to patch away the
guacamole-common-js module from the build. Can someone explain me what
should I do?
Thanks,
--Simone
--
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).
http://xkcd.com/229/