Possible filter bug?

2007-08-29 Thread Nathan Maves
Not sure but I think this is a bug. I have a place holder in a spring config file named ${jdbc.url} With filtering set to true for this resource ${jdbc.url} gets replaced by the url http://maven.apache.org/url specified in the pom file. Anyone else ever seen this or is this the intended use of

Re: m2] OT checkstyle verse Jalopy sun standards checks...

2007-07-11 Thread Nathan Maves
you got way further then me with Jalopy. I was not able to get it to work with maven2. Could you post how you got the jalopy plugin to work? On 7/11/07, Mick Knutson [EMAIL PROTECTED] wrote: Has anyone modified the jalopy.xml to match checkstyle then? I can seem to get it right. THe mostly

Re: How to filter webapp files (not resources!)

2007-07-10 Thread Nathan Maves
Yes this is possible. I admit it was not easy to figure it out :) http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html Is a great place to start. Here is my config... plugin groupIdorg.apache.maven.plugins/groupId

Jalopy Plugin

2007-07-02 Thread Nathan Maves
I am have been all over trying to get this plugin to work. Please tell me someone out there has it working. Here is my pom plugin groupIdorg.codehaus.mojo/groupId artifactIdjalopy-maven-plugin/artifactId version1.0-SNAPSHOT/version

Re: Copy file

2007-06-28 Thread Nathan Maves
I think the following solution should work for you. Here are two example profiles profile idenv-qa/id activation property nameenv/name valueqa/value /property /activation properties

Enforcing the use of a profile?

2007-06-15 Thread Nathan Maves
Is there any way within maven to force that a profile is selected? I would have to have to write shell/bat files to do this work for me. Nathan

Re: Profiles

2007-06-15 Thread Nathan Maves
I too am looking for a similar solution for my problem. I have have 3 profiles right now. (dev/uat/prod) To accomplish this I have each profile set a variable called 'env'. I then have a dynamic resource directory used based on this env variable. The only issue I have is that I need one of

Re: copy file in maven

2007-06-14 Thread Nathan Maves
First what is the reason for your need to copy a file? The first thing that triggers in my mind is that you have a resource file that you need copied to your artifact. If this is not the case then you may need to define your problem a little better. Nathan On 6/14/07, Jeff Mutonho [EMAIL

Resource files are not overwritten

2007-06-14 Thread Nathan Maves
I have two resource directories set up via... resources resource directorysrc/main/resources/directory /resource resource directorysrc/main/resources-${env}/directory /resource /resources The env var is set

Re: Resource files are not overwritten

2007-06-14 Thread Nathan Maves
said this works fine because it will pick up all the files in the resources-${env} directory as long as they are not in the standard resources directory. Nathan On 6/14/07, Mick Knutson [EMAIL PROTECTED] wrote: where is ${env} defined? On 6/14/07, Nathan Maves [EMAIL PROTECTED] wrote: I have

Re: tools.jar dependency and MacOSX

2007-06-12 Thread Nathan Maves
is in classes.jar (i think) and is always on the classpath. If you just exclude the dependency it should work. On 6/11/07, Nathan Maves [EMAIL PROTECTED] wrote: What causes your project to have a dependency on tools.jar? I have been using maven on a mac for a while now and have never had

Better solution then filtering?

2007-06-11 Thread Nathan Maves
First off great product! I am using filtering for all of my property files that differ from multiple environments (dev, uat, prod). I am a little stuck on how to filter files that differ dramatically from env to env. One such file is a log4j properties file. We have very different files

Re: Better solution then filtering?

2007-06-11 Thread Nathan Maves
Not sure how I over looked that but it should work great for what I am doing. Thanks Dirk On 6/11/07, Dirk Olmes [EMAIL PROTECTED] wrote: Nathan Maves wrote: First off great product! I am using filtering for all of my property files that differ from multiple environments (dev, uat, prod

Re: tools.jar dependency and MacOSX

2007-06-11 Thread Nathan Maves
What causes your project to have a dependency on tools.jar? I have been using maven on a mac for a while now and have never had to deal with the tools.jar. Nathan On 6/11/07, Jerome Thibaud [EMAIL PROTECTED] wrote: Hi All, Discovering the joy of coding Java in a Mac environment I learned

JavaScript compression plugin

2007-06-11 Thread Nathan Maves
Has anyone seen one yet? Nathan

Re: tools.jar dependency and MacOSX

2007-06-11 Thread Nathan Maves
/07, Nathan Maves [EMAIL PROTECTED] wrote: What causes your project to have a dependency on tools.jar? I have been using maven on a mac for a while now and have never had to deal with the tools.jar. Nathan On 6/11/07, Jerome Thibaud [EMAIL PROTECTED] wrote: Hi All, Discovering

Module layout

2007-06-11 Thread Nathan Maves
I am just looking for some best practices advice when setting up a new project. Here is the example. /widgets /core /api Now I have other projects that have a dependency on the above jars. /widgets /web-app /swing-gui /webservice What is the best way to utilize the use of modules within