you could give him a skinny pom that has the deployed war as a dependency. war packaging will pull down the dependency and merge it with your (empty) skinny pom
in which case you just need to give him the skinny pom file. this is extra nice as you can configure jetty defaults in the skinny pom and define a default goal so all he needs to do is run "mvn" On 16/06/2009, Clifton <[email protected]> wrote: > > I gotta believe by now there is a slick way to run a war file released to an > internal repository under a plugin like jetty or cargo. I'd like to be able > to share a set of web-apps I created with a colleague without him needing to > download my source. Something like "Just run 'mvn > -DreleasedWar=com.mycompany:mywarproj:1.2 jetty:run' from the command line" > would be a nice way to share work I've done. The idea would be the plugin > resolves the war dependency using typical dependency resolve logic and spins > up the container pointing to the war file in the local repo. Maybe it would > copy from the local repo into the default build 'targeet' dir or something. > has there ever been something like this done? \ > > ----- > Cliff > http://codeforfun.wordpress.com > http://www.nabble.com/file/u156847/Cliff-in-the-lab.png > -- > View this message in context: > http://www.nabble.com/Run-a-war-set-of-wars-released-in-internal-repo-tp24061123p24061123.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
