Hey Jeff,

This is really funny - we have developed quite similar plugins.

On May 10, 2007, at 12:31 PM, Jean-François Mathiot wrote:

> Ok. Actually, I were not able to find a way to specifiy the target  
> path for the dependency inclusion with Maven 2 WAR Plugin  
> (something like the mvn-1 war.target.path property). All I found  
> was this defect : http://jira.codehaus.org/browse/MWAR-18
> ...

Ok.  That's partly why I went with using the dependency plugin to  
push .swfs into the temporary locations, then using the war's native  
"web resources" facility to get them in.

> Our plugin also use  the SDK, that can be set with a FLEX_HOME  
> environment variable or a flexSdkHome configuration property.  
> Concerning compilation, we do not use the SWCs included inside the  
> SDK, this we can manage the way they are compiled into the target  
> artifact bytecode. The users have to install the swc files onto  
> their repositories, that's annoying but MPL should quicly fix this  
> problem. The swc-mojo  handles all dependencies as external library  
> paths, the swf-mojo only includes the dependencies with scope  
> compile (provided, like "playerglobal" or test like "flexunit" are  
> ignored). Resources bundles are also considered as dependencies.

Right.  That makes sense.  The maven-flex2-plugin includes an option  
to ignore the flex-sdk lib contents and use deployed artifacts,  
precisely because of what you are saying.  But we were having some  
problems with my client deploying things into their internal maven  
repo, so this avoided that problem practically, while allowing for a  
more mature use as you have implemented.

Anyway, we should collaborate to merge the two, I think, and make  
sure we're including the best of all possible requirements, but you  
seem to have done a great job so far.  There might even be no added  
value in mine, except insofar as I have already arranged for  
replication to the repo1.maven.org, but that's organizational.  We'll  
figure it out.

Cheers,
Christian

christian gruber + [EMAIL PROTECTED] + bus 905.640.1119 + mob  
416.998.6023
process coach and architect + ISRÁFÍL CONSULTING SERVICES


Reply via email to