Hi All,
Is there any plug-in that helps to invoke the JUnit tests of a jar. We are
having a requirement to run tests of a set of jars (not of a maven project)
that gets converted maven artifacts. Please help if you know of any
plug-ins.
--
"...and miles 2 go b4 I sleep"
Madhanraj M
Henika,
That timestamp is crucial to Maven as it determines which snapshot build of
an artifact is the latest, you really shouldn't touch it.
Rick
On 4/12/10 7:45 AM, "Henika Tekwani" wrote:
>
> Hi,
>
> As we know that when we deploy an artifact to a snapshot repository the
> SNAPSHOT key
Hi,
I use Maven 2 in a project and i would like to link plugin execution to the
execution of another plugin.
In fact, in my project I've got a plugin A and a plugin B. And when I
execute plugin A, I would like that plugin B be executed just before plugin
A.
In my use case, plugin A is gwt-maven-
Hello Matthew,
IntelliJ Idea use M2_HOME as default maven dir, but you can override it
(or point on it) through interface.
Best regards,
Aleksey.
13.04.2010 8:46, Matthew McCullough ?:
Okay. Thanks for the input guys. So it seems like _not_ defining it
is the more flexible option, whi
Okay. Thanks for the input guys. So it seems like _not_ defining it
is the more flexible option, which would mean removing it from the web
site materials. I guess a JIRA is in order. I'll point it at this
thread.
Any tooling absolutely require this M2_HOME var that you know of?
M2Eclipse? Int
appears someone on this list doesn't know their references... Hitchhiker's
Guide to the Galaxy
-Stephen
On 12 April 2010 19:00, Martin Gainty wrote:
>
> appears someone on this list has been watching Dr Who
>
> Martin --
> __
> Note de déni et de conf
appears someone on this list has been watching Dr Who
Martin --
__
Note de déni et de confidentialité
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire inf
Do you have the maven-project-info-reports-plugin configured to generate
the index report? For the site plugin the menu is only expanded because
the About menu item points to index.html.
HTH,
-Lukas
Benson Margulies wrote:
That doesn't seem to be the situation at the maven-site-plugin itse
Well, I don't like collapsed menus, so I specify all the menus in site.xml. But
that's just me. -K
On Apr 12, 2010, at 12:17 PM, Benson Margulies wrote:
> That doesn't seem to be the situation at the maven-site-plugin itself.
> And updating to 2.1 seems to have changed this for some of my
> proj
That doesn't seem to be the situation at the maven-site-plugin itself.
And updating to 2.1 seems to have changed this for some of my
projects.
On Mon, Apr 12, 2010 at 11:49 AM, Kathryn Huxtable
wrote:
> I do this by manually specifying the menus for all my reports and not using
> the "reports" v
I see there is an unused CLASSPATH_PREFIX macro in the generated batch file,
how can I set this value in the pom?
-Dave
42
12.04.2010 17:56, perfer_chen ??:
one ??
I use maven version 2.2.1??I can download pom file??but the *.jar not??
the pom file and jar in the same dictory
two??
maven-jetty-plugin
how to write the jetty-env.xml and jetty.xml
thanks
--
I do this by manually specifying the menus for all my reports and not using the
"reports" variable in site.xml.
There may be other ways. If there are, I'd like to know.
-K
On Apr 12, 2010, at 9:38 AM, Benson Margulies wrote:
> When I go here, the project information menu is expanded by default
one :
I use maven version 2.2.1,I can download pom file,but the *.jar not。
the pom file and jar in the same dictory
two:
maven-jetty-plugin
how to write the jetty-env.xml and jetty.xml
thanks
Using site 2.1.
I have a parent project with pom. So, its
site.xml is not getting published. If I want to share a site.xml at
this level, do I need to make a skin? Is there some other trick?
-
To unsubscribe, e-mail: users-unsubs
When I go here, the project information menu is expanded by default.
http://maven.apache.org/plugins/maven-site-plugin/
None of my projects have this, in spite of the fact that site.xml
describes the default for collapse as 'false'. Is there something
happening in the skin that arranges this.
--
Hi Karl Heinz,
Karl Heinz Marbaise wrote at Montag, 12. April 2010 10:02:
[snip]
>
> But now i tried something different. I defined the dependency in m3.2's
> pom to use m4 as dependency:
>
>
>
> ${project.groupId}
> m2.1
> ${project.version}
>
>
> ${p
Does this help you?
http://maven.apache.org/guides/introduction/introduction-to-dependency-m
echanism.html#Importing_Dependencies
Subir
-Original Message-
From: Karl Heinz Marbaise [mailto:k...@soebes.de]
Sent: Monday, April 12, 2010 1:32 PM
To: users@maven.apache.org
Subject: Dependenci
On 4/12/10 4:02 AM, Karl Heinz Marbaise wrote:
>
...
> Maybe i misunderstand the usage of a module ...or do i have to give simply
> the modules m4.1...m4.5 as dependency instead of using m4?
>
> The m4 module is a aggregation of multiple modules (m4.1...m4.5) which are
> needed as dependency so i
By adding a dependency to m4, you simply add that dependency to all its
childs.
Said that, the m4.1 now contains dependency of himself, which is what the
system informed you.
without the dependency on m4, the system should work fine.
2010/4/12 Karl Heinz Marbaise
>
> Hi Harald,
>
> first of al
Kristian Rosenvold wrote:
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
perCoreThreadCount is "true" or "false", not a digit. So threadCount=2
and perCoreThreadCount=true gives 16 threads on an 8 core machine.
Slap in my face. :-)
Thanks, I am happy now.
Paolo
--
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
perCoreThreadCount is "true" or "false", not a digit. So threadCount=2
and perCoreThreadCount=true gives 16 threads on an 8 core machine.
Kristian
Den 12.04.2010 14:49, skrev Paolo Castagna:
Kristian Rosenvold wrote:
As
Kristian Rosenvold wrote:
As the blogpost mentions, junit+surefire by itself is unable to
constrain the number of threads; you need CPC=true for any kind of
thread limitation.
Both threadCount and perCoreThreadCount are thread constraints, so you
need CPC for both of them.
Let's say I have
As the blogpost mentions, junit+surefire by itself is unable to
constrain the number of threads; you need CPC=true for any kind of
thread limitation.
Both threadCount and perCoreThreadCount are thread constraints, so you
need CPC for both of them.
And btw; if you like running betas you'll ge
Hi Henika,
That is exactly right. By default, the build process will halt if there are
fails or errors in tests.
On Mon, Apr 12, 2010 at 8:14 PM, Henika Tekwani wrote:
>
> Do you mean that by default the build process halts if tests fail?
>
>
> justinedelson wrote:
> >
> > You're describing Mav
Do you mean that by default the build process halts if tests fail?
justinedelson wrote:
>
> You're describing Maven's default behavior. Perhaps you have
> configured surefire or Maven to react differently to a test failure.
>
> Justin
>
> On Apr 12, 2010, at 7:58 AM, Henika Tekwani wrote:
>
You're describing Maven's default behavior. Perhaps you have
configured surefire or Maven to react differently to a test failure.
Justin
On Apr 12, 2010, at 7:58 AM, Henika Tekwani wrote:
>
> Thanks for such a prompt response.
>
> I don't have much idea about how the staging feature of nexus wo
Kristian Rosenvold wrote:
All your questions should be answered here;
http://incodewetrustinc.blogspot.com/2010/01/run-your-junit-tests-concurrently-with.html
Thanks for the link, very useful.
I have installed the configurable-parallel-computer as well.
Now I see configurableParallelComputerP
Thanks for such a prompt response.
I don't have much idea about how the staging feature of nexus works. I will
have to understand first.
But I wanted to know that is there a way that we can configure our deploy
plugin such that it deploys only when the tests that were run in test phase
pass wit
Hi,
i'm deploying a java application (jar) on a linux server using rpm
(maven-rpm-plugin).
the jar uses JNI code which needs LD_LIBRARY_PATH defined, in order to find
the .so files.
can i define it in the manifest file (similar to class-path?)
what's the best practice to do it?
I've tried putt
Hi All,
Basically what I am trying to achieve is to break the default build livecycle
into two parts:
1. mvn install.
2. mvn deploy:deploy.
The first step runs fine. But when I run "mvn deploy:deploy" it gives the
following error:
[INFO] [deploy:deploy {execution: default-cli}]
Hi,
As we know that when we deploy an artifact to a snapshot repository the SNAPHOT
keyword in the artifact version, say 9.5.0-SNAPSHOT, is replaced by a timestamp
number (e.g., my-app-9.5.0-20100412.084615-1.jar). In this case SNAPHOT is
replaced by "20100412.084615" which is an automatically
Hi,
As we know that when we deploy an artifact to a snapshot repository the
SNAPSHOT keyword in the artifact version, say 9.5.0-SNAPSHOT, is replaced by
a timestamp number (e.g., my-app-9.5.0-20100412.084615-1.jar). In this case
SNAPSHOT is replaced by “20100412.084615” which is an automatically
All your questions should be answered here;
http://incodewetrustinc.blogspot.com/2010/01/run-your-junit-tests-concurrently-with.html
I generally do not advise the use of "both", "classes" is both easier to
get running and usually faster.
Kristian
Den 12.04.2010 12:58, skrev Paolo Castag
Thank you Kristian,
my mistake. I was trying to use parallel with an old project which
uses JUnit3 tests via JUnit4, so no @Test annotations.
Now, I am trying again with another project which is using JUnit4
with tests annotated with @Test.
But I do not see any speed-up improvement (on a Quad Co
Use nexus and staged deployment then you can do it in one go.
The artifacts produced in one maven execution are no longer in the reactor
when you run a second time.
Staged deployment is what you want, then you just do mvn deploy... run your
tests of the artifacts and either drop the staged deploy
btw: two commands that could be useful for you:
mvn dependency:tree (to see the dependencies explicitly)
and
mvn help:effective-pom (to see the effective pom)
with best regards, harald
-Ursprüngliche Nachricht-
Von: Entner Harald [mailto:entner.har...@afb.de]
Gesendet: Montag, 12.
Hi All,
Basically what I am trying to achieve is to break the default build
lifecycle into two parts:
1. mvn install.
2. mvn deploy:deploy.
The first step runs fine. But when I run "mvn deploy:deploy" it gives the
following error:
[INFO] [deploy:deploy {execution: default-cli}]
[INFO
hmm, i would rather say that m4.1 has already a dependency to m4 (via parent
definition, if there is a parent definition, i could be wrong though).
E.g. in order to build m4.1 m4 needs to be built first. So if you define a
dependency to m4.1 in m4 that build cannot work (due to the cycle).
-
Sure ...
I used "maven-antrun-plugin" and I wrote the following in to the
section of this plug-in:
In the "build.xml", you just copy all the contents of redline (posted
earlier) into this
Hi Harald,
first of all thanks for your help...
Harald Entner-3 wrote:
>
> m4 does not have any dependencies to its submodules (it just aggregates
> them).
That seemed to be not the full truth...if i try to supplemental define a
dependency in my m4 module to make the dependency to m4.1 explic
Hi Karl,
m4 does not have any dependencies to its submodules (it just aggregates
them). so in order to build 3.2, it is sufficient that m4 is built first
(e.g. maven includes modules and dependencies defined in m4).
Does it built correctly if you delete your repository (at least the m*
entries? I
Hi,
it would be great if you post your solution...
Kind regards
Karl Heinz Marbaise
--
View this message in context:
http://old.nabble.com/Custom-Ant-Task-in-Maven-tp28210289p28214943.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
Hi,
i'm trying to understand the handling of dependencies/aggregation in
Maven...
So i've setup the following structure:
+--- root (root pom)
+--- m1
+--- m1.1
+--- m1.2
+--- m1.3
+--- m1.4
I solved it !!
jw_amp wrote:
>
> Hi All,
>
> I am using an custom Ant Task in Maven POM, but I am not managed to fix
> it.
> The Custom Ant Task is provided by "RedLine" Library
> (http://www.introspectrum.com/oss/redline/usage.html):
>
> xmlns:redline='antlib:org.freecompany.redline.ant'>
45 matches
Mail list logo