Hey Hans,

Thanks for your help. I've added @jar but the behavior is still the same. I'm 
using 0.8, I'll try with 0.9 preview 1 as soon as I get a chance.

Steven



________________________________
De : Hans Dockter <[email protected]>
À : [email protected]
Envoyé le : Mer 31 mars 2010, 15 h 52 min 45 s
Objet : Re: [gradle-user] How to ignore missing pom parent?

Hi Steven,


On Wed, Mar 31, 2010 at 3:29 PM, Steven Devijver <[email protected]> wrote:

Hey,
>
>
>I've configured this dependency:
>
>
>dependencies {
>dbmaintain "org.dbmaintain:dbmaintain:1.0.2"
>}

You can do:

dbmaintain "org.dbmaintain:dbmaintain:1....@jar"

That should ignore the pom.

- Hans

--
Hans Dockter 
Founder, Gradle
http://www.gradle.org, http://twitter.com/gradleorg
CEO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz




>
>However, I get this exception:
>
>
>..
>>:: problems summary ::
>:::: WARNINGS
>        io problem while parsing ivy file: 
> http://repo1.maven.org/maven2/org/dbm
>aintain/dbmaintain/1.0.2/dbmaintain-1.0.2.pom: Impossible to load parent for
> fil
>e:/C:/Documents%20and%20Settings/stdevijv/.gradle/cache/org.dbmaintain/dbmaintai
>n/ivy-1.0.2.xml.original. Parent=org.dbmaintain#dbmaintain-parent;1.0.2
>
>
>                module not found: org.dbmaintain#dbmaintain;1.0.2
>
>
>Problem is that the pom.xml has a parent, dbmaintain-parent, and that this 
>parent is not available on mavenCentral().
>
>
>Is there a way to avoid this failure and just download the jar file?
>
>
>Thanks
>
>
>Steven
>



      

Reply via email to