RE: Access Is Denied Error

2008-12-24 Thread ufuk dogdu

Yes, user has full permission. Date: Tue, 23 Dec 2008 22:51:52 -0800 From: 
jai_forums2...@yahoo.co.in To: users@maven.apache.org Subject: Re: Access Is 
Denied Error ufuk dogdu wrote:C:\Documents and  
Settings\udogdu.TRIDC-NT\logicaldoc-3.6-src\logicaldoc-util\target\classes  
(access is denied)  Does the user account through which the maven build is 
run, have write permissions to this folder?  --  View this message in 
context: http://www.nabble.com/Access-Is-Denied-Error-tp21155999p21156030.html 
Sent from the Maven - Users mailing list archive at Nabble.com.   
- To 
unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional 
commands, e-mail: users-h...@maven.apache.org 
_
Send e-mail faster without improving your typing skills.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008

Put the version of a specifc dependency in a property

2008-12-24 Thread Wim Deblauwe
Hi,

I have a project (war) that has an other project (swf) as a dependency. The
war contains an index.jsp that refers to the swf dependency. Currently, it
is hardcode like 'myflexproject-1.0-SNAPSHOT.swf'. I would like to put some
placeholder there and let maven filter this index.jsp and fill in the
correct version. Is this possible? How?

regards,

Wim


Maven Wagon Plugin - Documentation

2008-12-24 Thread Rouvinez, Jean-Claude
Hi,

I want to use the Maven Wagon Plugin (http://maven.apache.org/wagon/) to
transfer files to a remote host but didn't find any useful documentation
with examples or usage.
Does anyone know any useful links to this plugin?

Thank You for Your Help.

Best Regards
Jean-Claude

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Put the version of a specifc dependency in a property

2008-12-24 Thread Wim Deblauwe
Hi Stephen,

thank you for your quick reply, but I don't understand what you mean. What I
have tried to test is create a test.properties file in my war project that
is being filtered. I've put in this:

aspectj=${org.aspectj.version}
aspectj.weaver=${org.aspectj.aspectjweaver.version}
swf=${com.mycomp.server-ria.version}

Only the first line gets replaced, the other 2 are not being replaced.

Can you elaborate on you can either define a property with the version and
link the dependency's version to the property?

regards,

Wim


2008/12/24 Stephen Connolly stephen.alan.conno...@gmail.com

 have the jsp page load a properties file which has the version within. if
 performance is a proven concern, have a java class load and cache the
 version into a singleton bean

 as regards capturing the current version of a dependency, you can either
 define a property with the version and link the dependency's version to the
 property, or hmm I've another idea for the versions maven plugin

 Sent from my iPod


 On 24 Dec 2008, at 09:46, Wim Deblauwe wim.debla...@gmail.com wrote:

  Hi,

 I have a project (war) that has an other project (swf) as a dependency.
 The
 war contains an index.jsp that refers to the swf dependency. Currently, it
 is hardcode like 'myflexproject-1.0-SNAPSHOT.swf'. I would like to put
 some
 placeholder there and let maven filter this index.jsp and fill in the
 correct version. Is this possible? How?

 regards,

 Wim


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Re: Put the version of a specifc dependency in a property

2008-12-24 Thread Stephen Connolly
have the jsp page load a properties file which has the version within.  
if performance is a proven concern, have a java class load and cache  
the version into a singleton bean


as regards capturing the current version of a dependency, you can  
either define a property with the version and link the dependency's  
version to the property, or hmm I've another idea for the versions  
maven plugin


Sent from my iPod

On 24 Dec 2008, at 09:46, Wim Deblauwe wim.debla...@gmail.com wrote:


Hi,

I have a project (war) that has an other project (swf) as a  
dependency. The
war contains an index.jsp that refers to the swf dependency.  
Currently, it
is hardcode like 'myflexproject-1.0-SNAPSHOT.swf'. I would like to  
put some

placeholder there and let maven filter this index.jsp and fill in the
correct version. Is this possible? How?

regards,

Wim


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven always downloading pom files

2008-12-24 Thread Baptiste MATHUS
It can happen if the pom is not present in the repository.
That's why giving your logs might help, or at least the problematic artifact
if it's a public one.

Cheers

2008/12/23 alon2 a...@evolven.com


 I'm not so familiar with maven,but till I have a question.
 I'm running mvn install on one of my projects and during the run maven
 downloads a lot of pom files, if I'll run man install in the same project a
 second after the first run will finish it will download the same pom files
 again- I tried to run it with the -o option but than it fails and saya it
 cannot get one of the jars.

 why maven downloads the same poms over and over again-they aresuppouse to
 be
 in my repository after the first time no?

 please help

 10x

 Alon
 --
 View this message in context:
 http://www.nabble.com/maven-always-downloading-pom-files-tp21142628p21142628.html
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


Re: different behaviour on windows and linux

2008-12-24 Thread Baptiste MATHUS
How do you run those unit tests inside Eclipse?
Did you try running maven with the CLI on your machine before trying inside
your CI server? That's the very first thing to check. In fact, running tests
inside the IDE can rarely the exact same classpath configuration, isolation
and so on, mostly because of the IDE limitations.

And if you have a separate source folder, then those sources might simply
not have been used/detected. See maven-buildhelper-plugin to add any source
folder to the build.

For your problem of copying, of do you do it? Copying files between modules
seems a bit strange to me. Did you just check the path is the same on the
two platforms?

Did you try debugging by using both mvn help:effective-pom and mvn
help:effective-settings? It can often help.

Cheers

2008/12/23 b.v.we...@valbosoft.com





 Hello,

 I'm installing hudson continuous integration on a Ubuntu box (maven 2.0.9)
 to execute my maven integration tests. This test is working fine in my
 myeclipseide. However, on the new machine at some points it has a different
 behaviour, and I can't pin down the cause.

 First thing is that I execute tests and integration tests, the latter uses
 cactus. All my test classes are in the /src/test/java directory, the cactus
 tests are all in the separate package cactus.
 I have the normal test configured (with the cactus exclusions) in the main
 build part, while I have another surefire plugin defined in the testing
 profile, for the phase integration-test.
 When executing the normal tests, I exclude the cactus package, and that
 works just fine on my windows box. However, on the linux machine they ALL
 get executed (so the cactus tests fail). It seems like the exclude option
 isn't working. Has this got to do with having the plugin defined twice? (on
 windows it works well).

 Second thing is that according to the profile, I copy resource files into
 the webapp from different locations, in some cases they overwrite existing
 /src/main/webapp files. This works fine on windows, however on the linux
 machine I always keep on getting the original webapp files.

 I've been working on this all day, I've tried packagingExcludes to not
 include the webapp files in the first place (which works fine on my windows
 box, and not on the linux machine)..
 In the end I've solved this by changing the date of the copied file to
 today, so that maven doesn't say it's up to date. However, I need it to be
 copied always. I've added the tag overwritetrue/overwrite to the
 resource, but with no effect. What is the right way to copy resources, and
 overwrite if necessary? (My only thought right now is to write an ant
 script to touch it every time I run).

 Could anybody  point me in the right direction on these issues?

 Cheers, Bo


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


