Thanks for your help. I kept seeing the assembly file referenced, but
nothing too much on where it should be.
Here's my Assembly file:
assembly>
bin
tar.gz
${artifactId}-${version}
false
lib
false
runtime
Not sure. How do I configure tests to use one with surefire & junit 3.8?
Kalle
On Wed, Jan 28, 2009 at 12:14 PM, Stephen Connolly <
stephen.alan.conno...@gmail.com> wrote:
> Could you not use a custom test runner?
>
> 2009/1/28 Kalle Korhonen :
> > Absolutely agree, shouldn't be a default. Our
Could you not use a custom test runner?
2009/1/28 Kalle Korhonen :
> Absolutely agree, shouldn't be a default. Our tests are all independent but
> we'd just like to know right away even if one test fails (no matter which
> one) - our biggest issue is the time it takes to run the whole suite (these
Absolutely agree, shouldn't be a default. Our tests are all independent but
we'd just like to know right away even if one test fails (no matter which
one) - our biggest issue is the time it takes to run the whole suite (these
are complex feature functional tests, not simple unit tests). So I suppos
Well, the thing is: I'm not sure running tests in a fail-fast way does make
a lot of sense since they must be independent. In fact, if a test crashes,
there should never have any impact on other tests (if they're not defined in
the same chain as you can do with testng for example). When ran inside
I was hoping for a failfast behavior for surefire as well. My reason is that
we are running a set of functional tests that take a long time to execute
(say 2 hours), we require all of them to succeed but only know at the end if
it did. I wonder if this feature ever made it to surefire (can't see an
I have. Try doing an update.
If that doesn't work, try simply deleting your check out (after of
course ensuring that everything is committed) and making a brand new
checkout.
---
Todd Thiessen
> -Original Message-
> From: Thiago Moreira (timba) [mailto:tmoreira2...@gmail.com]
> Sent:
dependency:copy-dependencies
2009/1/28 philion :
> Greetings,
>
> I have a need to copy one of the artifacts from one module build and
> use it as a resource (*not* a dependency) for another build. In ant, I
> would just copy the file over to the right directory.
>
> For example:
>
> - project
>
Thank you Barrie! Now it is working fine BUT I'm getting a new error...
[INFO] [release:prepare]
[INFO] Resuming release from phase 'scm-tag'
[INFO] Tagging release with the label floggy-1.2.0...
[INFO] Executing: svn --non-interactive copy --file
/tmp/maven-scm-200887962.commit .
https://floggy
Greetings,
I have a need to copy one of the artifacts from one module build and
use it as a resource (*not* a dependency) for another build. In ant, I
would just copy the file over to the right directory.
For example:
- project
+ sub-a
+ produces "sub-a.jar"
+ sub-b
+ requires "src
2009/1/28 Deneux, Christophe :
> Isn't the role of the "classifier" field ?
>
> instead of :
>
> org.apache.ant
> ant
> 1.7.1
>
> we could use :
>
> org.apache.ant
> ant
> 1.7.1
> osgi
Good but how do you specify such classifier in dependants projects ?
---
Yup that fixed it.
Chnaged the mirror declaration to ${env.proxyURL} and it worked with the
release plugin.
Strage that it worked at all though and only the release plugin appeared to
have issues with it.
/James
> -Original Message-
> From: Deneux, Christophe [mailto:christophe.den..
It seems like there was a relocation somewhere. One solution would be to
exclude some dependency after knowing where it came from (transitively).
Use dependency:tree to help you debug that.
The URL part you're speaking is created by concatenating
groupIds/artifactIds. Maven doesn't do any "magic"
Raphaël Piéroni wrote:
Yup this is normal.
archetype:create is the old way a copy/paste from the old
archetype-1.0-alpha plugin
that is kept only for backaward compatibility.
archetype:generate is the prefered way to do things.
Great--thanks for the info.
Dave
--
Hi kuku,
kukudas wrote at Mittwoch, 28. Januar 2009 15:20:
>
> Thanks, so when i activate a profile by using the command line (ex.: mvn
> clean install -P int) within a child and the profile (int) is definied in
> the parent it should work right?
Yes, but why don't you simply setup two minimal
Thanks, so when i activate a profile by using the command line (ex.: mvn
clean install -P int) within a child and the profile (int) is definied in
the parent it should work right?
Jörg Schaible-2 wrote:
>
> Hi kuku,
>
> kukudas wrote at Mittwoch, 28. Januar 2009 13:37:
>
>>
>> Ok so lets say
Hi kuku,
kukudas wrote at Mittwoch, 28. Januar 2009 13:37:
>
> Ok so lets say i have a profile in my parent which is not activated. If i
> now call this profile with my child it will work right? I've tried it and
> it seems to work but i'm asking to be sure.
No. If the profile is activated (i.e
Hi David,
I'm building a JAR file that needs to be packaged with some shell
scripts and some configuration files. The shell scripts will be in a
"bin" directory, the configuration files will be in a "conf"
directory, and I'd like the jar in the "lib" directory with any of the
dependency jars men
The assembly descriptor (i.e. the file that defines the directory structure and
contents of the assembly) is a separate file from the POM. They are typically
placed in src/main/assembly/.
See http://maven.apache.org/plugins/maven-assembly-plugin/usage.html for
examples of how to configure the
I'm building a JAR file that needs to be packaged with some shell
scripts and some configuration files. The shell scripts will be in a
"bin" directory, the configuration files will be in a "conf"
directory, and I'd like the jar in the "lib" directory with any of the
dependency jars mentioned in the
According to the Maven conventions, you selenium tests should be under the
src/test subdirectory and not inside your webapp. So that; the Maven WAR
plugin will not include them in the resulting WAR.
Regards
Jeff MAURY
On Wed, Jan 28, 2009 at 2:13 PM, Rene A wrote:
>
> Hi, I'm trying to exclude
Hi, I'm trying to exclude my Selenium tests from the production .war, here is
my structure
Projet
|pom.xml
|-src
| `--main
| `--webapp
| `--selenium
| `--resources
| `--java
and so on.
i'm using profiles to help me clean my war, so that when it goes into
production, it
As explain in the settings references, env variable are used with the prefix
"env", otherwise it's considered as a property. For example, ${env.PATH}
contains the $path environment variable.
Have you try ? I'm not sure that this will fix your problem, but I'm using the
same mirror declaration,
Is the release plugin development ongoing or is this an orphand plugin.
I ask as I and others have a showstopper with it not inheriting the
process environment when doing release:perform.
http://jira.codehaus.org/browse/MRELEASE-406
Or does anyone have any bright ideas how to work around this?
Ok so lets say i have a profile in my parent which is not activated. If i now
call this profile with my child it will work right? I've tried it and it
seems to work but i'm asking to be sure.
Jörg Schaible-2 wrote:
>
> Hi kuku,
>
> kukudas wrote at Mittwoch, 28. Januar 2009 09:24:
>
>>
>> I
Isn't the role of the "classifier" field ?
instead of :
org.apache.ant
ant
1.7.1
we could use :
org.apache.ant
ant
1.7.1
osgi
De: Henri Gomez [mailto:henri.go...@gmail.com]
Date: mar. 27/01/2009 23:00
À: Maven Users List
Objet : Re: maven / osgi / repositori
Hi kuku,
kukudas wrote at Mittwoch, 28. Januar 2009 09:24:
>
> I have read in the documentation that the following elements get inherited
> (merged) :
>
> * dependencies
> * developers and contributors
> * plugin lists (including reports)
> * plugin executions with matching ids
Yup this is normal.
archetype:create is the old way a copy/paste from the old
archetype-1.0-alpha plugin
that is kept only for backaward compatibility.
archetype:generate is the prefered way to do things.
Regards.
Raphaël
2009/1/27 Dave Newton :
> Raphaël Piéroni wrote:
>>
>> One can call the g
I have read in the documentation that the following elements get inherited
(merged) :
* dependencies
* developers and contributors
* plugin lists (including reports)
* plugin executions with matching ids
* plugin configuration
* resources
Is it possible to inherit other e
29 matches
Mail list logo