Re: Customizing which modules should be processed using goals

2008-01-18 Thread Patrick Schneider
Alternatively, the user can just navigate to the desired module's directory and do a 'mvn clean install' from there. Then you have the option of building everything at once, or building one at a time. Patrick On Jan 18, 2008 3:53 PM, Wayne Fay <[EMAIL PROTECTED]> wrote: > You don't do this wit

Re: [m2] issue activating profiles.

2007-12-11 Thread Patrick Schneider
I haven't seen those warnings before... Have you tried using help:active-profiles? Try: $ mvn -P dev- help:active-profiles This will list (surprise!) the currently active profiles with which Maven is executing. Patrick On Dec 11, 2007 12:43 PM, Mick Knutson <[EMAIL PROTECTED]> wrote: >

Re: Resource relative paths in test cases...

2007-09-26 Thread Patrick Schneider
- Absolute pathnames, beginning with "/" are fully qualified file names within the jar file. - Relative pathnames, not beginning with "/" are relative to the class upon which getResourceAsStream is called" Maybe try the getClass().getClassLoader().getResourceAsStream() method with a relative p

Re: error: IO exception sun.io.MalformedInputException

2007-08-13 Thread Patrick Schneider
Enrique, Are you using the IBM JDK? If so, do you know if your files are explicitly encoded in UTF-8? I've experienced the same problem with the IBM JDK -- the filtering in Maven was munging the bits, causing failures. You might experiment with altering the default filtering, by stating explici

Re: skip modules question

2007-07-27 Thread Patrick Schneider
mvn -N clean:install On 7/27/07, Timothy Reilly <[EMAIL PROTECTED]> wrote: > > I was wondering .. is there a way to skip building the sub-modules in a > project which is a parent pom and also an aggregator? > > I don't really want to split the pom into parent and aggregator, but I can > if that's

Re: Maven: Unable to create a WAR package due to web.xml

2007-07-23 Thread Patrick Schneider
See the default for the warSourceDirectory option in maven-war-plugin: http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#webappDirectory 'webapp' is the default. Patrick On 7/23/07, Vaidya, Supriya A (US - Chicago) <[EMAIL PROTECTED]> wrote: I fixed this by changing my 'web' di

Re: Maven with Perforce

2007-06-26 Thread Patrick Schneider
. Thanks a lot for your valuable time and input. Patrick Schneider-4 wrote: > > I'm a bit unclear what you mean by "compile the codebase files of the > above > changelist". Do you only want to compile the files affected by the > changelist? If so, that doesn&#x

Re: Maven with Perforce

2007-06-26 Thread Patrick Schneider
I'm a bit unclear what you mean by "compile the codebase files of the above changelist". Do you only want to compile the files affected by the changelist? If so, that doesn't seem doable. You might have a look at the Maven SCM plugin for a description of what it can do for you: http://maven.ap

Re: Plug-in snapshots and releases

2007-06-18 Thread Patrick Schneider
You cannot (should not) release with SNAPSHOT dependencies. Version 2.0-beta-6 of the maven-release-plugin, however, will allow you release with SNAPSHOT dependencies, so you could try upgrading to that. On 6/18/07, Jon Strayer <[EMAIL PROTECTED]> wrote: I have a project that uses dashboard-ma

Re: Build number and current date

2007-04-25 Thread Patrick Schneider
You might look into the buildnumber plugin: http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/index.html Patrick On 4/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: hello, how can I get the current date (formatted in english) and/or build number ?? i.e : something like a pro

Re: Assembly deployment