Re: Mysterious exception

2008-12-24 Thread Chetan Patel

Hello,

I am also suffering from same error.

Please help me.

--Chetan Patel
-- 
View this message in context: 
http://www.nabble.com/Mysterious-exception-tp18835604p21156811.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: how to make surefire die if a single test fails

2008-12-24 Thread Baptiste MATHUS
Or maybe Jason wants a failfast behaviour. If so, then I don't think it's
possible (see
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html for
existing options).

And if so, again, you should know interdependent JUnit test is a very bad
practice. JUnit tests should be executable in any order (when no order is
specified, since I seem to remember it's possible to specify one with testng
e.g.).

Cheers.

2008/12/24 Jaikiran jai_forums2...@yahoo.co.in



 novotny wrote:
 
 
  Hi,
 
  What maven configuration do I need to do to make maven die
  completely if any test fails?
 
  Thanks, Jason
 
 

 As far as i know, that's the default behaviour. Unless you have set the
 maven.test.failure.ignore to true


 --
 View this message in context:
 http://www.nabble.com/how-to-make-surefire-die-if-a-single-test-fails-tp21152426p21156002.html
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


maven archetipe for multimodule project

2008-12-24 Thread Koxkorrita
hello for building one multimodule j2ee proyect , for the parent proyect i
am using this:
mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-quickstart -DgroupId=or.midomain
-DartifactId=project -DpackageName= -Dversion=1.0

but this make the src, test and other directories. this project, the parent,
doesnt must to have theses directoris.
which is the archetipe for make this?

