[ANN] Maven Scm 1.3 Released

2010-01-15 Thread Olivier Lamy
Hi, The Maven team is pleased to announce the release of the Maven Scm, version 1.3. Release Notes - Maven SCM - Version 1.3 ** Bug * [SCM-261] - Synergy provider assumes instance of 1 for projects... won't work for distributed CM (and some other scenarios) * [SCM-418] - Support for

Maven and integration test

2010-01-15 Thread fabrice.mercier1
Hi I have a question, I know how to define unit test and integration test with junit and execute them separatly on my CI server configuring maven surefire plugin and a specific profile that deploy for example my EAR to a J2EE Server in order to execute Selenium, jmeter tests. Now I have a more

Re: ${user.home} not substituted in settings.xml localRepository

2010-01-15 Thread Martin Höller
Hi! Am Donnerstag, 14. Januar 2010 11:08:59 schrieb Julien HENRY: I'm bitten by the same issue that was already reported last september [1]. I'm using Hudson with Maven 2.2.1 and I wrote: localRepository${user.home}/repositories/${env.JOB_NAME}/repository/loca lRepository but it doesn't

Questinos Regarding Testing

2010-01-15 Thread Carlo Camerino
Hi, I'm trying to run a test on a project with several submodules in it. One of our projects has an xml file which is included in a different project with the one testing it. dao | src/test/resources | -- test-dao.xml

Re: Always active profiles

2010-01-15 Thread Mark Hobson
2010/1/14 Wendy Smoak wsm...@gmail.com: On Thu, Jan 14, 2010 at 1:44 PM, Kees van Dieren keesvandie...@gmail.com wrote: Just curious: where do you need this for? If you want plugins / dependencies always to be active, you could add them in the pom directly, then they don't need to be in a

war-plugin copy dependency to WEB-INF/custom-lib

2010-01-15 Thread Hoehmann, Andreas
Hello folks. Is it possible to copy a special war-artifact dependency to a other target-path than WEB-INF/lib, i.e WEB-INF/custom-lib? All other normal dependencies should be copied to WEB-INF/lib. == Example == POM: dependency artifactIdcommon-lang/artifactId /dependency dependency

AW: Questinos Regarding Testing

2010-01-15 Thread Entner Harald
even this is not a maven related question (as i assume that the dependent jar is on the classpath), how do you open the file? -Ursprüngliche Nachricht- Von: Carlo Camerino [mailto:carlo.camer...@gmail.com] Gesendet: Freitag, 15. Januar 2010 11:35 An: users@maven.apache.org Betreff:

AW: war-plugin copy dependency to WEB-INF/custom-lib

2010-01-15 Thread Entner Harald
check the maven-dependency-plugin[1], especially copy [2]. [1] http://maven.apache.org/plugins/maven-dependency-plugin/ [2] http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html -Ursprüngliche Nachricht- Von: Hoehmann, Andreas [mailto:andreas.hoehmann@siemens.com]

Re: Plugin management dependencies

2010-01-15 Thread Mark Hobson
2010/1/14 Anders Hammar and...@hammar.net: Ok, re-reading your question I spotted the issue. pluginManagement doesn't manage reporting plugins. Look here for instance: http://jira.codehaus.org/browse/MNG-3385 Yeah, I was aware of that thanks, so I guess it kind of makes sense. It's somewhat

Re: maven-failsafe-plugin: multiple executions using the same test classes

2010-01-15 Thread Andreas Sewe
Hi Stephen, you wrote: hack solution = multiple executions of verify? Just for the record: Typing-wise this isn't too bad. However, I think the solution below should *not* work -- but it does! plugin groupIdorg.codehaus.mojo/groupId artifactIdfailsafe-maven-plugin/artifactId

Re: maven-failsafe-plugin: multiple executions using the same test classes

2010-01-15 Thread Stephen Connolly
if you do not specify a phase in the execution and the goals specifiy a default phase (which they do) then they will execute in that default phase which is why this works. I'd depend on it in your build as Benjamin stated that the above is correct behaviour of Maven IIRC -Stephen 2010/1/15

Re: Always active profiles

2010-01-15 Thread Tom Bollwitt
Try this... activation activeByDefaulttrue/activeByDefault /activation Regards, Tom Bollwitt SYSTEMS ENGINEER Mersoft 9300 W. 110th St. Building 55, Suite 350 Overland Park, KS 66210 913-871-6200 tlbollw...@mersoft.com On Jan 15, 2010, at 4:40 AM, Mark Hobson wrote: 2010/1/14

Re: Always active profiles

2010-01-15 Thread Mark Hobson
2010/1/15 Tom Bollwitt tlbollw...@mersoft.com: Try this... activation        activeByDefaulttrue/activeByDefault /activation Erm, did you even read my question? Mark - To unsubscribe, e-mail:

AW: war-plugin copy dependency to WEB-INF/custom-lib

2010-01-15 Thread Hauschild, Klaus (EXT)
Hi, Thanks for quick answer. But is there still a way to copy the specified dependency and all its depending artifacts? Klaus -Ursprüngliche Nachricht- Von: Entner Harald [mailto:entner.har...@afb.de] Gesendet: Freitag, 15. Januar 2010 11:53 An: Maven Users List Betreff: AW:

AW: war-plugin copy dependency to WEB-INF/custom-lib

2010-01-15 Thread Entner Harald
yes, same plugin. If you want to copy all dependencies of the project (including the transitive dependencie), use the dependency:copy-dependencies goal. This should do the job. -Ursprüngliche Nachricht- Von: Hauschild, Klaus (EXT) [mailto:klaus.hauschild@siemens.com] Gesendet:

AW: war-plugin copy dependency to WEB-INF/custom-lib

2010-01-15 Thread Hauschild, Klaus (EXT)
I don't want to copy all dependencies to a custom target only a specific and its depending artifacts. -Ursprüngliche Nachricht- Von: Entner Harald [mailto:entner.har...@afb.de] Gesendet: Freitag, 15. Januar 2010 15:00 An: Maven Users List Betreff: AW: war-plugin copy dependency to

AW: war-plugin copy dependency to WEB-INF/custom-lib

2010-01-15 Thread Entner Harald
Hi Klause, Have a look here: http://jira.codehaus.org/browse/MDEP-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_68254 in that case you should use the assembly plugin (at least i understand it that way.) I haven't used that plugin so far, but it seems to suit

Re: generated sources/resources path conventions

2010-01-15 Thread Mark Hobson
2010/1/13 lukewpatterson lukewpatter...@gmail.com: It seems like  ${project.build.directory}/generated-sources/generator-name and  ${project.build.directory}/generated-resources/generator-name have been mentioned [1][2], but I wonder if something like this  

Re: Always active profiles

2010-01-15 Thread Wendy Smoak
On Thu, Jan 14, 2010 at 4:04 AM, Mark Hobson markhob...@gmail.com wrote: Hi there, Is there a better way of always activating a profile, unless explicitly deactivated, than using a dummy property activator?  For example:        activation                property                        

Re: Always active profiles

2010-01-15 Thread Mark Hobson
2010/1/15 Wendy Smoak wsm...@gmail.com: I'd probably do it with name!noxyz/name so that _de_activating it is intuitive with -Dnoxzy. Yeah, I had similar thoughts. You can do it with less xml by dropping the activation block and de-activating by the profile id: -P !xzy or -P -xzy  (Maven

Re: Always active profiles

2010-01-15 Thread Wendy Smoak
On Fri, Jan 15, 2010 at 7:58 AM, Mark Hobson markhob...@gmail.com wrote: But dropping the activation block means that it won't be implicitly activated? True. I shouldn't answer questions early in the morning. :) -- Wendy -

Re: Always active profiles

2010-01-15 Thread Mark Hobson
2010/1/15 Wendy Smoak wsm...@gmail.com: On Fri, Jan 15, 2010 at 7:58 AM, Mark Hobson markhob...@gmail.com wrote: But dropping the activation block means that it won't be implicitly activated? True.  I shouldn't answer questions early in the morning. :) Hehe, thanks for trying to help

Maven timestamp with 2.0.10

2010-01-15 Thread Peter Hecht (hechtmail)
Hello, While 2.1 seems to have a timestamp, how do I get a timestamp using 2.0.10? Thanks! Pete - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: generated sources/resources path conventions

2010-01-15 Thread Milos Kleint
On Fri, Jan 15, 2010 at 3:43 PM, Mark Hobson markhob...@gmail.com wrote: 2010/1/13 lukewpatterson lukewpatter...@gmail.com: It seems like ${project.build.directory}/generated-sources/generator-name and ${project.build.directory}/generated-resources/generator-name have been mentioned

Re: generated sources/resources path conventions

2010-01-15 Thread lukewpatterson
mihobson wrote: ... I'd probably also ditch 'src' since 'generated' conceptually replaces this. Good point, updated example: ${project.build.directory}/generated/generator-name/main/java ${project.build.directory}/generated/generator-name/test/scala

Re: Javascript zip dependency management

2010-01-15 Thread Manos Batsis
John Ericksen wrote: This seems very promising, are there any repositories for javascript dependencies? There is no reason for special repos - the main repo or any others work just fine. For example sarissa is released through maven's central. If there is a tinymce dependency and the

Re: generated sources/resources path conventions

