From 0949fe76e3e411f58374ec286aab8af6633e73dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20Sta=CC=88rk?= Date: Sat, 17 Oct 2020 17:30:09 +0200 Subject: [PATCH] attempt to push to central --- doc/development_documentation.md | 42 +++++++++- library/pom.xml | 79 ++---------------- pom.xml | 137 +++++++++++++++++++++++++++++-- 3 files changed, 177 insertions(+), 81 deletions(-) diff --git a/doc/development_documentation.md b/doc/development_documentation.md index 07eaecfd..afe475c1 100644 --- a/doc/development_documentation.md +++ b/doc/development_documentation.md @@ -79,8 +79,28 @@ As „servers“, enter the following       github       GITHUB-TOKEN     +    +      ossrh +      jstaerk +      JIRA-PASSWORD +       ``` +Add a profiles section to settings.xml +``` + + + ossrh + + true + + + PASSPHRASE + + + +``` + The whole settings.xml then looks e.g. like this ```xml github       TOKEN     +    +      ossrh +      jstaerk +      JIRA-PASSWORD +    + - + + + ossrh + + true + + + PASSPHRASE + + + ``` -The password is generated on github. +The TOKEN is generated on github. +Deployment to maven central is described e.g. on [dzone](https://dzone.com/articles/publish-your-artifacts-to-maven-central). See the following screenshot: @@ -113,6 +150,7 @@ Sign in in GitHub and click on the profile picture -> Settings. Now just generat ![screenshot](development_documentation_screenshot_github_settings.png "Screenshot Github Settings") The Token-ID is the password. + ## Integrate before release If you added functionality which you need to test in another project before a new version of Mustang is released you can diff --git a/library/pom.xml b/library/pom.xml index b9c27c77..cdc02b10 100644 --- a/library/pom.xml +++ b/library/pom.xml @@ -104,20 +104,7 @@ - - - - org.apache.maven.plugins - maven-release-plugin - 2.5.3 - - - - - org.apache.maven.plugins maven-compiler-plugin @@ -132,67 +119,13 @@ jar-with-dependencies - + 1.8 1.8 - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.0.1 - - - org.mustangproject.ZUGFeRD.model.* - - - - - maven-deploy-plugin - 2.8.2 - - internal.repo::default::file://${project.build.directory}/mvn-repo - - - - - com.github.github - site-maven-plugin - 0.12 - - Maven artifacts for ${project.version} - - true - - ${project.build.directory}/mvn-repo - - refs/heads/mvn-repo - - - **/* - - true - mustangproject - - ZUGFeRD - - - - - - - site - - deploy - - - org.apache.maven.plugins maven-shade-plugin @@ -237,9 +170,9 @@ - + @@ -261,6 +194,8 @@ + + User List diff --git a/pom.xml b/pom.xml index 0b9ef41c..f9aa155f 100644 --- a/pom.xml +++ b/pom.xml @@ -17,11 +17,131 @@ http://www.mustangproject.org/ - scm:git:https://github.com/ZUGFeRD/mustangproject.git - scm:git:https://github.com/ZUGFeRD/mustangproject.git - https://github.com/ZUGFeRD/mustangproject - mustang-1.7.3 + scm:git:git://github.com/dexecutor/dependent-tasks-executor.git + scm:git:git@github.com:dexecutor/dexecutor.git + https://github.com/dexecutor/dependent-tasks-executor + + + + + org.apache.maven.plugins + maven-release-plugin + 2.5.3 + + true + false + forked-path + -Dgpg.passphrase=${gpg.passphrase} + + + + org.apache.maven.scm + maven-scm-provider-gitexe + 1.9.5 + + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.0.1 + + + org.mustangproject.ZUGFeRD.model.* + + + + + maven-deploy-plugin + 2.8.2 + + internal.repo::default::file://${project.build.directory}/mvn-repo + + + + + com.github.github + site-maven-plugin + 0.12 + + Maven artifacts for ${project.version} + + true + + ${project.build.directory}/mvn-repo + + refs/heads/mvn-repo + + + **/* + + true + mustangproject + + ZUGFeRD + + + + + + + site + + deploy + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.10.4 + + UTF-8 + + + + attach-javadoc + + + + + + + + sonatype-oss-public @@ -35,10 +155,13 @@ + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + - internal.repo - Temporary Staging Repository - file://${project.build.directory}/mvn-repo + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/