thanks



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Put the version of a specifc dependency in a property

2008-12-24 Thread Stephen Connolly

project
...
properties
foo.version1.5-SNAPSHOT/foo.version
/properties
...
dependencies
dependency
groupIdcom.bar/groupId
artifactIdfoo/artifactId
version${foo.version}/version
/dependency
/dependencies
...
/project

Sent from my iPod

On 24 Dec 2008, at 10:18, Wim Deblauwe wim.debla...@gmail.com wrote:


Hi Stephen,

thank you for your quick reply, but I don't understand what you  
mean. What I
have tried to test is create a test.properties file in my war  
project that

is being filtered. I've put in this:

aspectj=${org.aspectj.version}
aspectj.weaver=${org.aspectj.aspectjweaver.version}
swf=${com.mycomp.server-ria.version}

Only the first line gets replaced, the other 2 are not being replaced.

Can you elaborate on you can either define a property with the  
version and

link the dependency's version to the property?

regards,

Wim


2008/12/24 Stephen Connolly stephen.alan.conno...@gmail.com

have the jsp page load a properties file which has the version  
within. if

performance is a proven concern, have a java class load and cache the
version into a singleton bean

as regards capturing the current version of a dependency, you can  
either
define a property with the version and link the dependency's  
version to the

property, or hmm I've another idea for the versions maven plugin

Sent from my iPod


On 24 Dec 2008, at 09:46, Wim Deblauwe wim.debla...@gmail.com  
wrote:


Hi,


I have a project (war) that has an other project (swf) as a  
dependency.

The
war contains an index.jsp that refers to the swf dependency.  
Currently, it
is hardcode like 'myflexproject-1.0-SNAPSHOT.swf'. I would like to  
put

some
placeholder there and let maven filter this index.jsp and fill in  
the

correct version. Is this possible? How?

regards,

Wim



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Put the version of a specifc dependency in a property

2008-12-24 Thread Wim Deblauwe
As some yellow cartoon character would say: Doh!

I already use properties/, just did not make the click in my head.

Thank you!

2008/12/24 Stephen Connolly stephen.alan.conno...@gmail.com

 project
 ...
 properties
 foo.version1.5-SNAPSHOT/foo.version
 /properties
 ...
 dependencies
 dependency
 groupIdcom.bar/groupId
 artifactIdfoo/artifactId
 version${foo.version}/version
 /dependency
 /dependencies
 ...
 /project

 Sent from my iPod


 On 24 Dec 2008, at 10:18, Wim Deblauwe wim.debla...@gmail.com wrote:

  Hi Stephen,

 thank you for your quick reply, but I don't understand what you mean. What
 I
 have tried to test is create a test.properties file in my war project that
 is being filtered. I've put in this:

 aspectj=${org.aspectj.version}
 aspectj.weaver=${org.aspectj.aspectjweaver.version}
 swf=${com.mycomp.server-ria.version}

 Only the first line gets replaced, the other 2 are not being replaced.

 Can you elaborate on you can either define a property with the version
 and
 link the dependency's version to the property?

 regards,

 Wim


 2008/12/24 Stephen Connolly stephen.alan.conno...@gmail.com

  have the jsp page load a properties file which has the version within. if
 performance is a proven concern, have a java class load and cache the
 version into a singleton bean

 as regards capturing the current version of a dependency, you can either
 define a property with the version and link the dependency's version to
 the
 property, or hmm I've another idea for the versions maven plugin

 Sent from my iPod


 On 24 Dec 2008, at 09:46, Wim Deblauwe wim.debla...@gmail.com wrote:

 Hi,


 I have a project (war) that has an other project (swf) as a dependency.
 The
 war contains an index.jsp that refers to the swf dependency. Currently,
 it
 is hardcode like 'myflexproject-1.0-SNAPSHOT.swf'. I would like to put
 some
 placeholder there and let maven filter this index.jsp and fill in the
 correct version. Is this possible? How?

 regards,

 Wim


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Re: mvn install on a top level of multimodule project

2008-12-24 Thread Alex Athanasopoulos
I've encountered a similar problem when one of the sub-modules is a maven
plugin that is used by another sub-module.  I discovered this only when I
cleaned-up my local repository.  Then mvn clean install didn't work.  Even
mvn clean and mvn validate failed because the plugin was missing.

My solution was to split my top-level maven project into two:  One for maven
plugins, and one for everything else.