2010-01-15 Thread Mark Hobson
2010/1/15 lukewpatterson lukewpatter...@gmail.com: Good point, updated example: ${project.build.directory}/generated/generator-name/main/java ${project.build.directory}/generated/generator-name/test/scala ${project.build.directory}/generated/generator-name/main/resources A question about

connecting to people.apache.org when trying to deploy local test project?

2010-01-15 Thread Joe Corneli
Following the directions in the BUILD-JAVA in the section on Building a Maven Site with Reports, I run into the following problem. Instead of installing locally, Maven hits people.apache.org to try to install there. (I'm confused about a number of the points in BUILD-JAVA, but this one is pretty

maven test skip

2010-01-15 Thread fus
Hello everyone, I use maven2 to integrate couple of libraries but there is one another library which is unavailable from maven repository, so I defined my own library in eclipse. I wrote some tests, which are connected with this library, and running tests 'by hand' works but packaging with

Re: maven test skip

2010-01-15 Thread David Hoffer
Yeah you can disable tests using: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.4.2/version configuration skipTeststrue/skipTests /configuration /plugin But isn't this missing the larger point?

Re: Maven and integration test

2010-01-15 Thread Anders Hammar
If I understand you correctly you want to bind the cargo plugin to the pre-integration phase. I common scenario. I did a quick search and found this example: http://www.jitr.org/useCaseStudy.html /Anders On Fri, Jan 15, 2010 at 11:05, fabrice.mercier1 beufm...@yahoo.fr wrote: Hi I have a

Re: Questinos Regarding Testing

2010-01-15 Thread Carlo Camerino
i'm using mvn test to run this btw i'm using maven surefire plugin On Fri, Jan 15, 2010 at 6:51 PM, Entner Harald entner.har...@afb.de wrote: even this is not a maven related question (as i assume that the dependent jar is on the classpath), how do you open the file? -Ursprüngliche

Re: Questinos Regarding Testing

2010-01-15 Thread David Hoffer
Tests (and test resources) from one module do not propagate to other modules. You say you have a dependency on it, how did you specify this? I can think of a couple ways of doing this. One, make a jar of your dao tests and then depend on this with test scope in the other module. Second, make a

[ANNOUNCE] Doxygen Maven Plugin - Release 1.0

2010-01-15 Thread Karl Heinz Marbaise
Hello to all, I'm pleased to announce the availability of the Doxygen Maven Plugin Release 1.0 The Homepage (intermediate?) for the Plugin is: http://www.supose.org/projects/show/mavendoxygen The ChangeLog for this Release (first one), can be seen at:

Errors after upgrade to 2.2.1

2010-01-15 Thread muser
Hi, I am getting these errors after I upgraded to M2.2.1. [ERROR] Unable to determine if resource asm:asm:jar:3.1:compile exists in https://maven-repository.dev.java.net/nonav/repository [ERROR] Unable to determine if resource com.sun.jdmk:jmxtools:jar:1.2.1:compile exists in

[ANN] Maven Clean Plugin 2.4 Released

2010-01-15 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven Clean Plugin, version 2.4. This plugin is used to clean the project output directories. Please see the plugin's site for more details: http://maven.apache.org/plugins/maven-clean-plugin/ To use the updated plugin in your

Re: Errors after upgrade to 2.2.1

2010-01-15 Thread Manfred Moser
Just a hunch but the problem could be that this is all in maven 1 repository layout. I think you should set the mirror to be a mirror of the java net maven 2 repo. http://download.java.net/maven/2/ manfred On Fri, 15 Jan 2010 12:46:20 -0800 (PST), muser wrote Hi, I am getting these errors

Re: Questinos Regarding Testing

2010-01-15 Thread Wayne Fay
I can think of a couple ways of doing this.  One, make a jar of your dao tests and then depend on this with test scope in the other module.  Second, make a third module that has these test resources, then unpack where they need to go. There's also the jar:test-jar option (which is essentially

Maven 3 webinar registration

2010-01-15 Thread Stevo Slavić
Hello maven users, Registration for coming maven 3 webinarhttp://sonatype.com/webinars/register2010-01-20requires country selection, but not all countries are available for selection. I wonder whats the rationale behind this? Regards, Stevo.

Re: Maven 3 webinar registration

2010-01-15 Thread Brian Fox
Probably just a mistake, pick your favorite and sign up ;-) On Fri, Jan 15, 2010 at 6:21 PM, Stevo Slavić ssla...@gmail.com wrote: Hello maven users, Registration for coming maven 3 webinarhttp://sonatype.com/webinars/register2010-01-20requires country selection, but not all countries are

Re: Corrupt Jar Downloads

2010-01-15 Thread Brian Fox
This could be caused by a device on your network pausing to scan the incoming files. This pause can confuse the client into thinking the connection is done even though only part of it has been received. Nexus is able to deal with this so the first step would definitely be to upgrade. On Thu, Jan