Re: Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-10 Thread Brian Fox
2009/5/10 Stevo Slavić > "Just because that's the way things are doesn't mean that's how they should > be.", said a character in the movie "Australia". > I dig that. > > In this particular scenario, local test scoped dependency vs compile scope > transitive dependency, it's my opinion that cur

Re: Message that artifact is already unpacked

2009-05-10 Thread Brian Fox
The dependency plugin uses the existence of some marker files to detect if a given artifact has been unpacked. By default these markers are stored in /target/dependency. On Sun, May 10, 2009 at 11:33 AM, Melissa Tolliver wrote: > I have an unpack execution which opens up a zip file in my deploym

Re: Creating archetypes and disabling velocity

2009-05-10 Thread Doug Hughes
Martin, Thanks for the suggestion the thing is, that's what this tread started about. I have an archetype-metadata.xml file and followed the documentation (not at the link you provided which, fyi, doesn't document the filtered or packaged attributes). Anyhow, it seems that the archetype-meta

RE: Creating archetypes and disabling velocity

2009-05-10 Thread Martin Gainty
how about adding includes for wanted extensions and excludes for files to be excluded such as this FileSet declaration for archetype-metadata.xml file? src/site **/*.ftl **/*.vm http://ant.apache.org/manual/CoreTypes/fileset.html ? Mar

Re: Creating archetypes and disabling velocity

2009-05-10 Thread Heinrich Nirschl
On Sun, May 10, 2009 at 7:37 PM, Doug Hughes wrote: > Rather than editing my source files, is there not a way to disable velocity > for spcific files or folders?  I ask because some of the problem files in my > archetype are binary.  I'm not too comfortable editing those by hand as you > suggest.

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-10 Thread Stevo Slavić
One can package, install and deploy such a war, no warning related to this issue will get printed. Regards, Stevo. On Sun, May 10, 2009 at 8:57 PM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > IIRC maven warns you that you have changed a dependency from compile scope > to test sc

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-10 Thread Stephen Connolly
IIRC maven warns you that you have changed a dependency from compile scope to test scope. you may have a valid reason for so doing, but maven is no medium and cannot ask a higher plain what you wanted to do. if a warning is not good enough, tough Sent from my [rhymes with myPod] ;-) On 1

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-10 Thread Stephen Connolly
Sent from my [rhymes with myPod] ;-) On 10 May 2009, at 18:01, Stevo Slavić wrote: "Just because that's the way things are doesn't mean that's how they should be.", said a character in the movie "Australia". In this particular scenario, local test scoped dependency vs compile scope tran

Re: Creating archetypes and disabling velocity

2009-05-10 Thread Doug Hughes
Rather than editing my source files, is there not a way to disable velocity for spcific files or folders? I ask because some of the problem files in my archetype are binary. I'm not too comfortable editing those by hand as you suggest. And I think they may be related to the problems I'm

Re: Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-10 Thread Stevo Slavić
"Just because that's the way things are doesn't mean that's how they should be.", said a character in the movie "Australia". In this particular scenario, local test scoped dependency vs compile scope transitive dependency, it's my opinion that current strategy is wrong. Local test scoped dependenc

Re: Creating archetypes and disabling velocity

2009-05-10 Thread Heinrich Nirschl
On Sun, May 10, 2009 at 3:13 PM, Doug Hughes wrote: > As a last test, I intentionally put invalid XML in the > archetype-metadata.xml file.  I was able to run archetype:create without it > reporting an XML error.  This tells me it's ignoring my metadata file > anyhow any ideas on what I can do

RE: Creating archetypes and disabling velocity

2009-05-10 Thread Martin Gainty
can you display the maven-metadata.xml (and your project's pom.xml) and display the command you are using which *should* reproduce this error? thanks, Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de déni et de

Message that artifact is already unpacked

2009-05-10 Thread Melissa Tolliver
I have an unpack execution which opens up a zip file in my deployment directory. However, even when the target files are NOT in place, Maven usually says that the zip is already unpacked as follows [INFO] runtimelib-1.0.1.zip already unpacked. If I change false to true, and re-run, then the zip

Re: Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-10 Thread Brian Fox
By local I mean the pom currently being built. Stuff defined here always overrides dependencies and transitive dependencies. On Sun, May 10, 2009 at 5:34 AM, Stevo Slavić wrote: > Is there any reason why would local win in this particular case? > > Regards, > Stevo. > > On Sun, May 10, 2009 at 5

Re: Creating archetypes and disabling velocity

2009-05-10 Thread Doug Hughes
Sorry to keep harping on this topic. I'm hoping someone can offer some advice. :) As a last test, I intentionally put invalid XML in the archetype-metadata.xml file. I was able to run archetype:create without it reporting an XML error. This tells me it's ignoring my metadata file anyhow any

Download report

2009-05-10 Thread Daniel Maier
Hi, Is it possible to generate a download report with maven 2 as with xdoc plugin in maven 1? I cannot find any information about this. How do you create your download pages? Or is this not an intention of maven? Thanks Daniel --

Re: Creating archetypes and disabling velocity

2009-05-10 Thread Doug Hughes
I wanted to add to my last message. I found some instructions on using archetype:create-from-project to create a new archetype. I followed them to create a new archetype project. This had a slightly different file layout than the webapp archetype I was trying to customize before. However, I'm s

Re: Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-10 Thread Stevo Slavić
Is there any reason why would local win in this particular case? Regards, Stevo. On Sun, May 10, 2009 at 5:26 AM, Brian Fox wrote: > On Fri, May 8, 2009 at 11:17 AM, Todd Thiessen > wrote: > > > Override the dependency defined in the POM, as Steve outline in his > > earlier response. Let me qu