diff --git a/.travis/travis-settings.xml b/.travis/travis-settings.xml index d794bbbd38..635b7f8af0 100644 --- a/.travis/travis-settings.xml +++ b/.travis/travis-settings.xml @@ -9,12 +9,12 @@ - sonatype-nexus-snapshots + ossrh ${env.CI_DEPLOY_USERNAME} ${env.CI_DEPLOY_PASSWORD} - sonatype-nexus-staging + ossrh ${env.CI_DEPLOY_USERNAME} ${env.CI_DEPLOY_PASSWORD} diff --git a/pom.xml b/pom.xml index 77f8d302c0..44000f0335 100644 --- a/pom.xml +++ b/pom.xml @@ -7,13 +7,6 @@ pom PMD - - org.sonatype.oss - oss-parent - 7 - - - PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It supports Java, JavaScript, Salesforce.com Apex, PLSQL, Apache Velocity, XML, XSL. @@ -244,6 +237,14 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code HEAD + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + local file:///tmp/pmd-site @@ -327,7 +328,7 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code 2.5.2 pmd-release - false + true true true pmd_releases/@{project.version} @@ -450,6 +451,11 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code maven-pmd-plugin ${pmd.plugin.version} + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.8 + @@ -574,6 +580,40 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code org.apache.maven.plugins maven-toolchains-plugin + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + true + + ossrh + https://oss.sonatype.org/ + false + + @@ -860,6 +900,24 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code https://pmd.github.io/pmd-${project.version}/${project.artifactId} + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + + +