Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-20 Thread bgik
Hi Maybe i should add some clarification. We don't use Jenkins, so my issue was related purely to the fact classes under src/main in my module failed to compile using mvn release:perform, meaning classes under src/test then failed with missing symbols. Increasing the heap size worked for the 3

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-19 Thread bgik
I saw the same issue this week. It appeared after a colleague merged in a large piece of work from a branch. The remedy for us was to increase the heap size used by maven by setting MAVEN_OPTS. So i suspect it's caused by some 'silent' OutOfMemory error. If you havent tried this, trying

Re: Have maven stop compilation when some rule is broken

2009-05-19 Thread bgik
, bgik bruce_ki...@hotmail.com wrote: Hi I have a 3rd party lib that i have no control over. In my env it makes no sense to create 2 instances of a given class from this lib, in fact it may cause issues, so i have updated my codebase to wrap one in a singleton. Going forward there's nothing

Re: Have maven stop compilation when some rule is broken

2009-05-19 Thread bgik
/execution /executions /plugin thanks Bruce bgik wrote: Hi Brian Thanks for the swift reply. I'll take a look at this. much appreciated BRIAN FOX-5 wrote: The maven-enforcer-plugin is well suited for this. You could use one of the existing rules, perhaps the failIfFileExists or easily

Have maven stop compilation when some rule is broken

2009-05-18 Thread bgik
Hi I have a 3rd party lib that i have no control over. In my env it makes no sense to create 2 instances of a given class from this lib, in fact it may cause issues, so i have updated my codebase to wrap one in a singleton. Going forward there's nothing to stop anyone creating another one

spaces in java.library.path in pom.xml

2007-08-16 Thread bgik
Hi All Although this must be a common problem I can't find a satisfactory answer anywhere. I am looking to run junits using the surefire plug in. These junits rely on a dll so I am supplying the location of this dll in my pom.xml as follows plugin