-
Notifications
You must be signed in to change notification settings - Fork 121
Internal Maven Repositories
Richard Warburton edited this page Dec 12, 2019
·
1 revision
Many organizations vendor their dependencies by having custom internal maven/gradle dependency repositories that include their built versions of binaries. Artio allows you to configure the build properties so that you can build and upload Artio binaries to those repositories.
You need to enter the configuration details for your repository into your ~/.gradle/gradle.properties
file in order to upload there. Here is an example of the properties you would put there for uploading to maven central - your URLs will be different.
repoUrl=https://oss.sonatype.org/service/local/staging/deploy/maven2/
snapshotUrl=https://oss.sonatype.org/content/repositories/snapshots/
repoUsername=JaneBloggs123
repoPassword=SecretPassword123
Then in order to publish version X.XX
to your repository simple run:
./publish.sh "X.XX"