2007-04-11 Thread Patrick Schneider
IMO, what you are doing sounds reasonable. Could you use Ant instead of Perl to deploy on the target machine? If so, you could wrap your Ant script up with the maven-antrun-plugin. You also might look at the Cargo plugin (http://cargo.codehaus.org) if your project is deployed to a container.

Re: Maven users in the industry

2007-04-11 Thread Patrick Schneider
You can also look on the Team List page ( http://maven.apache.org/team-list.html) -- it lists the Organization that each of the contributors work for. Patrick On 4/11/07, Stephane Nicoll <[EMAIL PROTECTED]> wrote: I know numerous software companies in Belgium using Maven in fields such as log

Re: Problem with Tools.jar when building a project with SUN JDK 1.5

2007-03-31 Thread Patrick Schneider
Double-check that you've installed the JDK, not the JRE. The JRE does not ship tools.jar. Also, if you've installed *both*, you may want to check that you've installed them to different locations. A conversation about this is here: http://forum.java.sun.com/thread.jspa?threadID=685178&tstart=1

Re: Maven and Perforce

2007-03-22 Thread Patrick Schneider
At what point in the build are you trying to create the label? During a release? On every build? I assume you are trying to use maven-scm-provider-perforce ? On 3/22/07, Aidan O'Donnell <[EMAIL PROTECTED]> wrote: Hi, I am trying to create a label in perforce as part of my build process. I

Re: Simple Dependencies List

2007-03-15 Thread Patrick Schneider
Hi Ian, Not that I know of -- I believe when you turn the -X output on, you get it all. Patrick On 3/15/07, Dees, Ian (GE Healthcare) <[EMAIL PROTECTED]> wrote: That's getting close... is there a way to disable all of the debug statements that have to do with fetching POMs and JARs from remo

Re: Problem /w RelativePath and Multiple level Inheritance

2007-03-14 Thread Patrick Schneider
Hi Miguel, You should change the section in your main pom to this: parent son In other words, before son or grandson can be built, you need to build the parent. Cheers, Patrick On 3/14/07, Miguel Angel Hernández <[EMAIL PROTECTED]> wrote: Hi all, My first message was rejected as s p

Re: dependencyManagement does not work with war file

2007-01-29 Thread Patrick Schneider
Can you send your parent pom and the ear pom? On 1/29/07, Andi Anderson <[EMAIL PROTECTED]> wrote: did you try putting [1.0,) in the dependancy section of the ear pom for the war? --- Thierry Lach <[EMAIL PROTECTED]> wrote: > I'm working on a small "example" project and am > trying to incorp

Re: Process Question

2007-01-24 Thread Patrick Schneider
Interestingly, my organization is trying to figure out the same issue at the moment. The big problem that I see with the 'mvn clean deploy' is that, while the build is numbered, you don't really have any way of reproducing that specific build. That is, the deploy plugin doesn't tag anything in y

Re: Turning off transitive dependencies in Maven2

2007-01-18 Thread Patrick Schneider
I believe creating an exclusion list is your only option. Transitive dependency resolution is not switchable, as far as I know. Patrick On 1/18/07, Munoz, Pablo <[EMAIL PROTECTED]> wrote: Help, I need to figure out how to turn off transitive dependencies in Maven 2. I know which libs I nee

Re: Error creating multi-module assembly

2007-01-14 Thread Patrick Schneider
I think the problem might be in your pom.xml... have you tried the standard stuff? [...] [...] [...] maven-assembly-plugin assembly.xml [...] On 1/14/07, Evan Toliopoulos <[EMAIL PROTECTED]> wrote: + Error

Re: Not a circular dependency...

2007-01-11 Thread Patrick Schneider
Maybe you could try using the assembly plugin to assemble your final package... and use the assembly descriptor to specify which items should be included in it? This should allow you to remove the pluginArtifact dependency in your applicationArtifact pom. Just a thought... Patrick On 1/11/07

Re: Just checking my understanding of SNAPSHOT vs real versions

2007-01-11 Thread Patrick Schneider
Snapshots are checked once a day by default. You can override this by passing the -U flag, forcing maven to update its snapshots. Here's a good review of snaps, by Brett: http://blogs.maven.org/brett/2005/04/15/1113510156000.html On 1/11/07, Christian Goetze <[EMAIL PROTECTED]> wrote: A "re

Re: adding dependant jar to assembly?

2007-01-06 Thread Patrick Schneider
gisecurity:acegi-security aopalliance:aopalliance aspectj:aspectj org.springframework:spring assembly-descriptor.xml On 1/6/07, Patrick Schneider <[EMAIL PROTECTED]> wrote

Re: adding dependant jar to assembly?

2007-01-06 Thread Patrick Schneider
Are you using an assembly descriptor? You should be able to specify things like which dependencies to include from there. Have a look here: http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/including-and-excluding-artifacts.html Patrick On 1/6/07, Mick Knutson <[EMAIL PRO

Re: unable to build

2007-01-05 Thread Patrick Schneider
Murugan, Are there any special settings in your settings.xml file? (~/.m2/settings.xml) A 403 response for that artifact is odd -- click on the link; it should work. (Works for me at least.) I assume your internet connection is working on the machine from which you are trying to build? Patri