Issues with mvn-scm-providers-git

2008-06-20 Thread Torbjørn Vatn
I'm having some issues getting this provider to work sadly. So far I've tried this: 1. git cloning http://ns1.backwork.net/git/maven-scm-providers-git.git^ and running mvn clean install 2. vim'ing into .m2/repository/org/apache/maven/scm/maven-scm-providers/1.0/maven-scm-providers-1.0.pom

Re: exec:exec with pom artifact?

2008-06-20 Thread Kristian Rink
Am Thu, 19 Jun 2008 11:53:53 +0200 schrieb Dirk Olmes [EMAIL PROTECTED]: I'm quite sure that this is not what you want. If you want to perform some task at the end of the build, add a module (which can have a POM of packaging pom as well) and do the necessary steps there. Declare the proper

ejb packaging: include depending jars?

2008-06-20 Thread Kristian Rink
Folks; using maven along with NetBeans IDE, I found the following situation: - Creating a NetBeans (ant) EJB project that includes external jars, I see these dependencies added as jar files to the ejb jar while building it. - Creating a maven project of packaging type ejb, I see dependencies

RE: How to omit/include a jar file during packaging

2008-06-20 Thread Beelen, M. - SPLXL
Hello Prabhu, Your problem isn't 100% clear to me yet. I'll try to anwser, but please explain more about your problem if this doesn't help. When you use maven the jar-files should not be within your project directory structure. The jar-files are in your local M2-repository and by declaring

RE: Incrementing a pom version in a multi-module project (without doing by hand)

2008-06-20 Thread Beelen, M. - SPLXL
Ian, In most project I've been working on the projects version only gets increase when a release has been done of the previous version. My advice would be to use the maven-release-plugin.[1] When you run maven release:prepare maven asks you for the version currently being released and the new

Generated test sources compiled into target/test-classes ?

2008-06-20 Thread DJP JEAN-PROST Dominique
Hello, I can't find a way to instruct Maven to output the result of the compilation of generated sources during generate-test-sources phase into target/test-classes. plug-in configuration : plugin groupIdorg.codehaus.mojo/groupId

Re: regarding creating new maven project

2008-06-20 Thread Tim Kettler
Ravinder Kankanala schrieb: Hi Hi, neither the issues nor the developer mailinglists are the right place for this kinds of questions. Please ask usage related questions on the users list next time. Apart from these lists just being the wrong place to ask this kinds of question, the

maven-checkstyle-plugin.

2008-06-20 Thread Niranjan Deshpande
I want to use the maven-checkstyle-plugin but with a .cse configuration files instead of the my xml rule set. I went through the checkstyle's documentation, but I did not find anything relevant. Also, the format of the eport generated is XML/plain format. Does plain refer to the HTML format? --

plugin to replace properties in the fs

2008-06-20 Thread Lustig, Marc (Allianz Deutschland, externer Mitarbeiter)
anybody knowing of a plugin to replace properties within the project filesystem?

Re: filtering web.xml

2008-06-20 Thread Henri Gomez
Any news about this problem ? 2008/5/17 Henri Gomez [EMAIL PROTECTED]: 2008/5/17 Tim Kettler [EMAIL PROTECTED]: There's currently a discussion on the dev list [1] about releasing the next version of the war plugin. I posted there yesterday that this bug should be fixed before a release, you

Too many open files during surefire test

2008-06-20 Thread Kathryn Huxtable
I'm converting a project from ant to maven and I'm getting a Too many open files error during testing when it tries to open some config files in a SAX parser. I don't get this error when using the TestRunner class from the command line. I don't think the specific file is relevant, and I

Fatal Error on Maven Clean

2008-06-20 Thread Steven
Hi, I trt to realize a clean on my maven project and i get this error. I have really no idea of what it could be and how i could resolve the problem. I would be very interested by understanding which process i should use to be able to resolve this on my own. All those file are on my

Re: Too many open files during surefire test

