Re: Special URL characters

2009-03-10 Thread Lance Java
pom.xml is xml, you need to escape your "&" symbols with "&" 2009/3/10 solo1970 > > Hello All, > > I would like to put the following URL: > > > http://local.mysite/pub/get?Type=19010-TEST9040044/1&Lang=X&Rev=1&Format=GZIP > in the tags of my POM, > but I get the following error: > > [INFO] Scan

Eclipse: Ignore "target" folders from ctrl + shft + r

2009-01-23 Thread Lance Java
I just found this little trick and thought i'd share -- Sometimes when using eclipse I need to jump to a file. I press CTRL-SHFT-R to pop up the resource. However most of the time I end up editing a copy of the file in a build folder. The solution to this problem

Read pom properties from a custom location

2009-01-22 Thread Lance Java
I'd like to read POM properties from a custom file if it exists. ie: i'd like to read from pom.properties and pom-${user.name}.properties I can't see any examples on the web of how to do this. Cheers, Lance.

Re: Clue bits for sale?

2008-04-02 Thread Lance Java
I found this very useful and I'm a maven newbie... it has great examples. http://code.google.com/p/opencookbook/downloads/detail?name=BetterBuildsWithMaven.pdf&can=2&q= On 02/04/2008, Brian E. Fox <[EMAIL PROTECTED]> wrote: > > Which is available in alpha form here: http://www.sonatype.com/book >

Re: [M2] Globally exclude sub dependencies

2008-03-26 Thread Lance Java
Yep, thanks... call it what you like but when it's in a tag, i tend to call it a dependency :) Cheer, Lance. On 26/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Lance Java schrieb: > > > Ah... got ya... > > Add a log4j dependency to my project

Re: [M2] Globally exclude sub dependencies

2008-03-26 Thread Lance Java
re-declaration of log4j/provided as > "overriding" the log4j/compile in artifactA. > > > Wayne > > On 3/26/08, Lance Java <[EMAIL PROTECTED]> wrote: > > > I'm not sure if you understand. > > artifactA is required so I specify a scope of "compile&

Re: [M2] Globally exclude sub dependencies

2008-03-26 Thread Lance Java
I'm not sure if you understand. artifactA is required so I specify a scope of "compile" Since artifactA depends on log4j, it automagically brings that into the jar too which I don't want. On 26/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Lance Jav

[M2] Globally exclude sub dependencies

2008-03-26 Thread Lance Java
Hi, I'm a maven newbie and want to globally exclude sub dependencies from being built into my war. Lets say my war depends on artifactA and artifactB with a scope of compile. artifactA depends on log4j artifactB depends on the servlet api I want to include artifactA and artifactB in the war but d