From 114979a0fe570c35b978ed6892c9cf748febf508 Mon Sep 17 00:00:00 2001 From: agibsonccc Date: Fri, 5 Mar 2021 10:47:15 +0900 Subject: [PATCH] Add new ossrh and github profiles for github actions snapshots publishing --- pom.xml | 136 +++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 109 insertions(+), 27 deletions(-) diff --git a/pom.xml b/pom.xml index 3dce515f3..f0d6524fb 100644 --- a/pom.xml +++ b/pom.xml @@ -92,18 +92,7 @@ - - - sonatype-nexus-releases - Nexus Release Repository - http://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - sonatype-nexus-snapshots - Sonatype Nexus snapshot repository - https://oss.sonatype.org/content/repositories/snapshots - - + 1.7 @@ -184,7 +173,9 @@ ${javacpp.platform} - + + + 1.5.4 1.5.4 1.5.4 @@ -325,22 +316,20 @@ 1.4.30 - - - org.jetbrains.kotlin - kotlin-stdlib-jdk8 - ${kotlin.version} - - - org.jetbrains.kotlin - kotlin-test - ${kotlin.version} - test - - + + org.jetbrains.kotlin + kotlin-stdlib-jdk8 + ${kotlin.version} + + + org.jetbrains.kotlin + kotlin-test + ${kotlin.version} + test + io.netty netty-all @@ -428,6 +417,58 @@ + + org.jetbrains.kotlin + kotlin-maven-plugin + ${kotlin.version} + + + -Xjsr305=strict + + + spring + jpa + + + + + org.jetbrains.kotlin + kotlin-maven-allopen + 1.4.30-M1 + + + org.jetbrains.kotlin + kotlin-maven-noarg + 1.4.30-M1 + + + + + compile + compile + + + ${project.basedir}/src/main/stubs + ${project.basedir}/src/main/kotlin + ${project.basedir}/src/main/java + ${project.basedir}/src/main/ops + + + + + test-compile + test-compile + + + ${project.basedir}/src/test/stubs + ${project.basedir}/src/test/kotlin + ${project.basedir}/src/test/java + ${project.basedir}/src/test/ops + + + + + org.apache.maven.plugins maven-compiler-plugin @@ -488,6 +529,7 @@ true + false ${project.basedir}/target/generated-sources/src/main/resources/org/eclipse/${project.groupId}-${project.artifactId}-git.properties @@ -659,6 +701,40 @@ + + github + + + github + GitHub Packages + https://maven.pkg.github.com/eclipse/deeplearning4j + + + + github + Github snapshots + https://maven.pkg.github.com/eclipse/deeplearning4j + + + + + + ossrh + + + sonatype-nexus-releases + Nexus Release Repository + http://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + sonatype-nexus-snapshots + Sonatype Nexus snapshot repository + https://oss.sonatype.org/content/repositories/snapshots + + + + skipTestCompileAndRun @@ -769,6 +845,12 @@ org.apache.maven.plugins maven-gpg-plugin ${maven-gpg-plugin.version} + + + --pinentry-mode + loopback + + sign-artifacts @@ -1029,4 +1111,4 @@ - + \ No newline at end of file