diff --git a/eng/pipelines/templates/jobs/archetype-sdk-tests.yml b/eng/pipelines/templates/jobs/archetype-sdk-tests.yml index c30c372adb0fa..cbca4cef991fd 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-tests.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-tests.yml @@ -41,13 +41,13 @@ parameters: TestCanary: false TimeoutInMinutes: 60 TestStepMavenInputs: - options: '-Dmaven.wagon.http.pool=false -DtrimStackTrace=false $(DefaultOptions) -pl $(ProjectList)' + options: '$(DefaultOptions) -Dmaven.javadoc.skip=true -Dspotbugs.skip=true -Dcheckstyle.skip=true -Drevapi.skip=true -DtrimStackTrace=false -pl $(ProjectList)' mavenOptions: '$(MemoryOptions) $(LoggingOptions)' javaHomeOption: 'JDKVersion' jdkVersionOption: '$(JavaTestVersion)' jdkArchitectureOption: 'x64' publishJUnitResults: false - goals: 'test' + goals: 'verify' TestResultsFiles: '' SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) ResourceGroupLocationCanary: "centraluseuap" @@ -69,15 +69,15 @@ jobs: value: ${{ parameters.Location }} strategy: - matrix: + matrix: ${{ insert }}: ${{ parameters.Matrix }} - ${{ if eq(parameters.TestCanary, 'true') }}: - Linux - Java 11 (AzureCloudCanary): + ${{ if eq(parameters.TestCanary, 'true') }}: + Linux - Java 11 (AzureCloudCanary): OSVmImage: 'ubuntu-18.04' JavaTestVersion: '1.11' - DisplayName: 'Linux - Java 11' - SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview) - Location: ${{ parameters.ResourceGroupLocationCanary }} + DisplayName: 'Linux - Java 11' + SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview) + Location: ${{ parameters.ResourceGroupLocationCanary }} AZURE_TEST_HTTP_CLIENTS: netty maxParallel: ${{ parameters.MaxParallel }} diff --git a/sdk/core/azure-core-http-jdk-httpclient/pom.xml b/sdk/core/azure-core-http-jdk-httpclient/pom.xml index 6c88e3f9bfd88..347fcd39c1b7d 100644 --- a/sdk/core/azure-core-http-jdk-httpclient/pom.xml +++ b/sdk/core/azure-core-http-jdk-httpclient/pom.xml @@ -126,16 +126,24 @@ - - + java8 - [1.8,11) + [,11) + + org.jacoco + jacoco-maven-plugin + 0.8.5 + + true + + + org.apache.maven.plugins maven-compiler-plugin @@ -145,27 +153,64 @@ true - + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M3 + + true + + + org.apache.maven.plugins maven-javadoc-plugin 3.1.1 - - - attach-javadocs - - jar - - - true - true - - - + + true + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.1.2 + + true + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.1.0 + + true + + + + + com.github.spotbugs + spotbugs-maven-plugin + 3.1.12.2 + + true + + + + + org.revapi + revapi-maven-plugin + 0.11.2 + + true + + java-lts @@ -173,12 +218,6 @@ [11,) - - - src/main/resources - true - - org.apache.maven.plugins @@ -186,33 +225,6 @@ 3.8.1 11 - - - -proc:none - - - -Xlint:cast - -Xlint:classfile - - -Xlint:dep-ann - -Xlint:divzero - -Xlint:empty - -Xlint:fallthrough - -Xlint:finally - -Xlint:options - -Xlint:overrides - -Xlint:path - - -Xlint:rawtypes - - -Xlint:static - -Xlint:try - -Xlint:unchecked - -Xlint:varargs - -Xlint:-module - -Xlint:-requires-transitive-automatic - - @@ -221,9 +233,8 @@ 11 - @@ -241,6 +252,5 @@ -