Re: I want Maven to fail

2010-05-28 Thread Ben Lidgey
You could use the enforcer always fail rule in a profile of its own, and then activate from the command line with something like mvn -P alwaysFailProfile enforcer:enforce or even with profile activation using properties, something like: alwaysFailProfile failure

Re: "incubating" tests

2009-12-22 Thread Ben Lidgey
Or use the excludes config of the surefire plugin to exclude those tests in an incubating phase, then when they grow up to be proper tests remove the name from the surefire plugin config. See http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html Ben On 22 Dec

Re: Deprecating and banning artifacts with repository metadata

2009-09-11 Thread Ben Lidgey
It sounds like it could be useful, but perhaps with a warning as there are maintenance projects applying bug fixes to existing projects that may not want to update older components to avoid too many changes. Ben On 10/09/2009 22:03, "Wendy Smoak" wrote: A group I work with had a requirement

RE: Maven Repository

2008-12-05 Thread Ben Lidgey
Not even through a proxy? You could always run the repository manager on your machine, and copy the stuff onto the build machine from there (either manually or automatically). Ben > -Original Message- > From: prasanna.goupal [mailto:[EMAIL PROTECTED] > Sent: 05 December 2008 10:47 > To:

RE: Maven Repository

2008-12-05 Thread Ben Lidgey
And in addition using a maven repository manager (there are several free ones) also acts as a cache, so you can automatically get updates for artifacts in the repository without having to go and sync the whole thing again (and get banned again). Ben > -Original Message- > From: [EMAIL

RE: please tell me repository

2008-10-30 Thread Ben Lidgey
In addition, sites like http://mvnrepository.com/ allow you to search for artifacts available in the repository and provide the snippet to use in the pom.xml. Ben > -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: 29 October 2008 22:29 > To: Maven Users List > S

RE: Using spring How to share jpa applicationContext.xml file with main src and test source?

2008-09-24 Thread Ben Lidgey
By default src/main/resources should be made available on the test classpath, but _after_ the src/test/resources (allowing you to override stuff for tests by putting it in the src/test/resources directory so it is found first on the classpath). If you run mvn -X test you should be able to find t

RE: [POLL] Default Value for Reports Output Encoding

2008-08-06 Thread Ben Lidgey
[a] Use UTF-8 > -Original Message- > From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] > Sent: 05 August 2008 20:43 > To: Maven Users List > Subject: [POLL] Default Value for Reports Output Encoding > > Dear community, > > The Maven team is currently discussing a proposal about the future > ha

RE: continuous integration server

2008-04-15 Thread Ben Lidgey
We are currently using CruiseControl. I know it is the Granddaddy of them all in some ways, but it seems flexible in the builds. I like the way with CC that the config can be controlled in SVN, so that if someone wanted to recreate the installation they can check it out from SVN and away they g

RE: [deploy-plugin] Abort deploy when a target is present

2008-04-02 Thread Ben Lidgey
> -Original Message- > From: Brian E. Fox [mailto:[EMAIL PROTECTED] > Sent: 27 March 2008 17:52 > To: Maven Users List > Subject: RE: [deploy-plugin] Abort deploy when a target is present > > It's done... there is a force flag to force a deploy if you > need to, otherwise it will fail. I

RE: maven appends sub-project artifactId to urls - Please help

2008-02-21 Thread Ben Lidgey
> -Original Message- > From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] > Sent: 21 February 2008 09:52 > To: Maven Users List > Subject: Re: maven appends sub-project artifactId to urls - > Please help > > Hi Jens, > > you are complaining about an essential feature of maven. > Having mav

RE: Surefire 2.4.1 classpath order

2008-02-21 Thread Ben Lidgey
I took a copy of the project POM and put it in the surefire-integration-tests directory. The tests failed. I then trawled through the project POM and then its parent POM commenting out plugins, reporting, dependencies, and other bits until the test passed. The thing that was causing the test t

RE: Surefire 2.4.1 classpath order

2008-02-19 Thread Ben Lidgey
> -Original Message- > From: Dan Fabulich [mailto:[EMAIL PROTECTED] > Sent: 18 February 2008 22:23 > To: Maven Users List > Subject: RE: Surefire 2.4.1 classpath order > [snip] > Looks like we'll need to try some more debugging. :-) > > 1) If you run mvn -X you'll see lots of useful debu

RE: Surefire 2.4.1 classpath order

2008-02-19 Thread Ben Lidgey
> From: Dan Fabulich [mailto:[EMAIL PROTECTED] > 2) Try pulling down our "classpath-order" test project here: > > http://svn.apache.org/repos/asf/maven/surefire/trunk/surefire- > integration-tests/src/test/resources/classpath-order > http://tinyurl.com/3csqca > > Run "mvn test" and confirm that y

RE: Surefire 2.4.1 classpath order

2008-02-18 Thread Ben Lidgey
> -Original Message- > From: Dan Fabulich [mailto:[EMAIL PROTECTED] > Sent: 15 February 2008 22:52 > To: Maven Users List > Subject: Re: Surefire 2.4.1 classpath order > > Ben Lidgey wrote: > > > We are running tests using Surefire 2.4.1 and Maven 2.0.8. &g

Surefire 2.4.1 classpath order

2008-02-15 Thread Ben Lidgey
would explain it. Is there anyway to get the test-classes before classes in the classpath order? Setting childDelegation to true doesn't. Ben Lidgey Senior Software Engineer e: [EMAIL PROTECTED] Inuk Networks Limited Enterprise House Navigation Park Abercynon CF45 4SN t: +44 (0)844 546 0100 f

RE: Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-12 Thread Ben Lidgey
At the moment I am looking at the Maven Enforcer Plugin, as I am working on some custom rules to support our dev process, and noticed the docs are for 1.0-SNAPSHOT which doesn't seem to be in the repository. I've not looked through the other plugins to see if they are the same. Ben > -Ori

Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-11 Thread Ben Lidgey
lugin site reflect the plugin versions that are live, with perhaps another area for plugins in development? I seem to spend time looking at plugin documentation and configuring poms only to find some features aren't out yet. Ben Lidgey Senior Software Engineer e: [EMAIL PROTECTED] Inuk Networ

RE: Archiva version missing from pages and logs

2008-02-06 Thread Ben Lidgey
15:42 > To: [EMAIL PROTECTED] > Subject: Re: Archiva version missing from pages and logs > > On Feb 6, 2008 7:44 AM, Ben Lidgey > <[EMAIL PROTECTED]> wrote: > > > > I have just upgraded to Archiva 1.0.1 I think (deployed as > a war file > > on tomcat), an

RE: Error in changes:annoucement-mail goal

2008-02-04 Thread Ben Lidgey
2.0-beta-3 correctly. > > 2. Is the URL really valid? Running 'nslookup dev1.wa' > returns 'Non-existent domain'. > > Ben Lidgey wrote: > > I am getting an error when trying to do a "mvn > changes:announcement-mail" that says: > > > > [

RE: Error in changes:annoucement-mail goal

2008-02-04 Thread Ben Lidgey
ave configured the version > 2.0-beta-3 correctly. > > 2. Is the URL really valid? Running 'nslookup dev1.wa' > returns 'Non-existent domain'. > > Ben Lidgey wrote: > > I am getting

RE: Maven with Eclipse

2008-01-29 Thread Ben Lidgey
ou could try > > > > http://code.google.com/p/q4e/ > > > > Other maven plugin, not as well known as mevenide or > M2Eclipse plugin, > > but for me it works a lot better... > > > > Tom > > > > Ben Lidgey schrieb: > > > > > Ther

RE: Maven with Eclipse

2008-01-29 Thread Ben Lidgey
There is a newer version of the M2Eclipse plugin (0.0.12) which might make a difference. Also, there are settings in Eclipse to control the highlighting (see Windows-Preferences-Java-Editor and see if the "Report problems as you type" box is checked). Ben > -Original Message- > From:

Error in changes:annoucement-mail goal

2008-01-25 Thread Ben Lidgey
erviceProject/ [DEBUG] (s) version = 1.0.4-SNAPSHOT [DEBUG] (s) xmlPath = c:\Development\Projects\utils\InukPlatform2ParentServiceProject/src/changes/changes.xml [DEBUG] -- end configuration -- [INFO] [changes:announcement-generate] Which clearly shows the url defined. Any idea what is goi

How can I fail a build if a tag already exists?

2008-01-23 Thread Ben Lidgey
xists, then the maven build run afterwards. Ben Lidgey Senior Software Engineer e: [EMAIL PROTECTED] Inuk Networks Limited Enterprise House Navigation Park Abercynon CF45 4SN t: +44 (0)844 546 0100 f: +44 (0)844 546 0200 w: www.inuknetworks.com This e-mail is confidential and intended solely for th

Stop/start Archiva from cron

2008-01-17 Thread Ben Lidgey
I am stumped to see why the stop works, but the start doesn't. Does anyone have any ideas or ideas on how I can get more info in the wrapper*.log file to see what file/directory cannot be found? Ben Lidgey Senior Software Engineer e: [EMAIL PROTECTED] Inuk Networks Limited Enterprise Hous

RE: Is there a problem with surefire-junit-2.4?

2008-01-14 Thread Ben Lidgey
specifying the surefire version for now. Thanks for all the help, Ben > -Original Message- > From: Ben Lidgey > Sent: 14 January 2008 16:20 > To: 'Maven Users List' > Subject: RE: Is there a problem with surefire-junit-2.4? > > > The particular p

RE: Is there a problem with surefire-junit-2.4?

2008-01-14 Thread Ben Lidgey
ur build. Since released plugins etc cannot depend > on SNAPSHOTs, its hard to say where you're getting this from. > > Also, you should probably add a dependency to > surefire-junit-2.3 to your pom for now, unless you require > something in 2.4. > > Wayne > > O

RE: Is there a problem with surefire-junit-2.4?

2008-01-14 Thread Ben Lidgey
rs List > Cc: Ben Lidgey > Subject: Re: Is there a problem with surefire-junit-2.4? > > Ben Lidgey <[EMAIL PROTECTED]> schrieb: > > Some of our builds here have started failing today as it is > unable to download surefire-junit-2.4-SNAPSHOT

Is there a problem with surefire-junit-2.4?

2008-01-14 Thread Ben Lidgey
.maven.org/maven2), appfuse (http://static.appfuse.org/repository) Ben Lidgey Senior Software Engineer e: [EMAIL PROTECTED] Inuk Networks Limited Enterprise House Navigation Park Abercynon CF45 4SN t: +44 (0)844 546 0100 f: +44 (0)844 546 0200 w: www.inuknetworks.com This e-mail is confidential