Brian,

Thanks for that.

I've worked out now how to get the dependencies from the project and
dump them into a known location. I now have two further problems, one of
which I think is either a bug in my understanding or in the dependency
plugin (in the latter case I'll have to work out how to drive the jira).

If I specifiy that I want to unpack or copy dependencies and tell the
configuration that I want to exclde 'test' scope (since I don't want
junit in my applet), I get an error message that excluding scope 'test'
excludes everything which *I* think is wrong.


Secondly, I actually want to pull out the dependency jars and insert
them into the applet I'm trying to build. I can only copy/unpack
dependencies to files in the filesystem. Anyone got any clues about how
to force that to happen (in an easy and portable way)?

Later,

Andy

-------------
Yada, yada, yada...

The information contained in this e-mail (including any attachments) is
confidential and is intended for the use of the addressee only.   The
opinions expressed within this e-mail (including any attachments) are
the opinions of the sender and do not necessarily constitute those of
Roslin Institute (Edinburgh) ("the Institute") unless specifically
stated by a sender who is duly authorised to do so on behalf of the
Institute.
  

> -----Original Message-----
> From: Brian E. Fox [mailto:[EMAIL PROTECTED] 
> Sent: 10 January 2007 13:28
> To: Maven Users List
> Subject: RE: Applets and assembly of webapps
> 
> 
> >There's also the issue of having to code dependencies twice, 
> once as a
> proper >dependency and once more in the dependency copy 
> configuration section?
> 
> This was done to allow copying/unpacking artifacts that 
> aren't intended to be typical dependencies, such as zip 
> files. The xxx-dependencies goals take directly from the 
> dependency list, but currently you can only exclude certain 
> things from the global list. In 2.0-alpha-2, there should be 
> the ability to specify only artifacts you want. I think this 
> will eliminate the duplication in many cases:
> http://jira.codehaus.org/browse/MDEP-54
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to