Commits

David Carr committed dfa06c5

build: switch back from sisu-inject-plexus to plexus-container-default

It wasn't actually being used, because maven-ant-tasks includes a shaded copy of plexus-container-default, and maven-ant-tasks is bundled with Gradle.

Comments (0)

Files changed (1)

     compile gradleApi()
     groovy localGroovy() // TODO: switch this to compile configuration when CI supports gradle 1.4
 
+    // Gradle 1.3 (and likely other versions) include this automatically by way of a shaded copy in maven-ant-tasks.
+    // However, it's best to declare it explicitly so that if a subsequent version of Gradle changes that dependency,
+    // the plugin should still work.  If that were to happen, it might be worth breaking compatibility with the older
+    // versions of Gradle and switching to org.sonatype.sisu:sisu-inject-plexus.
+    compile 'org.codehaus.plexus:plexus-container-default:1.0-alpha-9-stable-1'
+
     compile 'org.apache.maven.wagon:wagon-file:2.3'
     compile 'org.apache.maven.wagon:wagon-ftp:2.3'
     compile 'org.apache.maven.wagon:wagon-http:2.3'
     compile 'org.apache.maven.wagon:wagon-ssh:2.3'
     compile 'org.apache.maven.wagon:wagon-ssh-external:2.3'
     compile 'org.apache.maven.wagon:wagon-webdav-jackrabbit:2.3'
-    compile 'org.sonatype.sisu:sisu-inject-plexus:2.3.2'
 
     compile 'org.lesscss:lesscss:1.3.0'