I don't know if this is something that can be fixed, or whether it's a
design consequence.  I suppose that the missing maven plugin could
participate in any goal, including the clean or validate goals,
therefore maven can't proceed with anything if a plugin is missing.

Aside from this though, I found that maven 2.0.9 works as advertised in
figuring out a correct order to build sub-projects.


Re: Best way to clean your local repo after a release?

2008-12-24 Thread Baptiste MATHUS
Well, imo you just want to totally wipe out your local repository regularly.
Everything will just be download properly next time you run mvn. Moreover,
locally maven won't install timestamped version by, so your repo is not
going to grow very quickly anyway.

If you speak about a maven deployment repository (managed by a maven
repository manager like archiva, nexus or so), then this is another problem
that has already had the corresponding feature for a long time (automatic
repository snapshot purge for archiva, I guess other mrm has an equivalent).

Cheers.

2008/12/24 Wim Deblauwe wim.debla...@gmail.com

 Hi,

 after working on some version (e.g. 1.0-SNAPSHOT), you end up with a bunch
 of SNAPSHOT versions you don't need anymore once you released 1.0. What is
 the best way to delete those old snapshot versions? I've read about
 dependency:purge-local-repo, but does it work after the release also? How
 does it know what SNAPSHOTs to delete from your local repo?

 regards,

 Wim




-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


Re: Maven Wagon Plugin - Documentation

2008-12-24 Thread Baptiste MATHUS
Maven wagons are low-level API imo. You might want to use a higher one.
What do you want to do? Transfer some file after packaging or something like
this? Is this close to deployment? Artifact staging? Remote resource
retrieval?...

Cheers.

