From a6a202189bb19bd6f43d8fb9457d12448dd21e05 Mon Sep 17 00:00:00 2001 From: jmformenti Date: Sat, 10 Dec 2022 07:24:57 +0100 Subject: [PATCH] Fixed issues publishing in maven repo. --- README.md | 6 ++ pom.xml | 220 ++++++++++++++++++++++++++++++------------------------ 2 files changed, 129 insertions(+), 97 deletions(-) diff --git a/README.md b/README.md index 64ed30d..1a5e14e 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,12 @@ A fatjar `face-recognition-java-${VERSION}.jar` will be placed in `cli/target` d ``` As a result a new image with detected faces will be created in the same path with suffix `_result.jpg`. +# Release new version + +``` +mvn clean deploy -P release +``` + # Pretrained models Two models are used: diff --git a/pom.xml b/pom.xml index a874eb6..724ae9a 100644 --- a/pom.xml +++ b/pom.xml @@ -1,106 +1,132 @@ - 4.0.0 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - - spring-boot-starter-parent - org.springframework.boot - 2.4.3 - - io.github.jmformenti - face-recognition-java - ${revision} - pom - A face recognition pipeline implementation to do face detection and face identification in Java + + spring-boot-starter-parent + org.springframework.boot + 2.4.3 + + io.github.jmformenti + face-recognition-java + ${revision} + pom + A face recognition pipeline implementation to do face detection and face identification in Java + - - 0.3.0 - - 11 - 0.10.0 - + + 0.3.1 - - - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots - - - ossrh - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - - + 11 + 0.10.0 + - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ossrh - https://s01.oss.sonatype.org/ - true - - - - + + + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + + - - - release - - - - org.apache.maven.plugins - maven-source-plugin - 2.2.1 - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.9.1 - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.5 - - - sign-artifacts - verify - - sign - - - - - - - - + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ossrh + https://s01.oss.sonatype.org/ + true + + + + org.codehaus.mojo + flatten-maven-plugin + 1.1.0 + + true + resolveCiFriendliesOnly + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + + + + - - core - cli - + + + release + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + + + + + core + cli + \ No newline at end of file