You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2008/03/29 15:43:35 UTC

maven newbie needs help.

Hi,

I'd like to do something like this:

1. create a jar file that contains all dependencies of my project
2. create a jar file that contains only project specific classes and other
files.
3. I can run the jar file created in #2 with the lib jar file in #1.

any idea how to do this with maven? thanks.

Angelo


-- 
View this message in context: http://www.nabble.com/maven-newbie-needs-help.-tp16370674s177p16370674.html
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: maven newbie needs help.

Posted by Mick Knutson <mi...@gmail.com>.
For #1, What do you mean about dependancies? Do you mean jar's inside this
jar?

On Sat, Mar 29, 2008 at 7:17 AM, Urooj Khan <ur...@gmail.com> wrote:

> i think assembly-plugin might work too
>
>
>
> On Sat, Mar 29, 2008 at 11:04 AM, Mick Knutson <mi...@gmail.com>
> wrote:
>
> > Have you looked at uberjar?
> > http://maven.apache.org/maven-1.x/plugins/uberjar/
> >
> > On Sat, Mar 29, 2008 at 6:43 AM, Angelo Chen <angelochen960@yahoo.com.hk
> >
> > wrote:
> >
> > >
> > > Hi,
> > >
> > > I'd like to do something like this:
> > >
> > > 1. create a jar file that contains all dependencies of my project
> > > 2. create a jar file that contains only project specific classes and
> > other
> > > files.
> > > 3. I can run the jar file created in #2 with the lib jar file in #1.
> > >
> > > any idea how to do this with maven? thanks.
> > >
> > > Angelo
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://www.nabble.com/maven-newbie-needs-help.-tp16370674s177p16370674.html
> > > 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
> > >
> > >
> >
> >
> > --
> > Thanks,
> > Mick Knutson
> >
> > http://www.baselogic.com
> > http://www.blincmagazine.com
> > http://www.linkedin.com/in/mickknutson
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
> > http://www.myspace.com/BLiNCMagazine
> > http://tahoe.baselogic.com
> > ---
> >
>
>
>
> --
> Urooj Khan
>



-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.linkedin.com/in/mickknutson
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---

Re: maven newbie needs help.

Posted by Urooj Khan <ur...@gmail.com>.
i think assembly-plugin might work too



On Sat, Mar 29, 2008 at 11:04 AM, Mick Knutson <mi...@gmail.com>
wrote:

> Have you looked at uberjar?
> http://maven.apache.org/maven-1.x/plugins/uberjar/
>
> On Sat, Mar 29, 2008 at 6:43 AM, Angelo Chen <an...@yahoo.com.hk>
> wrote:
>
> >
> > Hi,
> >
> > I'd like to do something like this:
> >
> > 1. create a jar file that contains all dependencies of my project
> > 2. create a jar file that contains only project specific classes and
> other
> > files.
> > 3. I can run the jar file created in #2 with the lib jar file in #1.
> >
> > any idea how to do this with maven? thanks.
> >
> > Angelo
> >
> >
> > --
> > View this message in context:
> >
> http://www.nabble.com/maven-newbie-needs-help.-tp16370674s177p16370674.html
> > 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
> >
> >
>
>
> --
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.linkedin.com/in/mickknutson
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
>



-- 
Urooj Khan

Re: maven newbie needs help.

Posted by Mick Knutson <mi...@gmail.com>.
Have you looked at uberjar?
http://maven.apache.org/maven-1.x/plugins/uberjar/

On Sat, Mar 29, 2008 at 6:43 AM, Angelo Chen <an...@yahoo.com.hk>
wrote:

>
> Hi,
>
> I'd like to do something like this:
>
> 1. create a jar file that contains all dependencies of my project
> 2. create a jar file that contains only project specific classes and other
> files.
> 3. I can run the jar file created in #2 with the lib jar file in #1.
>
> any idea how to do this with maven? thanks.
>
> Angelo
>
>
> --
> View this message in context:
> http://www.nabble.com/maven-newbie-needs-help.-tp16370674s177p16370674.html
> 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
>
>


-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.linkedin.com/in/mickknutson
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---