Re: Maven environment configurations

2011-07-14 Thread Joe Hindsley
r startup 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 use

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

2009-11-30 Thread Joe Hindsley
An example 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 element? Thus, t

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

2009-11-30 Thread Joe Hindsley
app Myco GA Capitol Tours Webapp Myco-galc-capitol-tours-webapp war We also do this for our multi-module projects since it makes dependency management a little easier. Hope this helps, Joe Hindsley laredotornado wrote: Hi, I'm using Maven 2.2. In my maven project, I have this

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 serve

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

2009-11-20 Thread Joe Hindsley
ource2/external-resource.jpg resource2/image2/external-resource2.jpg src/main/webapp/WEB-INF/web.xml ... Would produce a war layout like: myTarget/external-resource.jpg myTarget/image2/external-resource2.jpg WEB-INF/web.xml Hopefully this is the answer you're looking for. Joe Hindsley Lu

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/p

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 extensi

Re: Multiple proxies problem

2009-07-15 Thread Joe Hindsley
You might try adding an 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 u

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

2009-07-07 Thread Joe Hindsley
to make tweaks 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 wor

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

2009-07-07 Thread Joe Hindsley
rt of the container's configuration. The more you 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

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

2009-05-11 Thread Joe Hindsley
touch your 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 the