On 23/06/2011, at 9:57 AM, Mark Davidson wrote:
> OK that makes sense. I commented out the repository & snapshotRepository
> elements as suggested but now get a different error:
>
> Execution failed for task ':local-gov-bof:install'.
> Cause: Could not publish configurations [configuration
> ':local-gov-bof:archives'].
> Cause: A POM cannot have multiple artifacts with the same type and
> classifier. Already have MavenArtifact local-gov-bof:jar:jar:null, trying to
> add MavenArtifact local-gov-bof:jar:jar:null.
>
> Any ideas?
Turns out there is a bit of a gotcha in here.
You need to replace:
> repositories.mavenInstaller {
with
repositories['mavenInstaller'].with {
The previous way was creating a new installer “handler”, where what we want to
do is actually configure the existing one put there by the maven plugin.
This whole area is under active development and will be simpler with the 1.0
release.
--
Luke Daley
Principal Engineer, Gradleware
http://gradleware.com
Please vote Gradle for JAX Awards » http://vote.jax-awards.com
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email