Re: Question about Maven2 and Heap Space

2009-06-12 Thread Ryan Moquin
ated > tag (during the prepare) followed by a mvn deploy run from the checkouted > directory. > > Cheers. > > 2009/6/8 Ryan Moquin > > > Ok, if I do just a mvn:deploy with 1024MB of memory, it fails at the same > > spot w

Re: Question about Maven2 and Heap Space

2009-06-08 Thread Ryan Moquin
checkout is done in target, can I just do a mvn deploy on the individuals modules to effectively finish the release:perform? It's the only way I'm going to be able to finish my release. Thanks, Ryan On Mon, Jun 8, 2009 at 11:51 AM, Ryan Moquin wrote: > It looks like it does fork s

Re: Question about Maven2 and Heap Space

2009-06-08 Thread Ryan Moquin
and just "mvn deploy" your project? > > I don't remember is the release plugin forks or not. > > My 2 cents, > Cheers > > 2009/6/8 Ryan Moquin > > > I'm trying to figure out why maven 2.1 is running out of heap space when > I > > do a relea

Question about Maven2 and Heap Space

2009-06-08 Thread Ryan Moquin
I'm trying to figure out why maven 2.1 is running out of heap space when I do a release:perform on my project. The project builds fine until I do a release:perform in which case it runs out of memory. The stack trace seems to indicate that there was enough memory. Do I need to give more memory t

Re: Dependency can't be resolved...

2009-02-11 Thread Ryan Moquin
he dependency.. it will ignore that fact. Oh well, hopefully this information is useful to others that might encounter similar issues. Ryan On Tue, Feb 10, 2009 at 7:50 PM, Ryan Moquin wrote: > So there are some more differences, even though my development machine are > building the same

Re: Dependency can't be resolved...

