If I use this:
uploadArchives {
repositories {
mavenDeployer {
repository(url: "file://localhost/tmp/myRepo/")
}
}
}
I get what looks like a valid maven repository, complete with pom and jar and sha1 and md5 files.
But if I use
uploadArchives {
repositories {
maven {
url "file://localhost/tmp/myRepoB/"
}
}
}
I get what looks like a maven repository directory structure, but inside is just the jar and an ivy xml file.
I guess the first is the correct way to get a maven style repository, but the output of the second, a “mavy repository” just seems confusing.
Should a “maven” repository be the same as a “mavenDeployer” repository?
thakns Philip