Re: java.lang.NullPointerException in 1.1-beta-3 after adding parent pom

2007-10-29 Thread olivier lamy
Hi, I think there is an issue with appearance. Can you load a ticket in jira ? (I will have a look on it). Thanks, -- Olivier PS : you can try last beta-4 changing default m2 goals is more easy ;-) 2007/10/29, Andreas Guther [EMAIL PROTECTED]: I have added a parent pom file with an URL to our

Re: Activate Profile

2007-10-29 Thread OMax
When I attempt to activate a different profile on the Maven command line, I _still_ get the activeByDefault profile, and not the one I wanted. It's opposite of what I have, at least on 2.0.7. If I activate different profile it's taken into the account but not the default one. But I would

Re: HOW TO RUN MULTIPLE PACKAGING USING DIFFERENT ENV?

2007-10-29 Thread Tim Kettler
mailming schrieb: This is a great approach, and I do see the ear-plugin package twice. However, after server testing, I c the filters in the profile doesn't get to processed, that is, the packaging doesn't go back to resource level redo filtering, which is I need. Do I have some key

Re: release:prepare failure during scm-tag : Server certificate verification failed: issuer is not trusted

2007-10-29 Thread Rémy Sanlaville
Jason, I am happy to see that you solved your problem and it's nice from you that you explained how to do it. Graham, it's nice to know how Subclipse works especially to handling credentials. But as Jason mentioned, it's strange that the maven release plugin is able to execute a commit but not a

Re: Activate Profile

2007-10-29 Thread Tim Kettler
OMax schrieb: When I attempt to activate a different profile on the Maven command line, I _still_ get the activeByDefault profile, and not the one I wanted. It's opposite of what I have, at least on 2.0.7. If I activate different profile it's taken into the account but not the default one.

Re: Activate Profile

2007-10-29 Thread OMax
Yes I can agree with this behavior although documentation was not exactly clear about that that why I posted bug a month ago: http://jira.codehaus.org/browse/MNG-3229 Now I agree that this is role of main build section not profile that executes by default. -- View this message in context:

plexus-archiver snapshot

2007-10-29 Thread Jo Support
[mavenBuild] [INFO] Failed to resolve artifact. [mavenBuild] [mavenBuild] Couldn't find a version in [1.0-alpha-7, 1.0-alpha-8, 1.0-alpha-9] to match range [1.0-alpha-10-SNAPSHOT,1.0-alpha-10-SNAPSHOT] [mavenBuild] org.codehaus.plexus:plexus-archiver:jar:null I have

RE: copy jars to jboss lib

2007-10-29 Thread Sonar, Nishant
Hi Wayne Your mail did help ...you know sometimes even we have worked on some plugins but still forget them. Thanks it worked Regards, Nishant Sonar Synechron Technologies -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 10:59 AM To: Maven

Re: Maven checkstyle plugin, multimodule conf problem

2007-10-29 Thread vetalok
Thank you very much Jim Sellers, Maven Dashboard Report Plugin is the tool I have long time looked for :) -- View this message in context: http://www.nabble.com/Maven-checkstyle-plugin%2C-multimodule-conf-problem-tf4697789s177.html#a13463376 Sent from the Maven - Users mailing list archive at

Re: plexus-archiver snapshot

2007-10-29 Thread Brett Porter
I'm just deploying it now, but I highly recommend ensuring you are not using a snapshot version of the surefire plugin unless you really have to. On 29/10/2007, Jo Support [EMAIL PROTECTED] wrote: [mavenBuild] [INFO] Failed to resolve artifact. [mavenBuild] [mavenBuild] Couldn't find a version

Project group and project build definition - explain it better

2007-10-29 Thread Raffaele
Hi all, because of lack of documentation, and as you can see in the many threads in this mailing list about the above subjcet, I ask here to Continuum team to help all of us to use correclty without doubts and surprises the project group build definition and project build definition. 1) In

use a dependency in system scope witout version

2007-10-29 Thread Sonar, Nishant
Hi Can I use a dependency with scope=system with no version number I want to use rt.jar which is inside C:\Java\jdk1.5.0_11\jre\lib . now this jar doesn't has a verion number How should I use ot dependency groupIdwhat to use here?/ artifactIdWhat to use

