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
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
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
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
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:
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
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
[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
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:
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
-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
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
-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
-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
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
-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
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
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
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
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
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
'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
'
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
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:
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
] [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
, 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
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
.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
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
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
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
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
33 matches
Mail list logo