2008-06-20 Thread Kathryn Huxtable
I should have added that I'm running Maven 2.0.9 and maven-surefire- plugin 2.4.3. I'm supplying the argLine of -Xmx300M and I'm specifying a resource directory as an additional class path element. If I don't specify the memory I get out of memory errors. Specifying more doesn't help. -K

maven release-plugin: create-branch and behaviour of update dependencies

2008-06-20 Thread aldana
hi, i am using maven-release plugin to create branches. updating its own version and creating project in scm works fine. what i do miss is that the update of snapshot versions of dependencies is not asked for. but when branching sometimes the actual branch should update snapshot dependencies

RE: maven release-plugin: create-branch and behaviour of update dependencies

2008-06-20 Thread Beelen, M. - SPLXL
Hello Manuel, I'm not surprised that the maven-release-plugin doesn't interfere with the versions of dependencies in a project. IMHO you should change your expectations of the release:branche. The maven-release-plugin works on the current artifact. Whether or not other artifacts have been

Re: Question about why/when Maven will automatically exclude transitive dependencies.

2008-06-20 Thread joseph.desjardins
another useful one is mvn help:effectivePom On Tue, 2008-06-17 at 10:45 +0200, Julien Simon wrote: Hi, If you want to see the list of dependencies and their scope for a POM, you could try mvn dependency:tree For further information on how to use the dependency plugin, have a look a this

Passing compile dependencies to Ant-based mojo?

2008-06-20 Thread De Smet Ringo
Hello, I am busy converting our complete build process from Maven 1 to Maven 2. One of my tasks is to migrate our custom Maven 1 build plugin to the Maven 2 format. In this latter plugin, I wrote an Ant-based mojo that invokes the Weblogic WLI wlwbuild task. However, I failed to correctly

RE: How to omit/include a jar file during packaging

2008-06-20 Thread prabho
Hi Marco, I thought of doing mvn install, but the problem is we are having multiple build machines and the mvn install needs to be done in all the machines. Instead of that, I decided to keep the jar files in the system path. Here is the pom.xml snippets. Dir-A/pom.xml =

RE: How to get around a Maven Bug?