Re: updatePolicy of artifact with packaging pom

2007-10-29 Thread Raffaele
Please help me to clarify this issue. It is very important and it seems a bug! Thanks again. Raffaele Raffaele wrote: Hi all, I've noticed that if I modify then deploy a parent pom with packaging pom (without changing its version), then If another person run mvn compile on a child

Re: use a dependency in system scope witout version

2007-10-29 Thread Tim Kettler
Hi, have a look at the dependency guide [1] for the correct usage of system scope dependencies. It boils down to: groupId/artifactId/version are your choice (somthing like sun.jdk/runtime/1.5.0.11 will do in your case), systemPath is not the path of the directory of the jar, but the path of the

Surefire 2.4-SNAPSHOT broken?

2007-10-29 Thread Martin Gilday
I've been using 2.4-SNAPSHOT for a while now, which has some fixes needed to run JMockit tests. Since an update on Saturday it seems to be failing due to missing dependencies. Is anyone else getting this and there a way around it? Thanks, Martin. [INFO] Failed to resolve artifact. Couldn't

Re: [ANN] Maven NSIS Plugin 2.0 for Maven 1.x released

2007-10-29 Thread Arnaud HERITIER
it should be something provided within the assembly plugin or an extension of it. I never had the time to rewrite it for maven 2 but it shouldn't be very difficult. Arnaud On 10/28/07, Lukas Theussl [EMAIL PROTECTED] wrote: If this is a frequent question then I have to review my message

Re: plexus-archiver snapshot

2007-10-29 Thread Martin Gilday
I hope I don't come accross as rude when I say this, as I really appreaciate all the work the Maven team do. But a lot of people are having to use snapshots of surefire for many reasons, including TestNG support; fixes to the classloader so you can use JMockit. If there were more frequent stable

Re: plexus-archiver snapshot

2007-10-29 Thread Jo Support
thanks, but i don't really know who depends from it. i think it could be a new version of a plugin, but searching through poms in my local repo, none seems to depend from it. by the name of the missing jar maybe maven-jar-plugin depends on it On 10/29/07, Brett Porter [EMAIL PROTECTED] wrote:

Re: Surefire 2.4-SNAPSHOT broken?

2007-10-29 Thread Brett Porter
try again - it seemed to be corrupt metadata and has been reuploaded. http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus-archiver/1.0-alpha-10-SNAPSHOT/ On 29/10/2007, Martin Gilday [EMAIL PROTECTED] wrote: I've been using 2.4-SNAPSHOT for a while now, which has some fixes

Re: plexus-archiver snapshot

2007-10-29 Thread Brett Porter
the problem is the introduction of the apache snapshot repository by one of your projects, or your settings. This includes all of the in development plugins, which may or may not be stable but certainly do change regularly. Regards, Brett On 29/10/2007, Jo Support [EMAIL PROTECTED] wrote:

Re: dependency:resolve and dependency:tree

2007-10-29 Thread Nigel Magnay
Hmm - ok. FWIW, I'm seeing 3.1 on dependency:resolve as well. Yes - the dependencies of the WAR (which will be the same as those inside it, if it's generated by maven). If I use cargo's merging (or I think just the war plugin itself) to build a war file out of other war fragments, merging them

Re: Surefire 2.4-SNAPSHOT broken?

2007-10-29 Thread Martin Gilday
Brett, This is the issue I am referring to: http://jira.codehaus.org/browse/SUREFIRE-298. I'm not too conerned about the TestNG fixes as COLLAB seems to be the best version to use for that, which seems unaffected. We have just tried 2.3.1-SNAPSHOT and it appears to work on 2 developer's

Maven Release plugin

2007-10-29 Thread Mark Russell
I am about to release my first maven plugin. I was looking at the maven-release-plugin. This seams to do what I want. does it work with CVS? If so where is the documentation for this? I did several web searches and the only thing I can find is SVN examples. -- Mark Russell Instantiations,

Re: Surefire 2.4-SNAPSHOT broken?

