It is marked as 1.0.0 but we have been using this in the Hibernate build for a
few months now. Essentially it allows you to upload to maven repositories
that require authentication without any manual intervention for that
authentication as long as authentication is defined in your Maven settings.xml
(it allows for other pluggable strategies/mechanisms, but that was all we
needed).
It matches based on the id you assign the repo in you gradle build and the id
you assign it in settings.xml. For example:
build.gradle:
uploadArchives {
repositories.mavenDeployer {
...
repository(id: "jboss-releases-repository", ...)
snapshotRepository(id: "jboss-snapshots-repository", ...)
}
}
settings.xml:
<settings>
<servers>
<server>
<id>jboss-releases-repository</id>
<username>...</username>
<password>...</password>
</server>
<server>
<id>jboss-snapshots-repository</id>
<username>...</username>
<password>...</password>
</server>
</servers>
</settings>
https://repository.jboss.org/nexus/content/groups/public/org/hibernate/build/gradle/gradle-
upload-auth-plugin/1.0.0/
https://github.com/sebersole/gradle-upload-auth-plugin
---
Steve Ebersole <[email protected]>
http://hibernate.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email