diff --git a/libraries/bot-ai-luis-v3/pom.xml b/libraries/bot-ai-luis-v3/pom.xml index 6ecfe0ba..5ce30ee1 100644 --- a/libraries/bot-ai-luis-v3/pom.xml +++ b/libraries/bot-ai-luis-v3/pom.xml @@ -96,25 +96,6 @@ - - org.eluder.coveralls - coveralls-maven-plugin - - yourcoverallsprojectrepositorytoken - - - - org.codehaus.mojo - cobertura-maven-plugin - - ../../cobertura-report/bot-ai-luis-v3 - xml - 256m - - true - - - diff --git a/libraries/bot-ai-qna/pom.xml b/libraries/bot-ai-qna/pom.xml index 189aa41c..4b7ceaba 100644 --- a/libraries/bot-ai-qna/pom.xml +++ b/libraries/bot-ai-qna/pom.xml @@ -95,25 +95,6 @@ - - org.eluder.coveralls - coveralls-maven-plugin - - yourcoverallsprojectrepositorytoken - - - - org.codehaus.mojo - cobertura-maven-plugin - - ../../cobertura-report/bot-ai-qna - xml - 256m - - true - - - diff --git a/libraries/bot-applicationinsights/pom.xml b/libraries/bot-applicationinsights/pom.xml index 1d58b99e..c7bfde21 100644 --- a/libraries/bot-applicationinsights/pom.xml +++ b/libraries/bot-applicationinsights/pom.xml @@ -74,25 +74,6 @@ - - org.eluder.coveralls - coveralls-maven-plugin - - yourcoverallsprojectrepositorytoken - - - - org.codehaus.mojo - cobertura-maven-plugin - - ../../cobertura-report/bot-applicationinsights - xml - 256m - - true - - - diff --git a/libraries/bot-azure/pom.xml b/libraries/bot-azure/pom.xml index b08be189..12c503b9 100644 --- a/libraries/bot-azure/pom.xml +++ b/libraries/bot-azure/pom.xml @@ -90,25 +90,6 @@ - - org.eluder.coveralls - coveralls-maven-plugin - - yourcoverallsprojectrepositorytoken - - - - org.codehaus.mojo - cobertura-maven-plugin - - ../../cobertura-report/bot-azure - xml - 256m - - true - - - diff --git a/libraries/bot-builder/pom.xml b/libraries/bot-builder/pom.xml index 392d5838..c69a9826 100644 --- a/libraries/bot-builder/pom.xml +++ b/libraries/bot-builder/pom.xml @@ -114,25 +114,6 @@ - - org.eluder.coveralls - coveralls-maven-plugin - - yourcoverallsprojectrepositorytoken - - - - org.codehaus.mojo - cobertura-maven-plugin - - ../../cobertura-report/bot-builder - xml - 256m - - true - - - diff --git a/libraries/bot-connector/pom.xml b/libraries/bot-connector/pom.xml index 38999fc5..b0999bc4 100644 --- a/libraries/bot-connector/pom.xml +++ b/libraries/bot-connector/pom.xml @@ -144,26 +144,6 @@ - - org.eluder.coveralls - coveralls-maven-plugin - - yourcoverallsprojectrepositorytoken - - - - org.codehaus.mojo - cobertura-maven-plugin - - ../../cobertura-report/bot-connector - xml - 256m - - true - - - - org.apache.maven.plugins maven-pmd-plugin diff --git a/libraries/bot-connector/src/main/java/com/microsoft/bot/restclient/serializer/AdditionalPropertiesDeserializer.java b/libraries/bot-connector/src/main/java/com/microsoft/bot/restclient/serializer/AdditionalPropertiesDeserializer.java index ce3021a5..5e8319ce 100644 --- a/libraries/bot-connector/src/main/java/com/microsoft/bot/restclient/serializer/AdditionalPropertiesDeserializer.java +++ b/libraries/bot-connector/src/main/java/com/microsoft/bot/restclient/serializer/AdditionalPropertiesDeserializer.java @@ -95,9 +95,11 @@ public final class AdditionalPropertiesDeserializer extends StdDeserializer - - org.eluder.coveralls - coveralls-maven-plugin - - yourcoverallsprojectrepositorytoken - - - - org.codehaus.mojo - cobertura-maven-plugin - - ../../cobertura-report/bot-dialogs - xml - 256m - - true - - - org.apache.maven.plugins maven-pmd-plugin diff --git a/libraries/bot-dialogs/src/test/java/com/microsoft/bot/dialogs/prompts/ChoicePromptTests.java b/libraries/bot-dialogs/src/test/java/com/microsoft/bot/dialogs/prompts/ChoicePromptTests.java index c6df5019..42ea3518 100644 --- a/libraries/bot-dialogs/src/test/java/com/microsoft/bot/dialogs/prompts/ChoicePromptTests.java +++ b/libraries/bot-dialogs/src/test/java/com/microsoft/bot/dialogs/prompts/ChoicePromptTests.java @@ -489,7 +489,7 @@ public class ChoicePromptTests { // This is being left out for now due to it failing due to an issue in the Text Recognizers library. // It should be worked out in the recognizers and then this test should be enabled again. - //@Test + @Test public void ShouldNotRecognizeOtherText() { ConversationState convoState = new ConversationState(new MemoryStorage()); StatePropertyAccessor dialogState = convoState.createProperty("dialogState"); diff --git a/libraries/bot-integration-core/pom.xml b/libraries/bot-integration-core/pom.xml index e008b098..0f725189 100644 --- a/libraries/bot-integration-core/pom.xml +++ b/libraries/bot-integration-core/pom.xml @@ -74,27 +74,6 @@ true - - - org.eluder.coveralls - coveralls-maven-plugin - - yourcoverallsprojectrepositorytoken - - - - org.codehaus.mojo - cobertura-maven-plugin - - ../../cobertura-report/bot-integration-core - xml - 256m - - true - - - - diff --git a/libraries/bot-integration-spring/pom.xml b/libraries/bot-integration-spring/pom.xml index 8c0ca1e8..8b3a7659 100644 --- a/libraries/bot-integration-spring/pom.xml +++ b/libraries/bot-integration-spring/pom.xml @@ -94,27 +94,6 @@ true - - - org.eluder.coveralls - coveralls-maven-plugin - - yourcoverallsprojectrepositorytoken - - - - org.codehaus.mojo - cobertura-maven-plugin - - ../../cobertura-report/bot-integration-spring - xml - 256m - - true - - - - diff --git a/libraries/bot-schema/pom.xml b/libraries/bot-schema/pom.xml index 9c51d929..a1df159c 100644 --- a/libraries/bot-schema/pom.xml +++ b/libraries/bot-schema/pom.xml @@ -82,27 +82,6 @@ true - - - org.eluder.coveralls - coveralls-maven-plugin - - yourcoverallsprojectrepositorytoken - - - - org.codehaus.mojo - cobertura-maven-plugin - - ../../cobertura-report/bot-schema - xml - 256m - - true - - - - diff --git a/pom.xml b/pom.xml index 392c43b4..6832defc 100644 --- a/pom.xml +++ b/pom.xml @@ -84,6 +84,44 @@ org.apache.maven.plugins maven-checkstyle-plugin + + org.jacoco + jacoco-maven-plugin + + + default-prepare-agent + + prepare-agent + + + + default-report + + report + + + + + + + + + + + + + + + + + + + + + + + + @@ -141,12 +179,8 @@ - org.eluder.coveralls - coveralls-maven-plugin - - - org.codehaus.mojo - cobertura-maven-plugin + org.jacoco + jacoco-maven-plugin org.apache.maven.plugins @@ -504,42 +538,11 @@ - org.eluder.coveralls - coveralls-maven-plugin - 4.3.0 - - - - ./cobertura-report/bot-builder/coverage.xml - - - ./cobertura-report/bot-schema/coverage.xml - - - ./cobertura-report/bot-connector/coverage.xml - - + org.jacoco + jacoco-maven-plugin + 0.8.6 + - UTF-8 - ${env.COVERALLS_GIT_BRANCH} - ${env.COVERALLS_PULL_REQUEST} - ${env.COVERALLS_SERVICE_BUILD_NUMBER} - ${env.COVERALLS_SERVICE_BUILD_URL} - ${env.COVERALLS_SERVICE_JOB_ID} - ${env.COVERALLS_SERVICE_NAME} - - - - org.codehaus.mojo - cobertura-maven-plugin - 2.7 - - - xml - - true - - org.sonatype.plugins nexus-staging-maven-plugin @@ -625,6 +628,18 @@ + + org.jacoco + jacoco-maven-plugin + + + + + report + + + +