You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by parth patel <pa...@gmail.com> on 2013/01/22 10:22:40 UTC

converttopom, pom.xml to ivy.xml conversion and publication artifacts.

When I use converttopom task in Ivy to convert a pom.xml to ivy.xml, I get
default publications

<publications>
    <artifact name="XYZ" type="jar" ext="jar" conf="master"/>
</publications>

How do I modify pom.xml, so that more artifacts are added to this in
conversion. Where does converttopom pick up the artifacts from. Also, how
do I change the type?

Is it possible to override these in ivy:publish call? (It does not seem
possible to me looking at options on
http://ant.apache.org/ivy/history/2.2.0/use/publish.html)

--

Parth

Re: converttopom, pom.xml to ivy.xml conversion and publication artifacts.

Posted by marcdb <md...@gmail.com>.

parth patel wrote:
> 
> can you give me an example of such maven pom file?
> 

Actually, I never had to look at the maven pom files we converted, and I am
not so familiar with them either.
But if you google a little bit you will surely find how you can specify the
artifacts in a maven pom file.

Marc
-- 
View this message in context: http://old.nabble.com/converttopom%2C-pom.xml-to-ivy.xml-conversion-and-publication-artifacts.-tp34929765p34934180.html
Sent from the ivy-user mailing list archive at Nabble.com.


Re: converttopom, pom.xml to ivy.xml conversion and publication artifacts.

Posted by parth patel <pa...@gmail.com>.
can you give me an example of such maven pom file?


On Tue, Jan 22, 2013 at 11:07 PM, marcdb <md...@gmail.com> wrote:

>
> I don't know much about convertpom, but we are using the ivy:install task
> to
> convert pom-files from a maven repository to ivy-files. ivy:install does
> take into account all published artifacts from the pom-file.
>
> Marc
>
> --
> View this message in context:
> http://old.nabble.com/converttopom%2C-pom.xml-to-ivy.xml-conversion-and-publication-artifacts.-tp34929765p34933951.html
> Sent from the ivy-user mailing list archive at Nabble.com.
>
>


-- 

Parth Patel

Re: converttopom, pom.xml to ivy.xml conversion and publication artifacts.

Posted by marcdb <md...@gmail.com>.
I don't know much about convertpom, but we are using the ivy:install task to
convert pom-files from a maven repository to ivy-files. ivy:install does
take into account all published artifacts from the pom-file.

Marc

-- 
View this message in context: http://old.nabble.com/converttopom%2C-pom.xml-to-ivy.xml-conversion-and-publication-artifacts.-tp34929765p34933951.html
Sent from the ivy-user mailing list archive at Nabble.com.


Re: converttopom, pom.xml to ivy.xml conversion and publication artifacts.

Posted by parth patel <pa...@gmail.com>.
Correction: it is convertpom not converttopom.


On Tue, Jan 22, 2013 at 1:22 AM, parth patel <pa...@gmail.com>wrote:

>
> When I use converttopom task in Ivy to convert a pom.xml to ivy.xml, I
> get default publications
>
> <publications>
>     <artifact name="XYZ" type="jar" ext="jar" conf="master"/>
> </publications>
>
> How do I modify pom.xml, so that more artifacts are added to this in
> conversion. Where does converttopom pick up the artifacts from. Also, how
> do I change the type?
>
> Is it possible to override these in ivy:publish call? (It does not seem
> possible to me looking at options on
> http://ant.apache.org/ivy/history/2.2.0/use/publish.html)
>
> --
>
> Parth
>



-- 

Parth Patel