thirsch81 wrote > > This seems to be a rather simple task, yet I am completely lost. I have a > project, that basically consists only of a pom.xml and the corresponding > .jar file. How do I upload this third party dependency to a Maven > repository? >
I wouldn't call this a common use case, but I believe it should work if you add the Jar and POM as file artifacts: artifacts { archives file("some/pom.xml"), file("some/lib.jar") } More on this in chapter 37 of the user guide (http://gradle.org/docs/current/userguide/userguide_single.html#artifact_management). However, this likely won't generate and publish the same metadata files that you would get with a regular Maven upload. There may be ways to make that work too, but I can't tell offhand. PS: For some reason, your post wasn't accepted by the mailing list. I recommend to use the forum instead (http://forums.gradle.org). -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Upload-single-third-party-JAR-and-POM-to-Maven-Repository-tp5430119p5433093.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email