You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ritesh_riv <ri...@gmail.com> on 2007/02/01 10:04:56 UTC

Re: how to get jar for a parent project in Maven 2.x

can u please let me know how to do it. is it possible to create a jar from a
subproject.

Thierry Lach-2 wrote:
> 
> I would suggest creating jar A in a subproject rather than in the parent.
> 
> On 1/30/07, ritesh_riv <ri...@gmail.com> wrote:
>>
>>
>> In my project , suppose project A is parent for project B.
>> In such a case, project A packaging should be of type pom.
>> Then how can i get a jar for project A if needed.
>> I need the jar to be installed in my local repository.
>> Do i need to go and change pom.xml each and every time.
>> --
>> View this message in context:
>> http://www.nabble.com/how-to-get-jar-for-a-parent-project-in-Maven-2.x-tf3141741s177.html#a8707580
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-get-jar-for-a-parent-project-in-Maven-2.x-tf3141741s177.html#a8745010
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: how to get jar for a parent project in Maven 2.x

Posted by Thierry Lach <th...@gmail.com>.
I suggest you download "Better Builds with Maven" from
http://www.mergere.com/m2book_download.jsp and look at section 3.

On 2/1/07, ritesh_riv <ri...@gmail.com> wrote:
>
>
> can u please let me know how to do it. is it possible to create a jar from
> a
> subproject.
>
> Thierry Lach-2 wrote:
> >
> > I would suggest creating jar A in a subproject rather than in the
> parent.
> >
> > On 1/30/07, ritesh_riv <ri...@gmail.com> wrote:
> >>
> >>
> >> In my project , suppose project A is parent for project B.
> >> In such a case, project A packaging should be of type pom.
> >> Then how can i get a jar for project A if needed.
> >> I need the jar to be installed in my local repository.
> >> Do i need to go and change pom.xml each and every time.
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/how-to-get-jar-for-a-parent-project-in-Maven-2.x-tf3141741s177.html#a8707580
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/how-to-get-jar-for-a-parent-project-in-Maven-2.x-tf3141741s177.html#a8745010
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>