Re: Maven environment configurations

2011-07-14 Thread Joe Hindsley
scripts, a conf directory for configuration files, and a lib directory for all of the jars. Hope this helps, Joe Hindsley On 07/14/2011 09:58 AM, mark.angrish wrote: I sent this to Anders Hammar but i thought i would cross post this to the community as well: In the past i have used profiles

Re: Maven 2: How can I avoid hard-coding the version multiple times?

2009-11-30 Thread Joe Hindsley
. Hope this helps, Joe Hindsley laredotornado wrote: Hi, I'm using Maven 2.2. In my maven project, I have this fragment in my pom.xml at the project root ... nameMyco GA Capitol Tours/name descriptionMyco GA Capitol Tours/description inceptionYear2009/inceptionYear

Re: Maven 2: How can I avoid hard-coding the version multiple times?

2009-11-30 Thread Joe Hindsley
of where this type of pom would be useful is for companies that have multiple projects going which need to keep their dependency and plugin versions in sync. Cheers, Joe Hindsley laredotornado wrote: Thanks, Joe. So we do keep the version element within the parent element? Thus, the version

Re: Best practice on releasing a webapp (war-file)

2009-11-25 Thread Joe Hindsley
Hi Ludwig, The cargo plugin is what you're looking for: http://cargo.codehaus.org/Maven2+plugin Cheers, Joe Hindsley Ludwig Magnusson wrote: Hi! We are developing a webapp which is packaged in a war-file. I wonder how we can use maven for releasing new versions to our actual server

Re: [WAR-plugin] Can I put my resources in their original folder?

2009-11-20 Thread Joe Hindsley
give you the war layout: ./external-resource.jpg ./image2/external-resource2.jpg Hope this helps, Joe Hindsley Ludwig Magnusson wrote: The first example on this page http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering- webresources.html http://maven.apache.org/plugins

Re: [WAR-plugin] Can I put my resources in their original folder?

2009-11-20 Thread Joe Hindsley
-resource2.jpg WEB-INF/web.xml Hopefully this is the answer you're looking for. Joe Hindsley Ludwig Magnusson wrote: But the problem is that I configure my webapp with property files. Some properties point to other files. Won't those links be wrong in any case since the files will be in a new

Re: Assembly plugin: specifying an alternative extension name for the assembly

2009-11-19 Thread Joe Hindsley
plugin to know for sure. More information is here: http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_assembly Joe Hindsley Graham Charters wrote: Hi, I'm trying to create a zip file using the assembly plugin, but I'd like it to have a different extension (not .zip

Re: Multiple proxies problem

2009-07-15 Thread Joe Hindsley
You might try adding an id element to each of the settings to make them distinct. From http://maven.apache.org/settings.html#Proxies: id - The unique identifier for this proxy. This is used to differentiate between proxy elements. Joe Hindsley Koerner, Ron wrote: Hi list, I use several

Re: Jar packaging. Produce more artifacts, in addition to jar

2009-07-07 Thread Joe Hindsley
can delegate to the container the less you have to fiddle with at deployment time. Hope this helps, Joe Hindsley Alexi Polenur wrote: Hi all, I am trying to setup a multi-module project. One module produce a JAR (jar-module) and another one a WAR which uses jar produced by jar-module. jar

Re: Jar packaging. Produce more artifacts, in addition to jar

2009-07-07 Thread Joe Hindsley
to it to change the behavior. This assumes that you are loading the Spring context from the classpath (eg. classpath:/applicationContext.xml). I've not tried this before so can't give you specific examples, but hopefully this points you to a solution that works. Joe Hindsley apolenur wrote

Re: How to use maven to gather all (or some) dependent jar files

2009-05-11 Thread Joe Hindsley
base installation of mule to run your application. Hope this helps, Joe Hindsley Steve Lihn wrote: Hi, When maven builds a project, it figures out all the dependent jar files, adds them to the classpath, produces the project's jar file under target/. My question is -- is there a way to ask