Maven has a fixed pattern. If you need a custom pattern, use Ivy.
--
Peter Niederwieser
Principal Engineer, Gradleware
http://gradleware.com
Creator, Spock Framework
http://spockframework.org
Twitter: @pniederw
lessonz wrote:
>
> Okay, so I figured out I could set pattern here:
>
> uploadArchives {
> repositories.mavenDeployer {
> snapshotRepository(url:
> "${repoBase}/${snapshotPublishRepoLocation}") {
> pattern =
> "/[organisation]/[artifact]/[revision]/[artifact].[ext]"
> }
> pom.artifactId = 'common-java'
> }
> }
>
> It'll run, no errors, but the pattern appears to be meaningless. It's
> still uploading with the funky pattern described in my previous message.
> So, I'm wondering if this value is only used in resolving.
>
> I'm just at a loss here. Any help would be greatly appreciated.
>
> Thanks.
>
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Override-Maven-Artifact-Pattern-tp4699461p4708426.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