Hi al,
I'm wondering that how can i configure an existing project in maven2.
How to create pom.xml file for that.
And is it necessary to have pom.xml file in each sub-folder of root folder
Do not follow where the path may lead. Go instead where there is
thanks.
It works when you chain the goals manually:
mvn buildnumber:create jetty:run-exploded does work.
Now, I can already hear the developers complaining.
Is there a way to tell jetty plugin to execute buildnumber:create?
I could add an execution section to link the create goal to any jetty
because executing mojos directly never invokes the lifecycle.
you could have a profile with a default goal of validate and with the
plugins you want bound to the validate phase of the lifecycle
then
mvn -Pmagic
would do it for you (if your profile id is magic)
Sent from my [rhymes with
Hi,
Some questions you need to find responses :
* is your project single module or multiple ? = one pom or several pom
with one parent
* does your project tree respects the default structure used by maven
(src/main/java, src/main/resources, ...) ? modify your project structure or
configure it
Hi , I want to send mail when the tests fail. The build wont fail since I
have set testFailureIgnore=true.
Is there a way to achieve this i maven?
--
View this message in context:
http://www.nabble.com/Sending-Mail-only-when-test-fails-tp22985997p22985997.html
Sent from the Maven - Users
Hi,
I am using httpclient in eclipse. But I am getting connection timed out
error while trying to connect to any URL (google.com also) including
http connection or https. I am not able to connect to any sites
programmatically. Do I need to do something with the proxies. Any help
would be
what happens if you first create the archetype (before using) e.g.?
mvn archetype:generate
http://jira.codehaus.org/browse/ARCHETYPE-122
Martin
__
Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité
Diese Nachricht ist
My project currently creates javadocs during the install goal, see pom
below. How can I configure this to run only if deploy goal is run instead?
Alternatively, is there a way this can be externalized so that individual
developers can turn this feature off when they do an install?
plugin
I don't like to bump posts but maybe this one has been lost in the list
traffic.
Anybody ?
Le lundi 06 avril 2009 17:12:33, Paul a écrit :
Hi,
Using maven-2.1.0 and having a multimodules project with the following
layout
parent-project
foo
foo-api
foo-flavourA
this will help
in your pom.xml enable filtering
directorysrc/main/resources/directory
filteringtrue/filteringin settings.xml establish a profile which will
be activated by setting environment var
profile
idfoo-development/id
activation
property
Hi All,
I'm just starting out using maven and eclipse. I started by creating a
simply java project using maven and then created a eclipse project
using mvn eclipse:eclipse. The import into eclipse worked just fine
and I can edit the sources from within eclipse. However whenever I try
to
Martin,
Thanks for your answer.
Le vendredi 10 avril 2009 15:04:15, Martin Gainty a écrit :
this will help
Unfortunately it did not because I don't have any issue creating profiles
activated by properties (negated or not). I have an issue regarding activation
inheritance in multi-modules
Add the source folder in the project build path.
-Original Message-
From: gauravar...@codercorp.com [mailto:gauravar...@codercorp.com]
Sent: Friday, April 10, 2009 6:39 PM
To: Maven Users List
Subject: Running from within eclipse
Hi All,
I'm just starting out using maven and eclipse. I
For our project, I decided to use a profile and naming convention to include
the integration tests. I'm not extremely satisfied with the solution, but
it allows us to get cobertura coverage reports from our integrations tests,
which was of enough value to us to accept the extra inconvenience.
Hello,
I have asked this on the nmaven discussion groups but have not had any
responses. Perhaps my details are just to fuzzy (as I am having trouble
stapling down a test case), but nmaven does not seem to be receiving a lot of
attention. I was hoping to find another user on this list who
Can someone help with a simple site plugin question?
I am just trying to build a site of a multi-module project and want to
publish it to my local hard drive. Here is my pom.
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
Use mvn %some_other_goal% site:stage -DstagingDirectory=%desired_site_dir%
Regards,
Stevo.
On Fri, Apr 10, 2009 at 6:41 PM, David Hoffer dhoff...@gmail.com wrote:
Can someone help with a simple site plugin question?
I am just trying to build a site of a multi-module project and want to
Hi , I want to send mail when the tests fail. The build wont fail since I
have set testFailureIgnore=true.
Is there a way to achieve this i maven?
Traditionally, this would be a function handled by your Continuous
Integration server, not your Build Tool. So this is not really a Maven
function
Or make a batch file magic.bat/magic.sh in your project top directory
which calls Maven with the proper parameters... I wouldn't suggest
doing this as a regular thing, but its OK for dev purposes.
Wayne
On Fri, Apr 10, 2009 at 2:11 AM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
I have a maven build with certain profiles. When I invoke the following mvn
command:
mvn -e package -Dload_properties -Drecreate_war
I receive an error. The reason is that in the execution of the
-Drecreate_war profile I want to unpack the 'generated' war and accordingly
change a couple of
That doesn't really help it just overrides
urlfile://${basedir}/target/website/url
It still puts the content at %stagingDirectory%localhost/[SVN check out
folder]/target/website/[website content here]
I need a fixed location relative to %stagingDirectory%. I don't want [SVN
check out folder] to
If you use CI Hudson for instance you have the ability to send an e-mail when
there are test failures etc. Hudson also has the ability to use an advanced
e-mail plugin in which you are able to address the content of the message,
e-mail groups etc.
Hugo
Wayne Fay wrote:
Hi , I want to send
I think I forgot something, mvn site-deploy should deploy site to URL
specified in site section right?
The parent project does deploy here correctly. However the child modules do
not. So I figured each child pom must need its own site configuration to
append its module name to the URL, like:
Perhaps my macro is wrong.
How can I get parent's .${project.build.directory} in child?
-Dave
On Fri, Apr 10, 2009 at 12:28 PM, David Hoffer dhoff...@gmail.com wrote:
I think I forgot something, mvn site-deploy should deploy site to URL
specified in site section right?
The parent project
I want to call some ant tasks when I run maven.
I have read all about the maven antrun plugin and found some
examples, but the documentation is a wee bit hard
for me to understand, and does not lead me to what I wish to accomplish.
I want all my ant tasks in a build.xml file (not in the
That's what it was...anybody know a better way to get the parent build dir
than
${project.build.directory}/../../target/
-Dave
On Fri, Apr 10, 2009 at 12:47 PM, David Hoffer dhoff...@gmail.com wrote:
Perhaps my macro is wrong.
How can I get parent's .${project.build.directory} in child?
On Fri, Apr 10, 2009 at 12:29 PM, David Hoffer dhoff...@gmail.com wrote:
That's what it was...anybody know a better way to get the parent build dir
than
${project.build.directory}/../../target/
Why? Normally you share things through the repository.
--
Wendy
CheapLisa wrote:
I want to call some ant tasks when I run maven.
I have read all about the maven antrun plugin and found some
examples, but the documentation is a wee bit hard
for me to understand, and does not lead me to what I wish to accomplish.
I want all my ant tasks in a build.xml file
I don't think this is the case for sharing; all I am trying to do is specify
the site deployment folder for child modules.
-Dave
On Fri, Apr 10, 2009 at 4:04 PM, Wendy Smoak wsm...@gmail.com wrote:
On Fri, Apr 10, 2009 at 12:29 PM, David Hoffer dhoff...@gmail.com wrote:
That's what it
On Fri, Apr 10, 2009 at 9:41 AM, David Hoffer dhoff...@gmail.com wrote:
Can someone help with a simple site plugin question?
I am just trying to build a site of a multi-module project and want to
publish it to my local hard drive. Here is my pom.
plugins
plugin
Yes file:///tmp/website would work but not for the child modules; its in the
child that I have the issue.
I got it working by specifying the parent folder as two levels up from each
child (module). (it seems there should be a maven property to get this
directly in the child.)
Actually
On Fri, Apr 10, 2009 at 4:06 PM, David Hoffer dhoff...@gmail.com wrote:
Yes file:///tmp/website would work but not for the child modules; its in the
child that I have the issue.
It should work, and you shouldn't have to specify a site url in each
child module.
For example the site at [1] comes
Thanks.
On 09/04/2009, at 8:17 PM, Raphaël Piéroni wrote:
Hi Lachlan Deck,
Currently, the filesets are not optional.
Regards,
Raphaël
2009/4/9 Lachlan Deck lachlan.d...@gmail.com:
Anyone?
On 07/04/2009, at 8:56 AM, Lachlan Deck wrote:
Hi there,
Just a quick question: say I've got a
That is the behavior that I expected but it did not work. Instead the child
modules put their site output in their own target folder. I could not find
any solution other than redirect it back up.
BTW, I'm using v2.1.
-Dave
On Fri, Apr 10, 2009 at 5:27 PM, Wendy Smoak wsm...@gmail.com wrote:
could be related to http://jira.codehaus.org/browse/ARCHETYPE-236
2009/4/10 Martin Gainty mgai...@hotmail.com:
what happens if you first create the archetype (before using) e.g.?
mvn archetype:generate
http://jira.codehaus.org/browse/ARCHETYPE-122
Martin
thanks, I'm still lost. This section did not make much sense to me.
David M. Karr wrote:
CheapLisa wrote:
I want to call some ant tasks when I run maven.
I have read all about the maven antrun plugin and found some
examples, but the documentation is a wee bit hard
for me to
mvn archetype:create -DgroupId=com.fdr.apres.s2 -DartifactId=app
-DarchetypeGroupId=org.apache.struts
-DarchetypeArtifactId=struts2-archetype-starter
-DarchetypeVersion=2.0.11.2-SNAPSHOT
-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository
USE this. This works as of
37 matches
Mail list logo