2007-10-29 Thread Brett Porter
I have a feeling that another developer has caused a regression on versions of Maven 2.1 by upgrading the container. Can you confirm what version you are using? Martin - can you isolate the 2.4-SNAPSHOT change that makes things work for you? perhaps we can get it included in 2.3.1 (and have you

Re: Surefire 2.4-SNAPSHOT broken?

2007-10-29 Thread Martin Gilday
Thanks Brett. It now downloads correctly but I get the following error. Is it working for you now? I think I may need to clear out part of my local repo. [INFO] [ERROR] FATAL ERROR [INFO]

Re: [m2] help getting jboss to start...

2007-10-29 Thread Daniele De Francesco
Hi, all seems ok... 1) please give the console error... 2) did u try to uncomment location$\{project.build.directory\ }/$\{project.build.finalName\}.$\{project.packaging\}/location specifying the parameters needed? Regards Daniele On 10/25/07, Mick Knutson [EMAIL PROTECTED] wrote: Well,

Re: Improving Maven Site Docs (was maven is hard)

2007-10-29 Thread Greg Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg Morgan wrote: Brian E. Fox wrote: A common theme in the maven is hard thread is bad documentation and Lets list some positive improvements that can be made to the existing Maven site in this thread. Please see

How to copy a zip file to a solaris test server

2007-10-29 Thread Gunnar.Bostrom
Hi, I would like to copy a zip file to our test environment I use the maven-assembly-plugin to generate the zip file in the target directory. I use the wagon-maven-plugin to copy the files from the target directory to the tests environment. The problem is that there are two other files in the

Re: dependencies outside maven

2007-10-29 Thread Guillaume Lederrey
On 26/10/2007, Wayne Fay [EMAIL PROTECTED] wrote: Instead I would build a little shell script that would analyze your pom, go out to your proprietary repo and download the necessary files and then use mvn install:install-file -DgeneratePom=true -DcreateChecksum=true ... to install each one

Re: plexus-archiver snapshot

2007-10-29 Thread Jo Support
i agree, but all the direct dependecies of my prjs points to stable versions of third party jars: probably somewhere in the chain, someone released a jar as stable while it is depending from a snapshot. any suggestion tom rebuild the entire dependency chain? any tool able to do it? regards, Jo

Re: dependencies outside maven

2007-10-29 Thread Wayne Fay
Right on the Maven homepage is: Maven Tasks for Ant 2.0.7 (binaries, documentation, release notes). That should do it. Wayne On 10/29/07, Guillaume Lederrey [EMAIL PROTECTED] wrote: On 26/10/2007, Wayne Fay [EMAIL PROTECTED] wrote: Instead I would build a little shell script that would

site:stage inheriting

2007-10-29 Thread Yann Davin
Hi all, I'm trying to generate my multi-modules website with the site:stage command from my root level. It's work, but by default the default website path of a module-A which has a parent-A which has a parent-B will be stageDirectory/parent-B/parent-A/module-A I would like to suppress this

Re: dependencies outside maven

2007-10-29 Thread Guillaume Lederrey
Yep, I did see that. There is an install task, but if I read the documentation correctly, I need to create the pom by hand. mvn install:install-file ... would take care of that automagically ... Ok, it's not that hard to script the creation of a pom, but as maven seems to know how to do it, I'd

maven-release-plugin best practice question

2007-10-29 Thread maarten roosendaal
Hi, I'm working with the maven-release-plugin and it works fine except for the fact that my own module-version-SNAPSHOT dependencies in various pom.xml's do no get updated when performing a release:prepare. I thought i could use the dependencyManagement for this but when i use this and do a

Re: maven-release-plugin best practice question

2007-10-29 Thread Graham Leggett
On Mon, October 29, 2007 5:18 pm, maarten roosendaal wrote: I'm working with the maven-release-plugin and it works fine except for the fact that my own module-version-SNAPSHOT dependencies in various pom.xml's do no get updated when performing a release:prepare. I thought i could use the

Re: How to use different databases for tests and the actual application?

2007-10-29 Thread jimpo
Hi, yes, this is something I have actually started to use as a basic principle. In src/main/resources and src/test/resources there is a config file jdbc.properties which defines the connection details. It has properties such as jdbc.username=${jdbc.username} jdbc.password=${jdbc.password}

