I wrote a special plugin to leverage Maven settings.xml files for
exactly these types of situations. The idea being that most "shops" are
still using Maven in addition to Gradle. So the typical way you do this
in Maven is through its settings.xml file. So I just leveraged that.
https://github.com/sebersole/gradle-upload-auth-plugin
On 04/21/2011 06:57 PM, Howard Lewis Ship wrote:
This is what I have so far:
dependencies {
groovy "org.codehaus.groovy:groovy-all:1.7.4"
deployerJars "org.apache.maven.wagon:wagon-http-lightweight:1.0-beta-6"
}
... and ...
uploadArchives {
repositories.mavenDeployer {
configuration = configurations.deployerJars
// apacheDeployUserName and apacheDeployPassword should be
specified in ~/.gradle/gradle.properties
snapshotRepository(url:
"https://repository.apache.org/content/repositories/snapshots/") {
authentication(userName: apacheDeployUserName, password:
apacheDeployPassword)
}
}
}
What did you do about password management? This is especially
problematic because I want to configure the Apache Jenkins to upload
the artifacts after each successful build (or perhaps, have a nightly
build ... but either way, a Jenkins server I don't even have login
access to).
On Fri, Apr 15, 2011 at 8:58 PM, Eitan Suez<[email protected]> wrote:
for a customer i just wrote a gradle build that successfully publishes
to an internal nexus repository.
/ eitan
On Fri, Apr 15, 2011 at 8:49 PM, James Carr<[email protected]> wrote:
Should be doable... I do a deployment to our local artifactory instance.
On Fri, Apr 15, 2011 at 9:42 PM, Jason Porter<[email protected]> wrote:
Not to Apache, but other people have deployed to a Nexus instance. I know
Steve Ebersole is deploying Hibernate into the JBoss Nexus instance. Pretty
sure others have done it as well.
On Fri, Apr 15, 2011 at 19:27, Howard Lewis Ship<[email protected]> wrote:
Has anyone using Gradle figured out how to get Gradle to deploy into
the Apache Nexus artifact manager? This is a key step for Tapestry
deployments, and it currently handled via Maven (with lots of
references to parent POMs, ad nauseum). Before I jump into this, I'm
curious is someone else has already tacked it. Thanks!
--
Howard M. Lewis Ship
Creator of Apache Tapestry
The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!
(971) 678-5210
http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
Jason Porter
http://lightguard-jp.blogspot.com
http://twitter.com/lightguardjp
Software Engineer
Open Source Advocate
Author of Seam Catch - Next Generation Java Exception Handling
PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
Steve Ebersole <[email protected]>
http://hibernate.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email