On 6/28/07, Steven E. Harris <[EMAIL PROTECTED]> wrote:
Craig Ching <[EMAIL PROTECTED]> writes: > Would the best way to approach this be to jar up the bundle and > shove into the maven repo with a groupId and artifactId? Yes, I'd do that first. > Then have some way to pull and unpack the jar in the right place > during the maven install goal? Actually, I think this sounds more like the "package" goal if you're talking about composing a WAR. I've never used the "install" goal to move files around like you're describing, always interpreting "install" to mean installation of this artifact into a Maven repository. However, the more conventional meaning of "install" -- say, as a Makefile target -- does sound like what you're describing.
My work flow to this point has been to do 'mvn install' in the parent directory (I'm using a hierarchical project/sub-project layout), then cd to my webapp project directory and run 'mvn jetty:run'. It appears that the install goal of the webapp project is creating an exploded war *and* a .war file and, because of this, it seemed to me that the BIRT viewer applet should be here and ready-to-go after execution of the install goal. I don't mind changing my work habits if something isn't working as maven would normally expect it to ;-)
This is starting to sound like that > maven-dependency-plugin/maven-antrun-plugin solution I was talking > about Yes, the dependency or maybe the assembly plugin could help, but note that the maven-war-plugin can do a lot of this file copying and unpacking stuff as well.¹
I'm just fiddling with the dependency plugin right now, maybe I should be reviewing my work flow and checking on the war plugin then? ;-)
Yeah, I know about Equinox and have played with Knopflerfish a bit, > so felix is an ASF sponsored OSGi implementation, sounds great! > > Thanks for all your help Steve! No problem. Sorry to have over-explained the OSGi frameworks, but it is good to hear that you've already started experimenting.
No problem at all. The information is very much appreciated. Footnotes:
¹ http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html -- Steven E. Harris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]