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
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
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
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:
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
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
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
[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
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
> -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
> -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
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
> -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
> 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
> -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
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
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
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
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
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:
> >
> > [
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
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
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:
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
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
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
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
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
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
.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
30 matches
Mail list logo