Can Maven access a repository without exposing my keystore password?

The artifact repository I use as my primary mirror just switched over from HTTP to HTTPS. I had to add a truststore with the CA that issued the server certificate, as well as a keystore...

STS freeze during build workspace on startup

I am running Spring STS 3.4.0 on Mac OS 10.8 with Tomcat 7, maven 3.1.1 installed, but almost everytime I start STS, try to open any project it freezes while building workspace at exactly 42%. By...

Custom gradle task for rpmbuild

We're currently in the process of moving away from scons to gradle to build the java portions of our software. One thing we need is to build rpm from the spec file. So we tried to write custom...

gpg no default secret key error using maven

I am trying to publish my maven project in the Central Repository and I need to sign my artifacts. I have downloaded and installed gpg and created my keyring. When I run a "maven clean deploy" in...

How to select the GnuPG key that the maven-gpg-plugin uses to sign artifacts?

I am using the maven-gpg-plugin to sign the maven artifacts. This works fine, but I have several keys in my GnuPG keyring and want to use a different one than the one GnuPG selects. How does...

Expected GPG user ID for Maven Central artifacts?

I was going through the (seemingly intricate) procedures for getting a company's artifact on Maven Central. Then I got to the GPG signing part and entered a new world of confusion and conundrums....

Signing generated artifacts on Travis-CI

I'm working with the gradle signing plugin to sign my generated artifacts. This works really well locally where I'm able to point at my secring.gpg file. I'd like to be able to do this from...

Appyling Gradle signing plugin, without requiring a GPG keyring

I am following the instructions at http://central.sonatype.org/pages/gradle.html to use Gradle to upload artifacts to the Maven Central Repository. The instructions work. Examples appear at...

How to get the gpg-agent to ask for the password when used in maven-gpg-plugin

I have several projects where I want to sign the resulting artifacts with a gpg key. In the past I used gpg 1.x (i.e. the old one) and in this setup I had the password encrypted (but usable) in...

Error while installing Halyard

Im trying to install halyard in Ubuntu 16.04. I have downloaded installhalyard script using curl curl -O...

Gradle signArchives unable to read Secret Key

I am trying to publish my Java Library to Maven Central. A part of this involves using the signing gradle plugin to sign the artifacts. I need to sign it without using the keyring file as document...

pip install from Azure DevOps Python Artifacts feed not working

When I attempt to install a package from our Azure DevOps Artifacts feed, I get the error: Looking in indexes: https://pypi.org/simple,...

With azure pipelines and poetry, is there any way to avoid sourcing ~/.poetry/env in every script?

I currently use the script below to build my package and publish it to a private Azure Artifacts feed. In every script, I have to run the line source $HOME/.poetry/env or it cannot find the poetry...

Azure Devops install Python package from Azure Artifacts inside Docker

I am trying to install a pip package from Azure Artifacts as part of a Docker image(with [email protected] task) but whatever I try does not work. It looks like my pip inside Docker cannot authenticate...

Using a Azure Devops python artifact repo on a Microsoft machine learning server

I have a SQL Server 2017 instance with Machine Learning services install in database. I have a custom module that I have a wheels package built and published to a Azure Devops python artifact repo...

Publishing packages to Azure DeveOps Artifacts using Python-Poetry

The background I've seen this answer, How to Publish to PyPI with Azure-Pipelines and Poetry however, where the credentials are supposedly generated, I don't see that same option when I go to...

How to install private python package from Azure Artifact feed via CLI

I have setup a pypi feed in Azure Artifacts, but I can't seem to be able to authenticate via CLI to be able to install the python packages locally. I want to be able to just run pip install and...

DOCKER_BUILDKIT - passing a token secret during build time from github actions

I have a pip installable package that was published using twine to Azure DevOps artifact. In my build image I need to download that package and install it with pip. So I need to authenticate...

Setting a non-root user in a Dockerfile and installing pip packages

I have this multi-stage build: FROM mcr.microsoft.com/azure-functions/python:3.0-python3.8 as intermediate RUN apt-get update && \ apt-get install -y apt-utils && apt-get install -y git && \ ...

Connect to feed in Azure Artifacts using poetry (or pipenv) with artifacts-keyring

I'm a bit of a beginner to working with Azure, in particular my problem is related to publishing python packages. I have a package managed with poetry, i am posting it to the private repository...

GCP - Cloud Function can't find Python package from Artifact Registry in the same project

I've been trying GCP's Artifact Registry, which is currently in alpha for Python packages. I do the authentication via Keyring along with my service account, as explained in the documentation. I...

install PyTorch CPU-only in Dockerfile

I am fairly new to Docker and containerisation. I am wanting to decrease the size of my_proj docker container in production. I prefer installing packages and managing dependencies via Poetry. How...