Hi all,
TestNG accepts a command line argument called "testnames" that specifies
the name of the tests from the testing.xml to be executed.
(http://testng.org/doc/documentation-main.html)
Currently, I have a requirement to control which tests are to be
executed from a testing.xml file when e
Hi all,
I am executing a plugin's goal directly through the maven command. It is
executed as follows:
mvn clover2:setup ( which executes the setup goal of the clover2 plugin)
However, I want another plugin's goal to be executed before the
clover2:setup goal is executed which I have to men
Hi all,
When we dont specify the version of a plugin to be downloaded in our
pom, does maven default to the latest version of the plugin that is
available ? Precisely, i am using the maven surefire plugin in my
projects and want to know if the latest will be downloaded if i dont
specify the versio
Hi all,
I am creating eclipse projects using the maven eclipse plugin. However,
i need to add an additional linked resource to the project that the
plugin creates. Is there a way to do this ? To be specific, i want the
following to be added to all the eclipse projects that the plugin
creates: (und
execution-level configuration blocks that pass in system properties via
surefire.
There may be a more elegant solution out there, but this should work
relatively well...
HTH,
-john
Balasubramanian, Ravi Shankar wrote:
> Hi all,
> I sent this earlier and can someone please tell me if there is a
Hi all,
I sent this earlier and can someone please tell me if there is any way
to do this ?
Thanks,
Ravi
Hi all,
I am facing a situation where i need to iterate through (or build ) the
same maven projects depending upon the list of active profiles. To be
precise, we run some tests (testNG thro
Hi all,
I am facing a situation where i need to iterate through (or build ) the
same maven projects depending upon the list of active profiles. To be
precise, we run some tests (testNG through the maven surefire plugin)
against a database and i need a way to run the tests against different
databas
Hi all,
My projects are organized in a standard way with a top level pom that
lists out the general dependencies and versions to be used for all the
child projects that would inherit from it. However, i am facing a
situation where i need a different version of a particular dependency in
a particul
Hi all,
I need a way in maven (using the surefire-plugin) to run all tests
in a project ignoring any test failures that might occur. All my tests
are independent of each other and i want all the tests to be run
ignoring any failures that might happen in the middle.
Note:
1. I tried using
Hi,
The master pom in this case need not be installed in the repository. You
can use the relativePath element under the parent tag to point to your
master pom. Something like as follows:
...
..
../(CORRECT_RELATIVE_PATH_TO_WHERE_YOUR_MASTER_POM_EXISTS<
/relativePath>
This does not require that y
/testCompile-mojo.h
tml
Balasubramanian, Ravi Shankar schrieb:
> Hi all,
>
> I am working with maven 2.0.4 and my requirement is as follows:
>
> I have all my test source files in the same directory and all my maven
> projects' points to this directory where all the
> source
Hi all,
I am working with maven 2.0.4 and my requirement is as follows:
I have all my test source files in the same directory and all my maven
projects' points to this directory where all the
source files are available. For a particular maven project, I want to be
excluding a specific source fil
Try using this plugin:
http://individual.utoronto.ca/zarar/properties-maven-plugin/site/introdu
ction.html
Regards,
Ravi
-Original Message-
From: Depthblue [mailto:[EMAIL PROTECTED]
Sent: Monday, April 23, 2007 4:13 PM
To: users@maven.apache.org
Subject: Loading property from specific fil
il 19, 2007 9:37 PM
To: Maven Users List
Subject: Re: Starting a new java process from within a test case is
hanging the maven JVM
On 4/19/07, Balasubramanian, Ravi Shankar <[EMAIL PROTECTED]>
wrote:
> Hi all,
> I did work on this and found that maven's java process is not waitin
s in it's main method and verified
if the main class exits. It does exit and only when I run it through a
test case in maven, the maven's java process is not exiting.
Regards,
Ravi
-Original Message-
From: Balasubramanian, Ravi Shankar
Sent: Tuesday, April 17, 2007 5:29 PM
To: Maven
ards,
Ravi
-Original Message-----
From: Balasubramanian, Ravi Shankar
Sent: Tuesday, April 17, 2007 5:29 PM
To: Maven Users List
Subject: Starting a new java process from within a test case is hanging
the maven JVM
Hi all,
We use maven-surefire-plugin to run our testng test cases. I encountered
a pro
Hi all,
We use maven-surefire-plugin to run our testng test cases. I encountered
a problem where in the maven VM is hanging when one of the test cases
start a separate java process from within it using the java
ProcessBuilder class(which I think is inconsequential here). What I am
doing in the tes
You can add the corresponding directory as a resource in your pom as
follows:
"
src/main/resources
src/main/java
whatever/d
Hi all,
I have posted this before and have not got a solution for this. My
requirement is to have some name,value pairs defined in external
properties file like "username.properies" in the local drive and my
pom.xml would be wanting the values for those parameters substituted in
them. Something li
Hi all,
I have been hitting this issue for quite sometime and have no idea why
this is happening. Whenever I do a maven build, after cleaning up my
local repository, maven is not able to download certain artifacts on
which I am indirectly/transitively/directly dependent on. This only
happens with
Hi,
I am using maven 2.0.4 and I want to be excluding certain modules while
building my project in a certain profile. Following is the scenarion:
This is how my main pom looks like:
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schema
.
Just curious, why do you want to do that?
If you do that, how do you reproduce your deployed artifact? since your
settings.xml change over time.
-D
On 1/21/07, Balasubramanian, Ravi Shankar <[EMAIL PROTECTED]>
wrote:
>
> Hi,
> I just want to be running "mvn install&qu
: Saturday, January 20, 2007 3:31 PM
To: Maven Users List
Subject: Re: Using of properties from settings.xml
I think you need go thru release process to deploy ( ie
maven-release-plugin) so that
the expression can be replaced. It does not do so in deploy-plugin
-D
On 1/20/07, Balasubrama
Hi all,
I am using values of properties defined in my settings.xml file into my
pom.xml. For instance, I have parameterized the version for m project
dependencies in the settings.xml with a property called
"project.version". I am using this property in my pom.xml as follows:
Add the required directory as a resource in your pom.xml file.
Eg:
src/main/config
:
:
:
-Original Message-
From: fy [mailto:[EMAIL PROTECTED]
Sent: Monday, January 08, 2007 3:20 PM
To: users@maven.apache.org
Subject: How package a file int
Hi all,
I am using the maven-surefire-plugin to run the testNG cases for my
project. The test case calls an API internally that expects the current
class loader to be a custom class loader. It does something like the
following:
" CustomClassLoader customClassLoader = (CustomClassLoader)
Thread.cu
Hi,
I am a relatively new user of maven and I want to be injecting
properties into the pom from an external properties file. For eg, I will
have a property "outDir=C:/Output" defined in an external properties
file and I want to be using this in my pom.xml file. Something like
${outDir}.
Can anyo
27 matches
Mail list logo