i have one project (one build.xml), that generates multiple JARs that i wish to 
publish. i can't find the right approach to this.

i've tried too many permutations to list here, but this is the latest i have 
tried ...

my two artifacts ...

    <publications>
        <artifact name="admin_common" type="jar"/>
        <artifact name="ps_util" type="jar"/>
    </publications>

and ...

        <ivy:publish resolver="private"
                     organisation="com.sun.portal"
                     module="admin"
                     revision="${PS.product.version}"
                     pubdate="${pubdate}"
                     status="integration"
                     overwrite="true"
        >
            <artifacts pattern="lib/admin_common.[ext]" />
            <artifacts pattern="lib/ps_util.[ext]" />
        </ivy:publish> 

thus publishes both of the JARs, but both as the same name, admin-7.2.jar, so 
one overwrites the other.

any ideas?



       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

Reply via email to