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: profiles profile idalwaysFailProfile /id

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

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 wsm...@gmail.com wrote: A group I work with

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: 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: 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 dependency 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

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

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 handling

RE: organization name in archiva

2008-04-15 Thread Ben Lidgey
No, me too. Even the corporate pom I have uploaded to show the corporate icon etc displays the details as numbers as you describe. Is there a JIRA ticket for it? Ben -Original Message- From: Benoit Decherf [mailto:[EMAIL PROTECTED] Sent: 15 April 2008 10:32 To:

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

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. Is this

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

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 maven

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 debugging

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 you see the

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. [...] [snip] I'm not 100% certain you're

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: +44

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

Enforcer Plugin 1.0 release and requirePluginVersions rule

2008-02-11 Thread Ben Lidgey
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 Networks Limited

Archiva version missing from pages and logs

2008-02-06 Thread Ben Lidgey
something? 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 the use of the individual(s

RE: Archiva version missing from pages and logs

2008-02-06 Thread Ben Lidgey
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), and wanted to confirm the upgrade had worked, but cannot find any

RE: Error in changes:annoucement-mail goal

2008-02-04 Thread Ben Lidgey
'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: [ERROR] BUILD ERROR [INFO] -- -- [INFO] One or more required

RE: Error in changes:annoucement-mail goal

2008-02-04 Thread Ben Lidgey
' returns 'Non-existent domain'. Ben Lidgey wrote: I am getting an error when trying to do a mvn changes:announcement-mail that says: [ERROR] BUILD ERROR [INFO] -- -- [INFO] One or more required plugin parameters

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:

RE: Maven with Eclipse

2008-01-29 Thread Ben Lidgey
plugin, but for me it works a lot better... Tom Ben Lidgey schrieb: 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

Error in changes:annoucement-mail goal

2008-01-25 Thread Ben Lidgey
] [changes:announcement-generate] Which clearly shows the url defined. Any idea what is going on here? I am using mvn 2.0.7. 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

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

2008-01-23 Thread Ben Lidgey
, 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 the use

Stop/start Archiva from cron

2008-01-17 Thread Ben Lidgey
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 House Navigation Park

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

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

2008-01-14 Thread Ben Lidgey
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 artifact. Is there an issue with this? org.apache.maven.surefire:surefire

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

2008-01-14 Thread Ben Lidgey
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 On 1/14/08, Ben Lidgey [EMAIL PROTECTED] wrote: Thanks for that. How can I see what has

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

2008-01-14 Thread Ben Lidgey
it by 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 pom uses appfuse so maybe there was something

Editing roles for repositories

2007-12-11 Thread Ben Lidgey
for Repository Manager for Snapshots, with no check box in Repository Observer? 2. Why does the snapshots repository not appear for the cc user? 3. What is the difference between Guest and Registered User? Ben Lidgey Senior Software Engineer e: [EMAIL PROTECTED] Inuk Networks Limited Enterprise House