Partial compile during generate-sources phase

2007-03-23 Thread Slavic Chernyak
I'm working on a plugin to automate a visual age tool that generates java classes from cobol copybooks (ibm record framework). We still have a bunch of applications that use this and everytime there is a copybook change somebody needs to startup visual age and go through the gui to generate java

undeclared dependencies in plugins

2007-03-23 Thread Brian E. Fox
As part of the checking for 2.0.6, I ran dependency:analyze against the plugins. We found that almost all plugins have undeclared dependencies. Those with undeclared dependencies on plexus-utils will require a workaround in maven itself to avoid hosing people. (Jason is going to send a separate ema

Re: Shared component issues

2007-03-23 Thread Mark Hobson
On 23 Mar 07, at 5:49 PM 23 Mar 07, Brian E. Fox wrote: True. I don't see then why we wouldn't have a module for each shared component like we do with plugins. Having a single shared project will tend to get cluttered with issues and makes it harder to prepare for releases etc. I agree, this is

Re: Shared component issues

2007-03-23 Thread Jason van Zyl
Want me to make a JIRA project for the shared components? Jason. On 23 Mar 07, at 5:49 PM 23 Mar 07, Brian E. Fox wrote: True. I don't see then why we wouldn't have a module for each shared component like we do with plugins. Having a single shared project will tend to get cluttered with issues

RE: Shared component issues

2007-03-23 Thread Brian E. Fox
True. I don't see then why we wouldn't have a module for each shared component like we do with plugins. Having a single shared project will tend to get cluttered with issues and makes it harder to prepare for releases etc. -Original Message- From: Mark Hobson [mailto:[EMAIL PROTECTED] Se

Re: Shared component issues

2007-03-23 Thread Mark Hobson
On 23/03/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: I think it is likely that users will end up reporting the issues against plugins that expose shared components (aka dependency-plugin and dependency-analyzer) because the users don't know that the shared components exist. For shared components

RE: Shared component issues

2007-03-23 Thread Brian E. Fox
I think it is likely that users will end up reporting the issues against plugins that expose shared components (aka dependency-plugin and dependency-analyzer) because the users don't know that the shared components exist. For shared components not exposed directly to the user through any single plu

Shared component issues

2007-03-23 Thread Mark Hobson
Hi there, Where's the best place to raise JIRA issues against shared components? The pom points to MNG, but there's no 'Shared Components' component in that JIRA project. Would it be best to create a JIRA component or a new JIRA project with components per shared component? Cheers, Mark -

Re: What is getArtifacts() method of MavenProject returning?

2007-03-23 Thread Carlos Sanchez
Thanks Daniel, that's right, Maven populates the dependencies lazily so it's going to depend on what phases have you run. On 3/23/07, Daniel Kulp <[EMAIL PROTECTED]> wrote: On Friday 23 March 2007 12:28, Carlos Sanchez wrote: > there's no order guaranteed afaik, the returned object is a Set > >

Re: [Archetypes] plugin proposition

2007-03-23 Thread Raphaël Piéroni
Hi Answers inlined. 2007/3/23, Brett Porter <[EMAIL PROTECTED]>: Hi, Sorry for being sluggish :) On 21/03/2007, at 8:41 AM, Raphaël Piéroni wrote: > Hi, > > Do any one had the time to comment the sources and/or the first doco > http://mojo.codehaus.org/maven-archetypeng ? This looks very goo

Re: What is getArtifacts() method of MavenProject returning?

2007-03-23 Thread Daniel Kulp
On Friday 23 March 2007 12:28, Carlos Sanchez wrote: > there's no order guaranteed afaik, the returned object is a Set > > I think in 2.0.5 there was an attempt to make it follow the pom order > http://jira.codehaus.org/browse/MNG-1412 > > getArtifacts returns all dependencies (including transitive

Re: What is getArtifacts() method of MavenProject returning?

2007-03-23 Thread Carlos Sanchez
there's no order guaranteed afaik, the returned object is a Set I think in 2.0.5 there was an attempt to make it follow the pom order http://jira.codehaus.org/browse/MNG-1412 getArtifacts returns all dependencies (including transitive) Set i'm gonna add some javadocs On 3/23/07, Alin Dreghiciu

RE: Remote Resources plugin

2007-03-23 Thread Duda, Rob
So it strips the .vm off the filtered file? That would probably work just fine then. I wasn't aware of that part. Let me give it a try and see if this will work. Thanks, Rob -Original Message- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 10:43 AM To: dev@mave

Re: Remote Resources plugin

2007-03-23 Thread Daniel Kulp
Rob, One more note: The snapshot changes the behavior slightly. With the snapshot, only resources ending in ".vm" are pushed through velocity. Thus, your xsd and other files would not be filtered. If you name them foo.xsd.vm, that would create the foo.xsd at process time with the values

Re: Remote Resources plugin

2007-03-23 Thread Daniel Kulp
Rob, I just pushed a new snapshot (1.0-alpha-5) that fixes this. Dan On Friday 23 March 2007 11:05, Duda, Rob wrote: > I had posted the attached message to the user list yesterday but > decided to look at the source code myself to see if I could find a > clue to the problem myself. Well I did

What is getArtifacts() method of MavenProject returning?

2007-03-23 Thread Alin Dreghiciu
Hi guys, Can someone enlight me and tell what will the method getArtifacts from MavenProject return? What Artifacts? Alin Dreghiciu

Remote Resources plugin

2007-03-23 Thread Duda, Rob
I had posted the attached message to the user list yesterday but decided to look at the source code myself to see if I could find a clue to the problem myself. Well I did. I might be helpful to the people that might want to use this plug-in that you mention in the documentation that if uses the f

Re: Problem with Scope of Transitive Dependencies

2007-03-23 Thread Jason van Zyl
On 23 Mar 07, at 7:18 AM 23 Mar 07, Thomas R. wrote: Hello, we are developing a very large project with a layered architecture. We decided to use Maven (Version 2.0.4) in order to have a good dependency-management. We are now facing the following problem with transitive dependencies: C

Problem with Scope of Transitive Dependencies

2007-03-23 Thread Thomas R.
Hello, we are developing a very large project with a layered architecture. We decided to use Maven (Version 2.0.4) in order to have a good dependency-management. We are now facing the following problem with transitive dependencies: Consider following (simplified) example: We have a module DAO a

Re: Test failure on trunk

2007-03-23 Thread Andrew Williams
I assumed that there was a leak or something weird and that it would get addressed. I have certainly seen it compile and test fine without it before, recently too, so I know it is possible... Andy On 22 Mar 2007, at 15:46, Thierry Lach wrote: Any reason why this couldn't just be added perm