2009-02-10 Thread Ryan Moquin
think something is screwy with the Assembly plugin or something? On Tue, Feb 10, 2009 at 6:46 PM, Ryan Moquin wrote: > I keep getting this error when one of my subprojects builds with Maven 2.1 > (the XXX represents a child module of the project): > > [INFO] [site:attach-descriptor

Dependency can't be resolved...

2009-02-10 Thread Ryan Moquin
I keep getting this error when one of my subprojects builds with Maven 2.1 (the XXX represents a child module of the project): [INFO] [site:attach-descriptor] [WARNING] The dependency: XXX can't be resolved ut has been found in the reactor. This dependency has been excluded from the plugin execut

Re: Release plugin cyclic problem

2009-01-27 Thread Ryan Moquin
th an error telling me what it was trying to resolve (which by fixing manually I think might allow the release plugin to function properly). On Tue, Jan 27, 2009 at 8:13 PM, Ryan Moquin wrote: > I've been struggling with the maven2 release plugin but have managed to get > the majorit

Release plugin cyclic problem

2009-01-27 Thread Ryan Moquin
I've been struggling with the maven2 release plugin but have managed to get the majority of my problems except for one. For some reason when I do a release on a subproject that I've previously managed to successfully released before, the maven2 release plugin will keep repeatedly asking me for the

Question about component descriptors and reuse

2009-01-12 Thread Ryan Moquin
With the advice I've seen from you all, I've been working on learning how to better decouple my builds by bundling resources and then sharing them out with projects, and void the tendency to want to include paths between dependencies, which can lead to broken builds. This leads me to a question th

Re: maven-dependency-plugin copy-dependencies

2009-01-08 Thread Ryan Moquin
true > > > > > Jeff MAURY > > > On Thu, Jan 8, 2009 at 3:30 PM, Ryan Moquin wrote: > >> That's what I figured, I couldn't see how it would work this way, I think >> this page made me think that you would use dep

Re: maven-dependency-plugin copy-dependencies

2009-01-08 Thread Ryan Moquin
rote: > Because you bound it to the phase package, you should use mvn clean package > instead. I think Maven will not pick up your configuration if your run mvn > clean dependency:copy-dependencies > > Regards > Jeff > > > On Wed, Jan 7, 2009 at 7:16 PM, Ryan Moquin >

maven-dependency-plugin copy-dependencies

2009-01-07 Thread Ryan Moquin
I'm trying to understand how to use the copy-dependencies goal for the maven-dependency-plugin. Basically I want to just copy a few dependencies that are important to a directory, and exclude the rest. For some reason, I can't seem to get any of the filters to work, here is an example of the plug

Question about project packaging

2008-10-29 Thread Ryan Moquin
Hello, I'm hoping that I'm not thinking in the wrong track with this question or that there is an obvious answer to it that I should have been able to find (I'm not completely sure I'm searching for it with the correct terms). Anyhow, I have a need for being able to reuse a maven2 project to build

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

2008-06-17 Thread Ryan Moquin
ache.org/plugins/maven-dependency-plugin/examples/resolving-conflicts-using-the-dependency-tree.html > > > On Tue, Jun 17, 2008 at 6:04 AM, Ryan Moquin <[EMAIL PROTECTED]> > wrote: > > > I guess when I think about it, this looks like a stupid question because > it >

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

2008-06-16 Thread Ryan Moquin
suggestions on how to troubleshoot this. Thanks! Ryan On Mon, Jun 16, 2008 at 12:14 PM, Ryan Moquin <[EMAIL PROTECTED]> wrote: > I have never really been able to figure this out and it's really driving me > up the wall at the moment. Is there a time that Maven2 will au

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

2008-06-16 Thread Ryan Moquin
I have never really been able to figure this out and it's really driving me up the wall at the moment. Is there a time that Maven2 will automatically exclude transitive dependencies? Here is the scenario: I have 2 projects, then both include the exact same dependency. When I build the first lib

Re: Memory issues in 2.0.9

2008-05-19 Thread Ryan Moquin
If it at all helps, mine only fails a little over halfway though a multimodule build (there are probably 12 modules total) with 2.0.9, but makes it all the way with 2.0.8. Obviously that is very vague sine you know nothing about my projects, but what I'm hoping maybe helps a little is that it just

Re: Memory issues in 2.0.9

2008-05-15 Thread Ryan Moquin
: Maven Users List > Subject: Re: Memory issues in 2.0.9 > > You sure the only difference is 2.0.8 vs 2.0.9? That would mean that > you have all plugins locked down (and same JDK etc), and only the core > is changing. Is this the case? > > Wayne > > On 5/15/08, Ryan Moquin <

Re: Memory issues in 2.0.9

2008-05-15 Thread Ryan Moquin
<[EMAIL PROTECTED]> wrote: > You sure the only difference is 2.0.8 vs 2.0.9? That would mean that > you have all plugins locked down (and same JDK etc), and only the core > is changing. Is this the case? > > Wayne > > On 5/15/08, Ryan Moquin <[EMAIL PROTECTED]> wrote:

Memory issues in 2.0.9

2008-05-15 Thread Ryan Moquin
Hello, I'm not sure what all to submit informationwise about this issue, but I switched to Maven 2.0.9 and now my builds fail with PermGen errors and on my other build, it complains about being out of heapspace. When I switch back to 2.0.8, I do not get this memory errors during a full build Are

Maven2 Assembly plugin 2.2-beta seems broken

2007-12-30 Thread Ryan Moquin
I've been trying to find out why my assembly doesn't appear to be working correctly. I thought I saw someone mention in one of the bug reports that the elements no longer copy with 2.2-beta. I've discovered that to be true since my resources specified with don't copy with 2.2-betabut they do wi

Re: Does the tag work?

2007-12-27 Thread Ryan Moquin
t; On Dec 27, 2007 1:21 PM, Ryan Moquin <[EMAIL PROTECTED]> wrote: > > > Ok, all the plugin examples I see, usually don't put a version which > made me > > think that by not specifying a version, it was kept up to date for you. > > > > A perfect exampl

Re: Does the tag work?

2007-12-27 Thread Ryan Moquin
e.org/plugins/maven-assembly-plugin/usage.html On Dec 27, 2007 3:12 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Dec 27, 2007 1:07 PM, Ryan Moquin <[EMAIL PROTECTED]> wrote: > > Hi, I'm trying to change the basedirectory for my assembly to a simpler > > name, sin

Re: assembly plugin - topLevel directory to be supressed in war

2007-12-27 Thread Ryan Moquin
Yeah, that seems to have solved the problem I must have been stuck then on the 2.1 then. On Dec 27, 2007 3:16 PM, Ryan Moquin <[EMAIL PROTECTED]> wrote: > So, by using that, it pull whatever the latest released version is? > > > On Dec 27, 2007 3:14 PM, Wendy Smoak <[EM

Re: assembly plugin - topLevel directory to be supressed in war

2007-12-27 Thread Ryan Moquin
So, by using that, it pull whatever the latest released version is? On Dec 27, 2007 3:14 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Dec 27, 2007 1:09 PM, Ryan Moquin <[EMAIL PROTECTED]> wrote: > > My pom specified the assembly plugin like this: > > > >

Re: assembly plugin - topLevel directory to be supressed in war

2007-12-27 Thread Ryan Moquin
My pom specified the assembly plugin like this: maven-assembly-plugin I'm guessing this means I'm using version 2.2, and more than likely he is using the same thing? On Dec 27, 2007 3:07 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Dec 27, 2007 1:03 PM,

Does the tag work?

2007-12-27 Thread Ryan Moquin
Hi, I'm trying to change the basedirectory for my assembly to a simpler name, since I don't seem to be able to get the includeBaseDirectory tag to work. When I try to use , I get this error: [INFO] Error reading descriptor Embedded error: Unrecognised tag: 'baseDirectory' (position: START_TAG se

Re: assembly plugin - topLevel directory to be supressed in war

2007-12-27 Thread Ryan Moquin
He did, it's listed in his example descriptor above. I've never see this work. On Dec 27, 2007 2:57 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Dec 19, 2007 1:08 PM, Pankaj Tandon <[EMAIL PROTECTED]> wrote: > > > Sounds simple enough.. but I'm not able to get past the fact that the > > war'r

Re: assembly plugin - topLevel directory to be supressed in war

2007-12-27 Thread Ryan Moquin
I mean I don't think it works to use: false< > > /includeBaseDirectory> I just started playing with my assembly descriptors again and don't see to be able to even get the plugin to recognize the tag for some odd reason. On Dec 27, 2007 2:54 PM, Ryan Moquin <[EMAI

Re: assembly plugin - topLevel directory to be supressed in war

2007-12-27 Thread Ryan Moquin
I don't think it works to specify not to include the baseDirectory. I've tried many times and was not able to do this successfully. Is there any reason you aren't letting the war plugin bundle up the war for you? On Dec 19, 2007 3:08 PM, Pankaj Tandon <[EMAIL PROTECTED]> wrote: > > Hi, > I inte

Re: Filtering resources in Assembly plugin

2007-12-27 Thread Ryan Moquin
Ok, just wanted to make sure I wasn't doing something wrong. Thanks! On Dec 27, 2007 11:52 AM, Mick Knutson <[EMAIL PROTECTED]> wrote: > Not yet. Very tedious, but at least it works Hopefully it will be > fixed > soon. > > > On Dec 27, 2007 8:44 AM, Ryan Moq

Re: Filtering resources in Assembly plugin

2007-12-27 Thread Ryan Moquin
So I take it that filtering the fileSets probably still hasn't been fixed? On Sep 21, 2007 12:52 PM, Paul Austin <[EMAIL PROTECTED]> wrote: > Will the filtering of dependencySets also be fixed? > > Paul > > Mick Knutson wrote: > > the filtering will be fixed in the next release, but you > have t

Re: [M2] Reproducible build

2007-12-24 Thread Ryan Moquin
be before mi-January 2008. > > Rémy > > 2007/12/23, Ryan Moquin <[EMAIL PROTECTED]>: > > > > I really like the tool BeyondCompare. I had my company get me a license > a > > couple weeks ago so I could do directory compares. If you want to > compare > > r

Re: [M2] Reproducible build

2007-12-23 Thread Ryan Moquin
I really like the tool BeyondCompare. I had my company get me a license a couple weeks ago so I could do directory compares. If you want to compare releases or more complicated things, such as directories, just unzip them and run a tool like that to verify the differences. I've been using it to

Can anyone recommend a resource on profile best practices?

2007-12-18 Thread Ryan Moquin
Our build is starting to become more complex with various resources and deployment servers. I've been wrestling with the best way to use profiles to help me automatically deploy to these environments (since errors abound trying to reconfigure everything everytime I need to deploy anything). Does

A question about advanced assembly plugin usage (or if there is a better way)

2007-12-02 Thread Ryan Moquin
I was wondering if anyone has tried to use the assembly plugin to merge modified configuration files with a distribution .zip from an external project output. In other words, if I had a zip file that was a distribution from another project, such as a tomcat bundle that includes a couple webapps,

Re: Maven2 and unit tests with hibernate and jpa connection problems

2007-12-01 Thread Ryan Moquin
ue to generate your tables, hibernate will > take care > of building tables for proper database you'll specify > if you then use dbunit to populate tables, dbunit will take care too of > handling > database issues... > > hth > marco > > On Dec 1, 2007 3:53 PM, R

Re: Maven2 and unit tests with hibernate and jpa connection problems

2007-12-01 Thread Ryan Moquin
eve Ebersole <[EMAIL PROTECTED]> wrote: > On Saturday 01 December 2007 09:53:30 am Ryan Moquin wrote: > > I think my main concern with this (hence why I'm asking general advice) > is > > that sometimes a unit test might work against HSQL and fail against > another > &g

Re: Maven2 and unit tests with hibernate and jpa connection problems

2007-12-01 Thread Ryan Moquin
I think my main concern with this (hence why I'm asking general advice) is that sometimes a unit test might work against HSQL and fail against another database such as MSSQL? Or am I worrying about something I shouldn't? I did make some progress finally though, I kept connection pooling on in my

Maven2 and unit tests with hibernate and jpa connection problems

2007-11-30 Thread Ryan Moquin
I'm having some trouble with my Maven2 build (using hibernate, jpa and spring) recently where all of a sudden I'm starting to get this error sporadically: ... Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.BindE xception: Address

Re: Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Ryan Moquin
classpathElements") > > -Original Message- > From: Ryan Moquin [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 29, 2007 2:49 PM > To: Maven Users List > Subject: Re: Does Maven 2.0.8 put test dependencies first in classpath? > > But I mean, if I had a subpr

Re: Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Ryan Moquin
verride > normal runtime ones. > > -----Original Message- > From: Ryan Moquin [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 29, 2007 1:45 PM > To: Maven Users List > Subject: Does Maven 2.0.8 put test dependencies first in classpath? > > So if I ha

Does Maven 2.0.8 put test dependencies first in classpath?

2007-11-29 Thread Ryan Moquin
So if I have a test dependency I include that is meant to override configuration files in a subproject I am building, should the test jar dependency override the compile time dependencies in the project being built? I was hoping this is how 2.0.8 would behave, but either it's not, or I have an err

Re: What is the proper way to provide subprojects with a global resource directory using relative paths?

2007-09-28 Thread Ryan Moquin
Smoak <[EMAIL PROTECTED]> wrote: > > On 9/28/07, Ryan Moquin <[EMAIL PROTECTED]> wrote: > > I have a multilevel multimodule project that creates servicemix service > > archives and also bundles up a client jar for me. This all worked > great, > > until I deci

What is the proper way to provide subprojects with a global resource directory using relative paths?

2007-09-28 Thread Ryan Moquin
I have a multilevel multimodule project that creates servicemix service archives and also bundles up a client jar for me. This all worked great, until I decided I wanted to put all my wsdls into a single directory and then specify that directory and the specific wsdl for inclusion in the proper pr

Re: Why Maven is Hard?

2007-09-25 Thread Ryan Moquin
Exactly, I'll never turn back. I'll also mention again, I don't know who uses netbeans, but I really find this Maven2 netbeans plugin to be invaluable: http://mevenide.codehaus.org/m2-site/ It has a lot of context sensitive input for the pom.xml, for dependencies and treats a maven2 project as i

Re: Why Maven is Hard?

2007-09-25 Thread Ryan Moquin
e navigation - I find it very difficult to get > around the maven site in any meaningful way. There are many > inter-dependent concepts and components, and each area's documentation > assumes that the reader understands the other areas. For a beginner, > that is rarely if ever the c

Re: Why Maven is Hard?

2007-09-24 Thread Ryan Moquin
I'm really floored that this discussion is even happening. Here is why: If people are build their core infrastructure around Maven to the point where they feel like they should give the project developers a hard time due to something as simple as documentation, don't you think then that it's time

Re: Why Maven is Hard?

2007-09-24 Thread Ryan Moquin
So you are saying that Maven IS hard because someone doesn't understand a huge project that they've never used before? You are saying that if it was done in ant it would be easier to understand? I find that extremely hard to believe. I've read plenty of articles written that I thought explained

Re: Relationship of resources and testResources

2007-08-09 Thread Ryan Moquin
; Well, 2.1 is a lot cooler than 2.0.x - however, I would tend to stay away > for now unless you want to get involved in the core - it's not THAT > stable. > At least wait until the alpha release, which should be coming around in a > month or so. > > -- > Eric Redmond &g

Re: Relationship of resources and testResources

2007-08-08 Thread Ryan Moquin
Oh you run 2.1? Do you build it from source? I tend to try to stay away from non-stable builds unless there is a feature I really need, so that I avoid problems like the one I'm describing. I absolutely love Maven though and am very very tempted to try out the newer stuff early :) On 8/8/07, Er

Re: Relationship of resources and testResources

2007-08-08 Thread Ryan Moquin
Ah thanks... man that was really frustrating. I think I have been bitten by this before with my persistence.xml and just assumed it was hibernates fault. Now I'm thinking it was this as well. Thanks for getting this off my mind. On 8/8/07, Max Bowsher <[EMAIL PROTECTED]> wrote: > > Eric Red

Re: Relationship of resources and testResources

2007-08-08 Thread Ryan Moquin
putDirecotry files should take precedence. > > -- > Eric Redmond > http://blog.propellors.net > > On 8/8/07, Ryan Moquin <[EMAIL PROTECTED]> wrote: > > > > If I have this in my pom: > > > > > > > > > > > >

Relationship of resources and testResources

2007-08-08 Thread Ryan Moquin
If I have this in my pom: src/main/resources /src/test/resources If I have a file such as hibernate.cfg.xml in both locations, but with different parameters... which one will take precedence during unit tests? >From I can see

Question about ordering of dependencies

2007-07-31 Thread Ryan Moquin
I'm a little puzzled since I thought I understood a simple thing about how Maven2 adds dependencies to the classpath. If I have a dependency that is a compile dependency and one that is a test dependency, won't the test dependency be included in the classpath first in the test phase? The reason I

Re: questions about using different config files, such as persistence.xml in maven configs

2007-07-13 Thread Ryan Moquin
ing happens at runtime (not dynamic) -- so you do run into the issue of "this Jar was packaged for DEV, this one for PROD" which many people dislike. So keep playing and reading with it, and bounce back over here with more questions as you have them. Wayne On 7/13/07, Ryan Moquin

Re: questions about using different config files, such as persistence.xml in maven configs

2007-07-13 Thread Ryan Moquin
production prodconnection And put ${connection} in the persistence.xml. Hope this helps -Tim Ryan Moquin schrieb: > Hi, I know that in order to use different configuration files (such as a > persistence.xml), such as test configurations vs. production config

questions about using different config files, such as persistence.xml in maven configs

2007-07-12 Thread Ryan Moquin
Hi, I know that in order to use different configuration files (such as a persistence.xml), such as test configurations vs. production configurations I need to setup profiles to allow these different files to be used. What is the preferred way to indicate to maven how to find a configuration file

Re: How to get a plugin to see my log4j.xml

2007-07-11 Thread Ryan Moquin
rovide some kind of configuration for it. You could build the > plugin yourself and add a suitable logging configuration when you build it. > > Ryan Moquin wrote: >> I'm trying to generate classes for a wsdl using the xfire-maven-plugin >> but >> I'm running in

Re: How to get a plugin to see my log4j.xml

2007-07-11 Thread Ryan Moquin
for the plugin - not your own project. If xfire-maven-plugin uses log4j for logging it should provide some kind of configuration for it. You could build the plugin yourself and add a suitable logging configuration when you build it. Ryan Moquin wrote: > I'm trying to generate classes for

How to get a plugin to see my log4j.xml

2007-07-09 Thread Ryan Moquin
I'm trying to generate classes for a wsdl using the xfire-maven-plugin but I'm running into trouble. I need to get my log4j.xml onto the plugins classpath so that I can see it's logging output, but it won't pick it up like I would have expected from the src/main/resources directory. Is there a w