title: Grails adding dependency with "classifier" does not work
body: <p>First i want to inform that same kind of question was asked here 
    <a href="https://stackoverflow.com/questions/12939189/grails-plugin-dependencies-with-classifiers">grails plugin dependencies with classifiers</a> but they is no answer .</p>
  
  <p>I am trying to add jar  "json-lib.jar" and its dependency to BuildConfig.groovy file . This dependency has element called  because of this i cannot able to download the dependency .</p>
  
  <pre><code> dependencies {runtime group:'net.sf.json-lib', name:'json-lib',  classifier:'jdk15',version:'2.4'}
  </code></pre>
  
  <p>But this does not help .</p>
  
  <p>I also tried like this </p>
  
  <p>`dependencies { runtime 'net.sf.json-lib:json-lib:2.4:jdk15'}</p>
  
  <p>This one also doesn't help</p>
  
  <p>Even tried creating a maven pom-file and added "json-lib.jar" dependency to pom file but getting the same but if try using same dependency in my java maven project it works fine </p>
  
  <pre><code>&lt;dependency&gt;
  &lt;groupId&gt;net.sf.json-lib&lt;/groupId&gt;
  &lt;artifactId&gt;json-lib&lt;/artifactId&gt;
    &lt;version&gt;2.4&lt;/version&gt;
      &lt;type&gt;jar&lt;/type&gt;
      &lt;classifier&gt;jdk15&lt;/classifier&gt;
      &lt;scope&gt;compile&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>But this one also doesn't  helped.</p>
  
  <p>My error message on trying to Refresh dependency(In STS) </p>
  
  <pre><code>WARNINGS
      [FAILED     ] net.sf.json-lib#json-lib;2.4!json-lib.jar:  (0ms)
  
  
  ==== grailsHome: tried
  
    C:\Users\Target\.grails\2.1.1\cached-installed-plugins/json-lib-2.4.jar
  
  ==== grailsHome: tried
  
    C:\Users\Target\Software\Groovy -STS\Installed Directory\grails-2.1.1/plugins/json-lib-2.4.jar
  
  ==== grailsCentral: tried
  
    http://grails.org/plugins/grails-json-lib/tags/RELEASE_2.4/grails-json-lib-2.4.jar
  
  ==== http://repo.grails.org/grails/core: tried
  
    http://repo.grails.org/grails/core/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
  ==== localMavenResolver: tried
  
    C:\Users\Target/.m2/repository/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
  ==== mavenCentral: tried
  
    http://repo1.maven.org/maven2/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
  ==== ebrRelease: tried
  
    http://repository.springsource.com/maven/bundles/release/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
  ==== ebrExternal: tried
  
    http://repository.springsource.com/maven/bundles/external/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
  ==== http://download.java.net/maven/2/: tried
  
    http://download.java.net/maven/2/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
  ==== localMavenResolver: tried
  
    C:\Users\Target/.m2/repository/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
      ::::::::::::::::::::::::::::::::::::::::::::::
  
      ::              FAILED DOWNLOADS            ::
  
      :: ^ see resolution messages for details  ^ ::
  
      ::::::::::::::::::::::::::::::::::::::::::::::
  
      :: net.sf.json-lib#json-lib;2.4!json-lib.jar
  
      ::::::::::::::::::::::::::::::::::::::::::::::
  
  
       :: problems summary ::
       :::: WARNINGS
      [FAILED     ] net.sf.json-lib#json-lib;2.4!json-lib.jar:  (0ms)
  
  
  ==== grailsHome: tried
  
    C:\Users\Target\Software\Groovy -STS\Installed Directory\grails-2.1.1/lib/net.sf.json-lib/json-lib/jars/json-lib-2.4.jar
  
    C:\Users\Target\Software\Groovy -STS\Installed Directory\grails-2.1.1/lib/net.sf.json-lib/json-lib/bundles/json-lib-2.4.jar
  
  ==== grailsHome: tried
  
    C:\Users\Target\Software\Groovy -STS\Installed Directory\grails-2.1.1\src\libs/json-lib-2.4.jar
  
  ==== grailsHome: tried
  
    C:\Users\Target\Software\Groovy -STS\Installed Directory\grails-2.1.1\dist/json-lib-2.4.jar
  
  ==== grailsHome: tried
  
    C:\Users\Target\.grails\2.1.1\cached-installed-plugins/json-lib-2.4.jar
  
  ==== grailsHome: tried
  
    C:\Users\Target\Software\Groovy -STS\Installed Directory\grails-2.1.1/plugins/json-lib-2.4.jar
  
  ==== grailsCentral: tried
  
    http://grails.org/plugins/grails-json-lib/tags/RELEASE_2.4/grails-json-lib-2.4.jar
  
  ==== http://repo.grails.org/grails/core: tried
  
    http://repo.grails.org/grails/core/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
  ==== localMavenResolver: tried
  
    C:\Users\Target/.m2/repository/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
  ==== mavenCentral: tried
  
    http://repo1.maven.org/maven2/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
  ==== ebrRelease: tried
  
    http://repository.springsource.com/maven/bundles/release/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
  ==== ebrExternal: tried
  
    http://repository.springsource.com/maven/bundles/external/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
  ==== http://download.java.net/maven/2/: tried
  
    http://download.java.net/maven/2/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
  ==== localMavenResolver: tried
  
    C:\Users\Target/.m2/repository/net/sf/json-lib/json-lib/2.4/json-lib-2.4.jar
  
      ::::::::::::::::::::::::::::::::::::::::::::::
  
      ::              FAILED DOWNLOADS            ::
  
      :: ^ see resolution messages for details  ^ ::
  
      ::::::::::::::::::::::::::::::::::::::::::::::
  
      :: net.sf.json-lib#json-lib;2.4!json-lib.jar
  
      ::::::::::::::::::::::::::::::::::::::::::::::
  
  
  | Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
  
  - net.sf.json-lib:json-lib:2.4
  </code></pre>
  
  <p>Thanks in advance..</p>