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
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
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
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
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
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
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
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
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
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
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
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
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
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
Has anyone seen one yet?
Nathan
/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
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
17 matches
Mail list logo