Re: maven-release-plugin best practice question

2007-10-29 Thread maarten roosendaal
Thanks for the quick reply, i'll give it a shot. - Original Message From: Graham Leggett [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Cc: users@maven.apache.org Sent: Monday, October 29, 2007 4:29:25 PM Subject: Re: maven-release-plugin best practice question On Mon,

Re: maven-release-plugin best practice question

2007-10-29 Thread Nicole Lacoste
Hi Maarten, We had the same problem and here's how we fixed it. WARNING this is probably not a best practice, more of a twisting mavens arm to get it to do what we want. 0. Prerequisite is that all the artifacts have the same version, the version of the highest parent. 1. We declare all the

Re: Activate Profile

2007-10-29 Thread Morris Jones
OMax wrote: When I attempt to activate a different profile on the Maven command line, I _still_ get the activeByDefault profile, and not the one I wanted. It's opposite of what I have, at least on 2.0.7. If I activate different profile it's taken into the account but not the default one. But I

Re: Activate Profile

2007-10-29 Thread OMax
What I can say here... I can send you my copy of maven and you send me your :) Let's use our workarounds for now... Oleksandr Maksymchuk, http://omax.org.ua OMax -- View this message in context: http://www.nabble.com/Activate-Profile-tf4650098s177.html#a13472522 Sent from the Maven - Users

Re: releasing 2.4

2007-10-29 Thread srinivas ramgopal
Hi So I guess that the patch contributed by Marat R. is usable. If so, what is the version of the fixed sure fire. If not, please let us know as when a workable version of surefire would be avialable...hopefully in two months, as 2007 end is already around the corner ! :) Thanks in advance

incorrect WEB-INF generated location

2007-10-29 Thread Omar Yasseen
Hi All, I think Maven is a cool tool to use but why are things so damn hard :| Thanks for any help! Summary: Invoking mvn ant:ant Maven plugin is generating incorrect path for WEB-INF location in maven-build.xml. Question: How can I configure the pom.xml so that mvn generates webinf

java.lang.NullPointerException in 1.1-beta-3 after adding parent pom

2007-10-29 Thread Andreas Guther
I have added a parent pom file with an URL to our company logo. This worked fine and the company logo appeared on the right side of the header section. I then was looking in changing the default build configuration by enabling the component

Re: How to use different databases for tests and the actual application?

2007-10-29 Thread Marco Mistroni
hi, Not sure about that.. maven creates only 1 war, and tha ti ste result of you building app i m using spring, using 2 different datasources for test and deploy if u r not using spring, i'd go for 2 separate config files, but not knowing your app i won't comment further hth marco On

RE: java.lang.NullPointerException in 1.1-beta-3 after adding parent pom

2007-10-29 Thread Andreas Guther
I will add a ticket. But I am not sure how reproducible this is. After restarting Continuum again the problem was gone. Andreas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of olivier lamy Sent: Monday, October 29, 2007 1:40 PM To: [EMAIL PROTECTED]

Test multiple DBs in sequence

2007-10-29 Thread Yan Huang
Hello Folks, If I want to run the same unit test cases against a list of DBs within a single build, is there a way to configure it in pom.xml? Basically, let's say I want to run the tests against oracle, sybase and mysql in sequence within the same test phase, how can I do it? Maven1 has a

RE: NPE all of a sudden

2007-10-29 Thread William Ferguson
I suspect that you have a /src/test/java folder with no contents. Not sure why SureFire can't handle this, it looks like a bug to me. You have 2 options (if its as I suspect) 1) Remove the empty src/test/java folder 2) Declare the Surefire plugin and configure it not to execute any tests.

Re: Sonatype Book and Repository Configuration

2007-10-29 Thread Insitu
Hello Greg, Setting up webdav in Apache (2.2) is kind of trivial: DavLockDB /var/lock/dav/lock Alias /maven2 /var/www/maven2 Directory /var/www/maven2 Dav On AllowOverride None /Directory That said, this is a maven list and your question is rather httpd specific. Did you have a look at