Hey JB, I think it has to be -PisRelease=false (otherwise the publish task isn't activated).
For -SNAPSHOT, I'm getting further with https://github.com/apache/beam/pull/6230 I'm now looking for a good way to allow skipping gpg (when the version isn't -SNAPSHOT). Currently, it will run whenever the isRelease property is present. Thanks On Wed, Aug 15, 2018 at 4:42 AM Jean-Baptiste Onofré <[email protected]> wrote: > Hi Thomas, > > yes, I did on a local Nexus repository. > > Did you try with -DisRelease=false ? > > Regards > JB > > On 15/08/2018 07:54, Thomas Weise wrote: > > Hi, > > > > I wanted to see if anyone has used the Gradle build to publish the > > release/snapshot artifacts to custom repo? > > > > So far I found the following (attempting to publish a particular Maven > > artifact): > > > > ./gradlew :beam-runners-flink_2.11-job-server:publish -Ppublishing > > -PdistMgmtSnapshotsUrl=https://somecustomrepo/libs-snapshots > > --no-parallel --no-daemon > > > > It gets to the point of attempting deploy to the remote repo, but fails > > due to hardcoded server IDs: > > > > > https://github.com/apache/beam/blob/b82263390af57a2d52c5d7b257470bc837606e4e/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L817 > > > > When the version isn't -SNAPSHOT, then I guess it would instead be > > -PisRelease, the build will fail because it expects gpg to run, which I > > don't need for what I'm trying to do. > > > > Have others attempted third party builds for the Python SDK or Docker > > images? Any gotchas to share? > > > > Thanks, > > Thomas > > > > > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com >
