diff --git a/.circleci/config.yml b/.circleci/config.yml index 2a83074..e5df1b3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,7 +32,7 @@ jobs: command: | find ./ -type f -name "log4j2.xml" -print0 | xargs -0 sed -i -e 's/\/data\/logs/\/home\/circleci\/logs/g' find ./ -type f -name "*.java" -print0 | xargs -0 sed -i -e 's/\/data\/logs/\/home\/circleci\/logs/g' - mvn clean verify sonar:sonar -Dsonar.projectKey=project-sunbird_knowledge-platform-db-extensions -Dsonar.organization=project-sunbird -Dsonar.host.url=https://sonarcloud.io -Dsonar.surefire.reportsPath=/home/circleci/project/transaction-event-handler/target/surefire-reports + mvn clean verify sonar:sonar -Dsonar.projectKey=project-sunbird_knowledge-platform-db-extensions -Dsonar.organization=project-sunbird -Dsonar.host.url=https://sonarcloud.io -Dsonar.surefire.reportsPath=/home/circleci/project/transaction-event-handler/target/surefire-reports -Dsonar.coverage.jacoco.xmlReportPaths=/home/circleci/project/transaction-event-handler/target/site/jacoco/jacoco.xml - run: name: Save test results command: | diff --git a/neo4j-extensions/custom-procedures/pom.xml b/neo4j-extensions/custom-procedures/pom.xml index a3cf013..c5c58d8 100644 --- a/neo4j-extensions/custom-procedures/pom.xml +++ b/neo4j-extensions/custom-procedures/pom.xml @@ -23,12 +23,12 @@ - org.apache.maven.plugins maven-compiler-plugin - 3.8.1 - - 11 - + 2.3.2 + + 1.8 + 1.8 + org.apache.maven.plugins @@ -60,10 +60,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.22.2 - - --illegal-access=permit - + 2.20 org.jacoco diff --git a/neo4j-extensions/learning-graph-extension/pom.xml b/neo4j-extensions/learning-graph-extension/pom.xml index b1c5375..6c45e2c 100644 --- a/neo4j-extensions/learning-graph-extension/pom.xml +++ b/neo4j-extensions/learning-graph-extension/pom.xml @@ -19,12 +19,12 @@ - org.apache.maven.plugins maven-compiler-plugin - 3.8.1 - - 11 - + 2.3.2 + + 1.8 + 1.8 + org.apache.maven.plugins diff --git a/neo4j-extensions/pom.xml b/neo4j-extensions/pom.xml index 79af4bf..f280b24 100644 --- a/neo4j-extensions/pom.xml +++ b/neo4j-extensions/pom.xml @@ -24,7 +24,7 @@ maven-assembly-plugin - 3.3.0 + 2.3 src/assembly/bin.xml @@ -34,13 +34,42 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.1 - - 11 - + 2.3.2 + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.20 + + + + org.jacoco + jacoco-maven-plugin + 0.7.9 + + + default-prepare-agent + + prepare-agent + + + + default-report + prepare-package + + report + + + + + diff --git a/neo4j-extensions/transaction-event-handler/pom.xml b/neo4j-extensions/transaction-event-handler/pom.xml index 7130193..fd5eb43 100755 --- a/neo4j-extensions/transaction-event-handler/pom.xml +++ b/neo4j-extensions/transaction-event-handler/pom.xml @@ -15,17 +15,17 @@ org.apache.logging.log4j log4j-1.2-api - 2.14.1 + 2.8.2 org.apache.logging.log4j log4j-api - 2.14.1 + 2.8.2 org.apache.logging.log4j log4j-core - 2.14.1 + 2.8.2 com.fasterxml.jackson.core @@ -71,12 +71,12 @@ - org.apache.maven.plugins maven-compiler-plugin - 3.8.1 - - 11 - + 2.3.2 + + 1.8 + 1.8 + @@ -84,17 +84,12 @@ org.apache.maven.plugins maven-surefire-plugin - 2.22.0 - - - --illegal-access=permit - - + 2.20 org.jacoco jacoco-maven-plugin - 0.8.6 + 0.7.9 **/common/** diff --git a/pom.xml b/pom.xml index 9e01d03..25e6a2a 100644 --- a/pom.xml +++ b/pom.xml @@ -11,6 +11,9 @@ UTF-8 + 2.3.1 + 1.8 + 1.8 @@ -22,17 +25,9 @@ - - org.codehaus.mojo - versions-maven-plugin - 2.5 - - false - - maven-assembly-plugin - 3.3.0 + 2.3 src/assembly/bin.xml @@ -42,13 +37,39 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.1 - - 11 - + 2.3.2 + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-surefire-plugin + + + org.jacoco + jacoco-maven-plugin + 0.8.6 + + + + prepare-agent + + + + generate-code-coverage-report + test + + report + + + + +