-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
77 plugins should be executed using pluginclassloader as tccl 1 (#85)
Added dedicated support for Neo4j plugins to embedded store
- Loading branch information
1 parent
9dcab94
commit a443f35
Showing
8 changed files
with
65 additions
and
16 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
jqassistant: | ||
store: | ||
embedded: | ||
neo4j-plugins: | ||
- group-id: org.neo4j.procedure | ||
artifact-id: apoc-core | ||
classifier: core | ||
version: ${apoc.version} | ||
analyze: | ||
groups: | ||
- it |
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,2 @@ | ||
invoker.goals.1 = verify -e | ||
invoker.goals.2 = verify -e -Djqassistant.store.embedded.neo4j-plugin-directory=target/jqassistant/plugins |
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,14 @@ | ||
<jqa:jqassistant-rules xmlns:jqa="http://www.buschmais.com/jqassistant/core/analysis/rules/schema/v1.0"> | ||
|
||
<group id="it"> | ||
<includeConcept refId="it:*" /> | ||
</group> | ||
|
||
<concept id="it:APOCHelp"> | ||
<description>Calls APOC Help</description> | ||
<cypher> | ||
call apoc.help('apoc') | ||
</cypher> | ||
</concept> | ||
|
||
</jqa:jqassistant-rules> |
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,15 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>@project.groupId@</groupId> | ||
<artifactId>@[email protected]</artifactId> | ||
<version>@project.version@</version> | ||
<relativePath>../pom.xml</relativePath> | ||
</parent> | ||
<artifactId>@[email protected]</artifactId> | ||
|
||
<properties> | ||
<apoc.version>@neo4j_5x_apoc.version@</apoc.version> | ||
</properties> | ||
|
||
</project> |
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,10 @@ | ||
def reportFile1 = new File(basedir, 'target/jqassistant/jqassistant-report.xml') | ||
assert reportFile1.exists() | ||
def jqassistantReport = new XmlSlurper().parse(reportFile1) | ||
def itGroup = jqassistantReport.group.find { it.@id = 'it' } | ||
def concept = itGroup.concept.find { it.@id == 'it:APOCHelp' } | ||
assert concept.status == 'success' | ||
|
||
def pluginDir = new File(basedir, 'target/jqassistant/plugins') | ||
assert pluginDir.exists(); | ||
assert pluginDir.isDirectory(); |
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
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