Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #9790

passing -XDignore.symbol.file to compiler with maven

From Carnë Draug <carandraug+dev@gmail.com>
Newsgroups linux.debian.maint.java
Subject passing -XDignore.symbol.file to compiler with maven
Date 2017-07-11 16:00 +0200
Message-ID <u23RP-31D-129@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi

I'm trying to package JLargeArrays [1] to Debian which requires
passing the '-XDignore.symbol.file' option to the compiler [2].  This
package uses maven and 'mvn package' works fine in Debian Stretch.

However, the Debian package I prepared [3] failed to build until I set
the maven.compiler.fork option [4].  I found online that maven would
silently discard '-XD' flags unless fork is set but upstream does not
have that set and it builds fine in Debian.  Could someone explain to
me why?  This is my first Java Debian package and I'm probably missing
something pretty obvious.

Thank you
Carnë

[1] https://gitlab.com/ICM-VisLab/JLargeArrays
[2] https://gitlab.com/ICM-VisLab/JLargeArrays/blob/develop/pom.xml#L95
[3] https://github.com/carandraug/debian-libjlargearrays-java
[4] https://github.com/carandraug/debian-libjlargearrays-java/commit/ef0d5bfa

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar | Unroll thread


Thread

passing -XDignore.symbol.file to compiler with maven Carnë Draug <carandraug+dev@gmail.com> - 2017-07-11 16:00 +0200
  Re: passing -XDignore.symbol.file to compiler with maven Markus Koschany <apo@debian.org> - 2017-07-13 22:10 +0200
    Re: passing -XDignore.symbol.file to compiler with maven Carnë Draug <carandraug+dev@gmail.com> - 2017-07-14 21:40 +0200

csiph-web