On 8/7/07, Steve Loughran <[EMAIL PROTECTED]> wrote:
>
> Gilles Scokart wrote:
> > Set usepom='true'.
> >
> > Gilles
> >
>
> I try that,
>
>      <filesystem name="team2">
>        artifacts="true"
>        usepom="true"
>        m2compatible="true" >
>        <artifact
> pattern="${root.dir}/antbuild/repository/${maven2.pattern.ext}"/>
>      </filesystem>
>
> delete everything local and the relevant bits of the cache, and still
> there's no dependency coming with the file, as the report in the cache
> indicates
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <?xml-stylesheet type="text/xsl" href="ivy-report.xsl"?>
> <ivy-report version="1.0">
>         <info
>                 organisation="org.smartfrog"
>                 module="sf-avalanche-gui"
>                 revision="[EMAIL PROTECTED]"
>                 conf="test"
>                 confs="default, build, compile, daemon, test, master,
> redist, runtime"
>                 date="20070807165256"/>
>         <dependencies>
>                 <module organisation="kizoom" name="lift"
> resolver="internal">
>                         <revision name="20061027" status="release"
> pubdate="20070807164928"
> resolver="team2" artresolver="team2" downloaded="false" searched="false"
> default="true" conf="default" position="0">
>                                 <caller organisation="org.smartfrog"
> name="sf-avalanche-gui"
> conf="test" rev="20061027"/>
>                                 <artifacts>
>                                         <artifact name="lift" type="jar"
> ext="jar" status="no" size="83804">
>                                                 <origin-location
> is-local="true"
>
> location="/home/slo/Projects/SmartFrog/Forge/core/antbuild/repository/kizoom/lift/20061027/lift-
> 20061027.jar"/>
>                                         </artifact>
>                                 </artifacts>
>                         </revision>
>                 </module>
>         </dependencies>
> </ivy-report>


usepom is only useful with ibiblio resolver. m2compatible set to true on
other resolver than ibiblio only turn on dot conversions (org.apache =>
org/apache). You need to use a specific pattern to parse poms (sg like
[module].pom instead of [module].[ext]). Somebody already reported this if I
remember correctly, but I'm not sure he opened an issue to request m2
compatible flag to also use poms as default module metadata.

Xavier

--
> Steve Loughran                  http://www.1060.org/blogxter/publish/5
> Author: Ant in Action           http://antbook.org/
>



-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://incubator.apache.org/ivy/
http://www.xoocode.org/

Reply via email to