Folks,
The surefire plugin currently supports automatically searching for unit
testing classes from a directory.
I was wondering if there is way for it to search for unit tests from a set
of jar files instead of a directory. ie., a mechanism where I can specify a
regex pattern for the package
I think if you unpack all those JARs into test-classes it will work.
Alternatively you can write test suites that execute the tests from
the JARs without modification to the POM.
There isn't an option to run them directly from the JAR to my knowledge.
- Brett
On 21/03/2009, at 7:53 AM,
I thought the test-jar packaging was supposed to make this work
of course I have not been able to get it to work
I've been thinking it's because my tests are all JUnit 4.4 and not 3.8.2...
but maybe it's just that surefire does not look inside test-jar dependencies
-Stephen
2009/3/21
Hi Felipe,
IIRC it does as long as you call the archetype plugin from inside the
parent directory and that parent is of packaging pom.
The archetype should have no parent defined inside it in order to the
plugin adding one to the new module.
Regards,
Raphaël
2009/3/20 Felipe Kamakura
Hi,
is there a maven plugin that provides a in-depth check of the java class
version in a generated artifact, e.g. a war file?
Assume a deployment environment using jdk 1.4. Developers work on java 6. The
deployment should fail, if any java class has a class version 48 (48 is the
version for
I think this was asked on the list last week, or recently anyway. The
poster was pointed at https://animal-sniffer.dev.java.net/ .
Brett
On Sun, Mar 22, 2009 at 6:43 AM, Stefan Armbruster
ml...@armbruster-it.dewrote:
Hi,
is there a maven plugin that provides a in-depth check of the java
google is your friend animal sniffer Kohsuke
Sent from my [rhymes with myPod] ;-)
On 21 Mar 2009, at 19:43, Stefan Armbruster ml...@armbruster-it.de
wrote:
Hi,
is there a maven plugin that provides a in-depth check of the java
class
version in a generated artifact, e.g. a war file?
This smells for me like some new rule for enforcer...
~t~
On Sun, Mar 22, 2009 at 12:20 AM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
google is your friend animal sniffer Kohsuke
Sent from my [rhymes with myPod] ;-)
On 21 Mar 2009, at 19:43, Stefan Armbruster
The Maven team is pleased to announce the release of Maven 2.1.0.
Maven is a software project management and comprehension tool. Based on
the concept of a project object model (POM), Maven can manage a
project's build, reporting and documentation from a central piece of
information.
You can
Well- I did not try yet this part, but I was not sure how it can be done?
For a specific dependency that you used to compile- how can you tell the
maven to also copy the third party, and how do you configure the target
location?
Thanks
Eyal
Wayne Fay wrote:
I am need to know how can I
Well, rather obviously you either rename usr/bin/mvn to something else or
put $MAVEN_HOME/bin before /usr/bin in your PATH.
Kalle
On Sat, Mar 21, 2009 at 9:51 PM, Unnsse Khan untzk...@gmail.com wrote:
Hello there,
I installed Maven (by building the source) awhile ago on my OS X Leopard
11 matches
Mail list logo