RE: Config.jar project dependency

2009-10-19 Thread Edelson, Justin
al Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Monday, October 19, 2009 5:45 PM To: users@maven.apache.org Subject: RE: Config.jar project dependency ok up until i saw httpa and httpb?..as enjoyable as trying to convert a 10 year old unix makefile with no comments how about u

RE: Config.jar project dependency

2009-10-19 Thread Martin Gainty
ous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 19 Oct 2009 21:30:16 +0200 > Subject: Re: Config.jar project dependency > From: and...@hammar.net > To: users@maven.apache.org > > I would say that most of the time when you start thinking about

RE: Config.jar project dependency

2009-10-19 Thread Edelson, Justin
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: Monday, October 19, 2009 3:30 PM To: Maven Users List Subject: Re: Config.jar project dependency I would say that most of the time when you start thinking about using classifiers, you should think again. The Ja

Re: Config.jar project dependency

2009-10-19 Thread Quintin Beukes
> I believe you're with me on this but I wanted to firmly state this as there > are some very bad examples of classifiers usage. Have a look at this and > weep: > http://repository.jboss.org/maven2/org/jboss/jbossas/jboss-as-varia/5.1.0.GA/ > [silence]

Re: Config.jar project dependency

2009-10-19 Thread Anders Hammar
I would say that most of the time when you start thinking about using classifiers, you should think again. The Javadoc and sources cases are good examples of when classifiers are the way to go, but I've seen some very ugly cases where people try to go about the original issue with bad Maven design

Re: Config.jar project dependency

2009-10-19 Thread Quintin Beukes
The examples are perfect. Thanks. > I think Todd answered your second question already. One gotcha - there's > only one pom, so you can't have different dependencies per classified > artifact. This can be worked around with excludes in the downstream > project, but if you run into this repeatedly

RE: Config.jar project dependency

2009-10-19 Thread Edelson, Justin
in Beukes [mailto:quin...@skywalk.co.za] Sent: Monday, October 19, 2009 2:48 PM To: Maven Users List Subject: Re: Config.jar project dependency >> OK, firstly you can only produce one artifact per POM. > This is not true. A POM has one GAV, but you can produce multiple artifacts with dif

Re: Config.jar project dependency

2009-10-19 Thread Quintin Beukes
\classifer> > > or > >  a.b.c >  abc >  1.0 >  jdk1.5<\classifer> > > --- > Todd Thiessen > > >> -Original Message- >> From: Quintin Beukes [mailto:quin...@skywalk.co.za] >> Sent: Monday, October 19, 2009 2:48 PM >> To: Maven

RE: Config.jar project dependency

2009-10-19 Thread Todd Thiessen
om: Quintin Beukes [mailto:quin...@skywalk.co.za] > Sent: Monday, October 19, 2009 2:48 PM > To: Maven Users List > Subject: Re: Config.jar project dependency > > >> OK, firstly you can only produce one artifact per POM. > > This is not true. A POM has one GAV, but you can

Re: Config.jar project dependency

2009-10-19 Thread Quintin Beukes
>> OK, firstly you can only produce one artifact per POM. > This is not true. A POM has one GAV, but you can produce multiple artifacts > with different classifiers. For example, most Java projects using the release > plugin will have a source JAR file produced from the same POM and codebase. >

RE: Config.jar project dependency

2009-10-19 Thread Edelson, Justin
Quintin Beukes wrote: > OK, firstly you can only produce one artifact per POM. This is not true. A POM has one GAV, but you can produce multiple artifacts with different classifiers. For example, most Java projects using the release plugin will have a source JAR file produced from the same POM an

Re: Config.jar project dependency

2009-10-18 Thread Quintin Beukes
gt;  |-mibs > > So to save my self time I used to have ant script that jared configuration > into config.jar. Afterwords I could run application locally and also deploy > everything to remote server. > > Now I'm trying to use maven as primary build tool. > > -- > View thi

Re: Config.jar project dependency

2009-10-18 Thread _MS_
ge in context: http://www.nabble.com/Config.jar-project-dependency-tp25939781p25946570.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional com

Re: Config.jar project dependency

2009-10-18 Thread Quintin Beukes
; >> PS using new project just for configuration doesn't work for me. >> >> Any suggestions are more then welcome. Thnx. >> >> -- >> View this message in context: >> http://www.nabble.com/Config.jar-project-dependency-tp25939781p25946335.html >>

Re: Config.jar project dependency

2009-10-18 Thread Quintin Beukes
doesn't work for me. > > Any suggestions are more then welcome. Thnx. > > -- > View this message in context: > http://www.nabble.com/Config.jar-project-dependency-tp25939781p25946335.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --

Re: Config.jar project dependency

2009-10-18 Thread _MS_
oject just for configuration doesn't work for me. Any suggestions are more then welcome. Thnx. -- View this message in context: http://www.nabble.com/Config.jar-project-dependency-tp25939781p25946335.html Sent from the Maven - Users mailing list archive at

Re: Config.jar project dependency

2009-10-18 Thread Quintin Beukes
> project1 >>  |- >>  |-config.jar >> >> lib-project2 >> >> project1 depends on lib-project2. Lib project loads configuration from >> classpath. >> >> >> -- >> View this message in context: >> http://www.nabble.com/Config.j

Re: Config.jar project dependency

2009-10-18 Thread Anders Hammar
ar > > lib-project2 > > project1 depends on lib-project2. Lib project loads configuration from > classpath. > > > -- > View this message in context: > http://www.nabble.com/Config.jar-project-dependency-tp25939781p2

Config.jar project dependency

2009-10-17 Thread _MS_
-project2 project1 depends on lib-project2. Lib project loads configuration from classpath. -- View this message in context: http://www.nabble.com/Config.jar-project-dependency-tp25939781p25939781.html Sent from the Maven - Users mailing list archive at Nabble.com