2008-06-20 Thread Hoying, Ken
Thank you! I had to use version 1.7 of the digester, but that did the trick. -Original Message- From: Barrie Treloar [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2008 11:56 PM To: Maven Users List Subject: Re: How to get around a Maven Bug? On Thu, Jun 19, 2008 at 11:46 PM,

RE: maven release-plugin: create-branch and behaviour of update dependencies

2008-06-20 Thread aldana
hi marco, thanks for your thoughts. of course i wouldn't want the plugin to automatically decide what to upgrade. what i would like is that it asks me in command-line dialog way which dependency-snapshots i want to upgrade in dependant project. you're right to map the coupling of

Upgrading maven?

2008-06-20 Thread Copo
I am learning to use servicemix and maven for 2 days. My version of maven is 2.0.6 and I seem to need a more recent. I work with mac osX 10.5.3, how can I just upgrade maven to 2.0.9? Thank you in advance Copo -- View this message in context:

RE: Upgrading maven?

2008-06-20 Thread MATHUS Baptiste
Hi copo, I don't know the mac at all, but I guess you just need to have a JDK to be able to use maven whatever version. So, if you're already using the 2.0.6, just download it from http://maven.apache.org/download.html and simply try to use it instead if the old one. To test it, maybe try

RE: -U

2008-06-20 Thread MATHUS Baptiste
-Message d'origine- De : Geoffrey Wiseman [mailto:[EMAIL PROTECTED] Envoyé : mardi 17 juin 2008 16:19 À : Maven Users List Objet : Re: -U On Tue, Jun 17, 2008 at 9:59 AM, SlinnHawkins, Jon (ELS-CAM) [EMAIL PROTECTED] wrote: Unfortunately - its updates to released versions.

Best practice for handling multi-modules version numbers

2008-06-20 Thread Arnaud Bailly
Hello, I vaguely remember reading a thread a few months ago on this topic, but could not find it searching nabble. The question is: how to minize duplication when setting project version numbers in a multi-module project ? I assume at that time that the version number should identical for a

maven 2.0.9 eclipse 3.2.2 problems

2008-06-20 Thread EJ Ciramella
Anyone experiencing this: [WARN] Failed to load plugin: org.apache.maven.plugins:maven-clean-plugin. Adding to late-bound plugins list. Reason: Failed to load plugin. Reason: The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist or no valid version could be found [WARN]

Struggling with ejbClientModule

2008-06-20 Thread Software Developer
Hi, I do not use maven to generate ejb clint. I have a project that contains ejb client code. Here is the pom of my ejb client: ?xml version=1.0 encoding=UTF-8? project modelVersion4.0.0/modelVersion groupIdnet.seapin.framework/groupId artifactIdtimedOpsClient/artifactId

Re: Too many open files during surefire test

2008-06-20 Thread Jon Seymour
Haven't seen the error myself, but I suspect the problem you are seeing is caused by a resource leak in your base code or your tests. The reason you are seeing it in surefire and not in testrunner is that surefire creates a new class loader for every test which means that each test will be getting

Re: Upgrading maven?

2008-06-20 Thread RedBugz Software
On Fri, Jun 20, 2008 at 8:45 AM, Copo [EMAIL PROTECTED] wrote: I am learning to use servicemix and maven for 2 days. My version of maven is 2.0.6 and I seem to need a more recent. I work with mac osX 10.5.3, how can I just upgrade maven to 2.0.9? The built-in mvn on Mac OS X 10.5.3 is 2.0.6,

Re: Too many open files during surefire test

2008-06-20 Thread Kathryn Huxtable
I'll take a look. It's not my code, or it would have been in maven to begin with. -K On Jun 20, 2008, at 12:58 PM, Jon Seymour wrote: Haven't seen the error myself, but I suspect the problem you are seeing is caused by a resource leak in your base code or your tests. The reason you are

Re: Too many open files during surefire test

2008-06-20 Thread Kathryn Huxtable
Nope, that's not it. I reduced it down to one test and it still fails and it fails in setUp. -K On Jun 20, 2008, at 3:03 PM, Kathryn Huxtable wrote: I'll take a look. It's not my code, or it would have been in maven to begin with. -K On Jun 20, 2008, at 12:58 PM, Jon Seymour wrote:

Re: Too many open files during surefire test

2008-06-20 Thread Jon Seymour
The way I would debug this is start maven in debug mode (search for -Xdebug in the mvn launcher and add the relevant options to MAVEN_OPTS). Fire up your remote java debugger (e.g. in Eclipse or equivalent) then set a break point on the exception. You also need to set the forking option to never

Re: Too many open files during surefire test

2008-06-20 Thread Kathryn Huxtable
Thanks. I'm running on Mac OS X 10.5.3. (The latest.) The ulimit for files is unlimited. I have a Windows system and an Ubuntu system in the house. (I work from home.) I'll try it on those platforms, too. I'm inclined to think that the error is bogus, simply because the test has barely

Assemblies, filtering, and multiproject builds - a question.

2008-06-20 Thread Christopher Patti
Folks; I have a project in a multiproject build that wants to generate a bunch of scripts. We're using the assembly plugin to do this, and in the sub-project build's pom.xml we have the following: -- !-- Assemblies for distribution. -- plugin

cannot find symbol symbol : class FactoryUtils

2008-06-20 Thread averm
Hello I am getting these errors when i try to package my files using mvn package cannot find symbol symbol : class FactoryUtils cannot find symbol symbol : class ListUtils Not sure why I am getting these errors, coz I have commons-beanutils as a dependency in my POM file.

A question about artifact resolution

2008-06-20 Thread ericr
Hi, I'm trying to develop a plugin in which I want to resolve an artifact so that I can copy it somewhere special before using it. Not knowing how (or if it's even possible) to embed the dependency plugin's resolution functionality, I decided to take what seemed like a simpler approach and