Re: Error building Maven web app package in Rawhide

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

 



Hello,

On 5 June 2014 10:27, Mikolaj Izdebski <mizdebsk@xxxxxxxxxx> wrote:
> [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-war-plugin:2.4:war (default-war) on project guacamole: Mark invalid
> -> [Help 1]

This looks like this upstream bug:
  http://jira.codehaus.org/browse/MSHARED-325

There is no fix available, but you can workaround it by disabling
filtering of certain resources, for example:

# Disable filtering of bundled _javascript_ binaries, which causes
# maven-filtering to fail with IOException (see MSHARED-325).
%pom_add_plugin :maven-resources-plugin slf4j-site "
    <configuration>
      <nonFilteredFileExtensions>
        <nonFilteredFileExtension>js</nonFilteredFileExtension>
      </nonFilteredFileExtensions>
    </configuration>"

can't make this work. Can someone help me on this? I'm no expert and I don't really know how to fix it.

This is the part that I've added to the %build section:

# Disable filtering of bundled _javascript_ binaries, which causes
# maven-filtering to fail with IOException (see MSHARED-325).
%pom_add_plugin :maven-war-plugin guacamole "
    <configuration>
      <nonFilteredFileExtensions>
        <nonFilteredFileExtension>js</nonFilteredFileExtension>
      </nonFilteredFileExtensions>
    </configuration>"

But it doesn't help. The error I have in the full build log (-X) is as follows:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project guacamole: Mark invalid -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project guacamole: Mark invalid

If any Java guru would like to step in as co-maintainer of Guacamole it's really welcome. The software is fantastic, but the Java part gives me a lof of headaches everytime there is a Java packaging guidelines change.

Upstream project: http://guac-dev.org/

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/
http://negativo17.org/
--
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