-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
39e673b
commit dc47d50
Showing
3 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
= Known Issues | ||
|
||
This section describes known issues and their solutions. | ||
|
||
== Maven | ||
|
||
=== Cannot re-use store instance from reactor | ||
|
||
This error may occur in cases where a Maven project contains build extensions, e.g. | ||
|
||
.pom.xml | ||
[source,xml] | ||
---- | ||
<build> | ||
<extensions> | ||
<extension> | ||
<groupId>kr.motd.maven</groupId> | ||
<artifactId>os-maven-plugin</artifactId> | ||
<version>${os-maven-plugin.version}</version> | ||
</extension> | ||
</extensions> | ||
</build> | ||
---- | ||
|
||
The problem be resolved by adding the following option to the `.jqassistant.yml`: | ||
|
||
..jqassistant.yml | ||
[source,yaml] | ||
---- | ||
jqassistant: | ||
maven: | ||
reuse-store: false | ||
---- | ||
|
||
Alternatively the option can be specified on the Maven command line: | ||
|
||
[source,bash] | ||
---- | ||
mvn -Djqassistant.maven.reuse-store=false jqassistant:scan jqassistant:analyze | ||
---- | ||
|
||
== General | ||
|
||
=== UnsatisfiedLinkError on Linux systems | ||
|
||
On Linux systems using the `noexec` option on the `/home` mount the following error occurs on startup: | ||
|
||
---- | ||
java.lang.UnsatisfiedLinkError: /home/jqa-user/.cache/JNA/temp/jna1503285157168624171.tmp: /home/jqa-user.cache/JNA/temp/jna1503285157168624171.tmp: failed to map segment from shared object | ||
---- | ||
|
||
The problem can be resolved by setting the system property `-Djna.tmpdir` pointing to a temporary directory without the noexec limitation: | ||
|
||
.Maven | ||
[source,bash] | ||
``` | ||
mvn -Djna.tmpdir=/tmp jqassistant:scan jqassistant:analyze | ||
``` | ||
|
||
.Command line interface | ||
[source,bash] | ||
``` | ||
export JQASSISTANT_OPTIONS=-Djna.tmpdir=/tmp | ||
jqassistant.sh scan analyze | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters