I haven't done it myself, but I believe you can use the Assembly
plugin to achieve this, though its rather convoluted...

http://maven.apache.org/plugins/maven-assembly-plugin/howto.html

Basically you create the package like normal, and include the
LICENSE.txt in the Jar, and then use Assembly to unpack those files
during the site phase.

If you get this working, please respond with your pom.xml so the rest
of us can benefit and perhaps it will be documented.

Wayne

On 2/28/06, Barrie Treloar <[EMAIL PROTECTED]> wrote:
> On 3/1/06, Steven Coco <[EMAIL PROTECTED]> wrote:
> > Hello.
> >
> > Say you have LICENSE.txt in the base directory of your project.  Now
> > also say you want to copy that file into your JavaDoc output directory
> > when JavaDoc runs -- or into the site directory when that runs.  HOW do
> > you do that!?...
>
> I'm still looking for an answer to this question too,
> http://www.nabble.com/forum/ViewPost.jtp?post=3043044&framed=y
>
> The only response I have received so far is to use ant to do this.
>
> ---------------------------------------------------------------------
> 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