You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lahiru Gunathilake <gl...@gmail.com> on 2010/05/05 07:36:32 UTC
Ignoring distributionmanagement repositories and use only the
settings.xml repository list to upload artifacts
Hi all,
I have tons of pom files in my project and each file is having its own maven
repository listed in their distributionmanagement elements, so I want to use
a single repo to do the mvn deploy and point my repository using
settings.xml file.
I like to know whether this is possible with maven 2.1.0 or not, if this is
possible can someone please point me on how to do that !
Thanks in advance
Lahiru
--
Apache Qpid, Worlds dominant messaging middleware..!!!
Senior Software Engineer
WSO2 Inc
Re: Ignoring distributionmanagement repositories and use only the
settings.xml repository list to upload artifacts
Posted by Jemos Infra <je...@googlemail.com>.
You can create a super-parent POM, which defines only the distribution
repositories. This is very unlikely to change therefore having all your
projects to extend this one should be relatively safe.
M.
On Fri, 2010-05-07 at 05:00 +0530, Lahiru Gunathilake wrote:
> Hi Ron,
>
> In my case I have so many modules which are having so many parent poms :(
>
> Lahiru
> On Wed, May 5, 2010 at 5:24 PM, Ron Wheeler
> <rw...@artifact-software.com>wrote:
>
> > On 05/05/2010 1:36 AM, Lahiru Gunathilake wrote:
> >
> >> Hi all,
> >>
> >> I have tons of pom files in my project and each file is having its own
> >> maven
> >> repository listed in their distributionmanagement elements, so I want to
> >> use
> >> a single repo to do the mvn deploy and point my repository using
> >> settings.xml file.
> >>
> >> I like to know whether this is possible with maven 2.1.0 or not, if this
> >> is
> >> possible can someone please point me on how to do that !
> >>
> >> Thanks in advance
> >> Lahiru
> >>
> >>
> >>
> > Wouldn't that be easier in a parent pom?
> > The project poms would not have any distribution management which makes
> > them a lot simpler.
> >
> > Ron
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Ignoring distributionmanagement repositories and use only the
settings.xml repository list to upload artifacts
Posted by Jemos Infra <je...@googlemail.com>.
No, you can run deploy from any child project. <meta> information, such
as dependencymanagement and distributionmanagement elements are just
meta-data. Children inherit those information as these were declared in
their POM.
M.
On Fri, 2010-05-07 at 05:38 +0530, Lahiru Gunathilake wrote:
> Yeah got it ... thanks guys, so that I can simply run a mvn deploy from the
> super parent location.
>
>
> Lahiru
>
> On Fri, May 7, 2010 at 5:31 AM, Martin Gainty <mg...@hotmail.com> wrote:
>
> >
> > all child project poms have one parent pom which identifies the common
> > repository
> >
> > Martin Gainty
> > ______________________________________________
> > Verzicht und Vertraulichkeitanmerkung
> >
> > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> > dient lediglich dem Austausch von Informationen und entfaltet keine
> > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> >
> >
> >
> >
> >
> >
> > > Date: Fri, 7 May 2010 05:00:38 +0530
> > > Subject: Re: Ignoring distributionmanagement repositories and use only
> > the settings.xml repository list to upload artifacts
> > > From: glahiru@gmail.com
> > > To: users@maven.apache.org
> > >
> > > Hi Ron,
> > >
> > > In my case I have so many modules which are having so many parent poms
> > :(
> > >
> > > Lahiru
> > > On Wed, May 5, 2010 at 5:24 PM, Ron Wheeler
> > > <rw...@artifact-software.com>wrote:
> > >
> > > > On 05/05/2010 1:36 AM, Lahiru Gunathilake wrote:
> > > >
> > > >> Hi all,
> > > >>
> > > >> I have tons of pom files in my project and each file is having its own
> > > >> maven
> > > >> repository listed in their distributionmanagement elements, so I want
> > to
> > > >> use
> > > >> a single repo to do the mvn deploy and point my repository using
> > > >> settings.xml file.
> > > >>
> > > >> I like to know whether this is possible with maven 2.1.0 or not, if
> > this
> > > >> is
> > > >> possible can someone please point me on how to do that !
> > > >>
> > > >> Thanks in advance
> > > >> Lahiru
> > > >>
> > > >>
> > > >>
> > > > Wouldn't that be easier in a parent pom?
> > > > The project poms would not have any distribution management which makes
> > > > them a lot simpler.
> > > >
> > > > Ron
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Apache Qpid, Worlds dominant messaging middleware..!!!
> > >
> > > Senior Software Engineer
> > > WSO2 Inc
> >
> > _________________________________________________________________
> > The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with
> > Hotmail.
> >
> > http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
> >
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Ignoring distributionmanagement repositories and use only the
settings.xml repository list to upload artifacts
Posted by Lahiru Gunathilake <gl...@gmail.com>.
Yeah got it ... thanks guys, so that I can simply run a mvn deploy from the
super parent location.
Lahiru
On Fri, May 7, 2010 at 5:31 AM, Martin Gainty <mg...@hotmail.com> wrote:
>
> all child project poms have one parent pom which identifies the common
> repository
>
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>
>
>
>
>
>
> > Date: Fri, 7 May 2010 05:00:38 +0530
> > Subject: Re: Ignoring distributionmanagement repositories and use only
> the settings.xml repository list to upload artifacts
> > From: glahiru@gmail.com
> > To: users@maven.apache.org
> >
> > Hi Ron,
> >
> > In my case I have so many modules which are having so many parent poms
> :(
> >
> > Lahiru
> > On Wed, May 5, 2010 at 5:24 PM, Ron Wheeler
> > <rw...@artifact-software.com>wrote:
> >
> > > On 05/05/2010 1:36 AM, Lahiru Gunathilake wrote:
> > >
> > >> Hi all,
> > >>
> > >> I have tons of pom files in my project and each file is having its own
> > >> maven
> > >> repository listed in their distributionmanagement elements, so I want
> to
> > >> use
> > >> a single repo to do the mvn deploy and point my repository using
> > >> settings.xml file.
> > >>
> > >> I like to know whether this is possible with maven 2.1.0 or not, if
> this
> > >> is
> > >> possible can someone please point me on how to do that !
> > >>
> > >> Thanks in advance
> > >> Lahiru
> > >>
> > >>
> > >>
> > > Wouldn't that be easier in a parent pom?
> > > The project poms would not have any distribution management which makes
> > > them a lot simpler.
> > >
> > > Ron
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > Apache Qpid, Worlds dominant messaging middleware..!!!
> >
> > Senior Software Engineer
> > WSO2 Inc
>
> _________________________________________________________________
> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with
> Hotmail.
>
> http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
>
--
Apache Qpid, Worlds dominant messaging middleware..!!!
Senior Software Engineer
WSO2 Inc
RE: Ignoring distributionmanagement repositories and use only the
settings.xml repository list to upload artifacts
Posted by Martin Gainty <mg...@hotmail.com>.
all child project poms have one parent pom which identifies the common repository
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Date: Fri, 7 May 2010 05:00:38 +0530
> Subject: Re: Ignoring distributionmanagement repositories and use only the settings.xml repository list to upload artifacts
> From: glahiru@gmail.com
> To: users@maven.apache.org
>
> Hi Ron,
>
> In my case I have so many modules which are having so many parent poms :(
>
> Lahiru
> On Wed, May 5, 2010 at 5:24 PM, Ron Wheeler
> <rw...@artifact-software.com>wrote:
>
> > On 05/05/2010 1:36 AM, Lahiru Gunathilake wrote:
> >
> >> Hi all,
> >>
> >> I have tons of pom files in my project and each file is having its own
> >> maven
> >> repository listed in their distributionmanagement elements, so I want to
> >> use
> >> a single repo to do the mvn deploy and point my repository using
> >> settings.xml file.
> >>
> >> I like to know whether this is possible with maven 2.1.0 or not, if this
> >> is
> >> possible can someone please point me on how to do that !
> >>
> >> Thanks in advance
> >> Lahiru
> >>
> >>
> >>
> > Wouldn't that be easier in a parent pom?
> > The project poms would not have any distribution management which makes
> > them a lot simpler.
> >
> > Ron
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> Apache Qpid, Worlds dominant messaging middleware..!!!
>
> Senior Software Engineer
> WSO2 Inc
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
Re: Ignoring distributionmanagement repositories and use only the
settings.xml repository list to upload artifacts
Posted by Lahiru Gunathilake <gl...@gmail.com>.
Hi Ron,
In my case I have so many modules which are having so many parent poms :(
Lahiru
On Wed, May 5, 2010 at 5:24 PM, Ron Wheeler
<rw...@artifact-software.com>wrote:
> On 05/05/2010 1:36 AM, Lahiru Gunathilake wrote:
>
>> Hi all,
>>
>> I have tons of pom files in my project and each file is having its own
>> maven
>> repository listed in their distributionmanagement elements, so I want to
>> use
>> a single repo to do the mvn deploy and point my repository using
>> settings.xml file.
>>
>> I like to know whether this is possible with maven 2.1.0 or not, if this
>> is
>> possible can someone please point me on how to do that !
>>
>> Thanks in advance
>> Lahiru
>>
>>
>>
> Wouldn't that be easier in a parent pom?
> The project poms would not have any distribution management which makes
> them a lot simpler.
>
> Ron
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Apache Qpid, Worlds dominant messaging middleware..!!!
Senior Software Engineer
WSO2 Inc
Re: Ignoring distributionmanagement repositories and use only the
settings.xml repository list to upload artifacts
Posted by Ron Wheeler <rw...@artifact-software.com>.
On 05/05/2010 1:36 AM, Lahiru Gunathilake wrote:
> Hi all,
>
> I have tons of pom files in my project and each file is having its own maven
> repository listed in their distributionmanagement elements, so I want to use
> a single repo to do the mvn deploy and point my repository using
> settings.xml file.
>
> I like to know whether this is possible with maven 2.1.0 or not, if this is
> possible can someone please point me on how to do that !
>
> Thanks in advance
> Lahiru
>
>
Wouldn't that be easier in a parent pom?
The project poms would not have any distribution management which makes
them a lot simpler.
Ron
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org