2008/12/24 Rouvinez, Jean-Claude jean-claude.rouvi...@ipi.ch

 Hi,

 I want to use the Maven Wagon Plugin (http://maven.apache.org/wagon/) to
 transfer files to a remote host but didn't find any useful documentation
 with examples or usage.
 Does anyone know any useful links to this plugin?

 Thank You for Your Help.

 Best Regards
 Jean-Claude

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


Re: Third party jars

2008-12-24 Thread Alex Athanasopoulos
Thank you Brian,

I am now using Nexus Repository Manager, and it does save me from a lot of
hassle.  It was easier than I thought.  I just resisted at first, because
switching from Ant to Maven was more work than I thought it would be, so I
didn't want to get deeper into trouble with repository managers.

Is there a way to convert a local repository into a remote repository, or
should I upload each artifact to Nexus again? (I have a few dozen).

For now, I've copied my 3rd party section from my local repository directly
to the Nexus 3rd-party repo, and it seems to work.  I removed the metadata
files, since they are local repo metadata.  Of course, I'm now adding new
3rd party jars through Nexus.

I've found this related issue, but it doesn't explain the solution:

https://issues.sonatype.org/browse/NEXUS-996

-Alex

On Sat, Nov 29, 2008 at 8:27 PM, Brian Fox bri...@reply.infinity.nu wrote:

 You could save youself a lot of hassle with a repo manager. You shouldn't
 use local repos as remote repos because the metadata is different. Also with
 unmanaged repos, snapshot accumulation will become a problem.

 --Brian (mobile)




Re: Maven2 - Where to put script files?

2008-12-24 Thread AsafM

I'm contemplating this my self.
Anyone has a solution?


CodingPlayer wrote:
 
 thx for your reply, but i'm not sure what exactly you mean:
 
 project_name/scripts  or (since the scripts belong to the whole
 project)
 
 project_name/src/scripts or (since scripts are part of the source)
 
 project_name/src/main/scripts and
 project_name/src/test/scripts (since scripts for runtime and tests
 should be divided apart)
 
 

-- 
View this message in context: 
http://www.nabble.com/Maven2---Where-to-put-script-files--tp5594755p21156894.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Sebastien Hadjifotis is out of the office.

2008-12-24 Thread Sebastien Hadjifotis

I will be out of the office starting  25/12/2008 and will not return until
14/01/2009.

I will respond to your message when I return.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven2 - Where to put script files?

2008-12-24 Thread Nick Stolwijk
If you take a look at the superpom [1] you'll see there is a default
script directory:

scriptSourceDirectorysrc/main/scripts/scriptSourceDirectory

So I would say convention over configuration and use that one. (If
you'll write a maven plugin to handle the scripts, use the
scriptSourceDirectory instead of making your own variable setting.

Hth,

[1] http://maven.apache.org/guides/introduction/introduction-to-the-pom.html

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Wed, Dec 24, 2008 at 5:09 PM, AsafM asaf.mes...@gmail.com wrote:

 I'm contemplating this my self.
 Anyone has a solution?


 CodingPlayer wrote:

 thx for your reply, but i'm not sure what exactly you mean:

 project_name/scripts  or (since the scripts belong to the whole
 project)

 project_name/src/scripts or (since scripts are part of the source)

 project_name/src/main/scripts and
 project_name/src/test/scripts (since scripts for runtime and tests
 should be divided apart)



 --
 View this message in context: 
 http://www.nabble.com/Maven2---Where-to-put-script-files--tp5594755p21156894.html
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven2 - Where to put script files?

2008-12-24 Thread Wendy Smoak
On Wed, Dec 24, 2008 at 10:13 AM, Nick Stolwijk nick.stolw...@gmail.com wrote:
 If you take a look at the superpom [1] you'll see there is a default
 script directory:

 scriptSourceDirectorysrc/main/scripts/scriptSourceDirectory

... that needs to be added to
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

-- 
Wendy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven archetipe for multimodule project

2008-12-24 Thread Nick Stolwijk
As far as I know there is no archetype for it. Those pom files of
packaging pom often start small and grow with the project. I
normally use maven-archetype-quickstart followed by an rm -rf src and
changing the packaging from jar to pom. Every mvn archetype:generate
(create is deprecated) in that folder are automatically added to this
parent pom, so works as expected. :)

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Wed, Dec 24, 2008 at 1:19 PM, Koxkorrita koxkorr...@laudio.info wrote:
 hello for building one multimodule j2ee proyect , for the parent proyect i
 am using this:
 mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes
 -DarchetypeArtifactId=maven-archetype-quickstart -DgroupId=or.midomain
 -DartifactId=project -DpackageName= -Dversion=1.0

 but this make the src, test and other directories. this project, the parent,
 doesnt must to have theses directoris.
 which is the archetipe for make this?

 thanks



 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven2 - Where to put script files?

2008-12-24 Thread Nick Stolwijk
Created issue MNGSITE-75 and busy on a patch.

With regards,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Wed, Dec 24, 2008 at 6:16 PM, Wendy Smoak wsm...@gmail.com wrote:
 On Wed, Dec 24, 2008 at 10:13 AM, Nick Stolwijk nick.stolw...@gmail.com 
 wrote:
 If you take a look at the superpom [1] you'll see there is a default
 script directory:

 scriptSourceDirectorysrc/main/scripts/scriptSourceDirectory

 ... that needs to be added to
 http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

 --
 Wendy

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: how to make surefire die if a single test fails

2008-12-24 Thread Jason Novotny


   That sounds promising, unfortunately I only came across a 
failIfNoTests option...


   Thanks, Jason

Baptiste MATHUS wrote:

Or maybe Jason wants a failfast behaviour. If so, then I don't think it's
possible (see
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html for
existing options).

And if so, again, you should know interdependent JUnit test is a very bad
practice. JUnit tests should be executable in any order (when no order is
specified, since I seem to remember it's possible to specify one with testng
e.g.).

Cheers.

2008/12/24 Jaikiran jai_forums2...@yahoo.co.in

  

novotny wrote:


Hi,

What maven configuration do I need to do to make maven die
completely if any test fails?

Thanks, Jason


  

As far as i know, that's the default behaviour. Unless you have set the
maven.test.failure.ignore to true


--
View this message in context:
http://www.nabble.com/how-to-make-surefire-die-if-a-single-test-fails-tp21152426p21156002.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org






  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: Deploying a customized plugin

2008-12-24 Thread Brian E. Fox
If I'm not changing the source, then I like to use the scm version of
the source I pulled from the external source. That way I can always go
back and easily update it. Something like 3.5.1-vocaro-[svnrev]. This
saves me from having to pull the whole source into my scm. (provided I
trust the remote won't disappear) In your case you will probably need to
check it in anyway since you're making changes so the scm rev is
probably not usefull.

-Original Message-
From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] 
Sent: Tuesday, December 23, 2008 11:26 AM
To: Maven Users List
Subject: Re: Deploying a customized plugin

2008/12/23 Stephen Connolly stephen.alan.conno...@gmail.com

 Take the current version number, e.g. 1.0-SNAPSHOT and replace the
 -SNAPSHOT with -yourcompany-1

 Thus as you work for vocaro

 if the plugin's SCM version that you've modified is 3.5.1-SNAPSHOT,
you
 would release it as 3.5.1-vocaro-1

 I would add that if you intend doing more that 10 such patch releases,
 start with 3.5.1-vocaro-01

 Also, have a look at how maven specifies version numbers... some
plugins
 don't understand this and you will have problems with them if they
don't
 stick to the [major].[minor].[update]-[descriptor or build number]


BTW, the importance of this is when there is a real release.

in fact as I think about this more... i'd nearly recommend using

3.5.1-aavocaro-01

that way if they release 3.5.1-alpha-01 after your release then Maven's
version sorting rules will be ok...

if you are patching an alpha release e.g. 3.5.1-alpha-2-SNAPSHOT... you
can
do

3.5.1-alpha-2-vocaro-01




 essentially, you are doing the vocaro-01 release as opposed to the
 alpha-01 release or the beta-03 release

 2008/12/23 Trevor Harmon tre...@vocaro.com

 There's a plugin I'd like to use, but it has some bugs that prevent me
from
 doing so. Fortunately, it's an open-source plugin, so I was able to
fix the
 bugs, but I'm not sure how to make the fixes available to others on
my team.
 Although I've submitted bug reports, there's no telling when (or if)
the
 bugs will be fixed upstream.

 I assume the best option is to change the version of my bug-fixed
plugin,
 deploy it to the team's repository, and have the other developers
reference
 this custom version number rather than the one on Central. Then, if
the same
 bugs are ever fixed upstream, the developers can simply reference
that
 version instead, and the one on the team repository will no longer be
used.

 Is that the right course of action? If so, is there a convention on
how to
 choose a version number for this customized plugin? Thanks,

 Trevor


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Mysterious exception

2008-12-24 Thread Wayne Fay
 I am also suffering from same error.

 Please help me.

Send your question to the Jetspeed Users (or Developers) email list,
since it is their project that you are trying to build and running
into problems with.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven Wagon Plugin - Documentation

2008-12-24 Thread Dan Tran
try http://mojo.codehaus.org/wagon-mven-plugin

On Wed, Dec 24, 2008 at 6:11 AM, Baptiste MATHUS m...@batmat.net wrote:
 Maven wagons are low-level API imo. You might want to use a higher one.
 What do you want to do? Transfer some file after packaging or something like
 this? Is this close to deployment? Artifact staging? Remote resource
 retrieval?...

 Cheers.

 2008/12/24 Rouvinez, Jean-Claude jean-claude.rouvi...@ipi.ch

 Hi,

 I want to use the Maven Wagon Plugin (http://maven.apache.org/wagon/) to
 transfer files to a remote host but didn't find any useful documentation
 with examples or usage.
 Does anyone know any useful links to this plugin?

 Thank You for Your Help.

 Best Regards
 Jean-Claude

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




 --
 Baptiste Batmat MATHUS - http://batmat.net
 Sauvez un arbre,
 Mangez un castor !


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven Wagon Plugin - Documentation

2008-12-24 Thread Dan Tran
sorry fast finger, http://mojo.codehaus.org/wagon-maven-plugin

On Wed, Dec 24, 2008 at 12:04 PM, Dan Tran dant...@gmail.com wrote:
 try http://mojo.codehaus.org/wagon-mven-plugin

 On Wed, Dec 24, 2008 at 6:11 AM, Baptiste MATHUS m...@batmat.net wrote:
 Maven wagons are low-level API imo. You might want to use a higher one.
 What do you want to do? Transfer some file after packaging or something like
 this? Is this close to deployment? Artifact staging? Remote resource
 retrieval?...

 Cheers.

 2008/12/24 Rouvinez, Jean-Claude jean-claude.rouvi...@ipi.ch

 Hi,

 I want to use the Maven Wagon Plugin (http://maven.apache.org/wagon/) to
 transfer files to a remote host but didn't find any useful documentation
 with examples or usage.
 Does anyone know any useful links to this plugin?

 Thank You for Your Help.

 Best Regards
 Jean-Claude

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




 --
 Baptiste Batmat MATHUS - http://batmat.net
 Sauvez un arbre,
 Mangez un castor !



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org