I have to use the <repository> element in the maven-assembly-plugin's
assembly descriptor. Using this makes the assembly contains maven
metadata files under META-INF. (maven/.../*.pom and pom.propperties).

One solution Jesse and I talked about was to execute the assembly
plugin twice. The first execution would copy the repository to the
${tempRoot}. The second execution would use <fileset><exclude> to copy
the dirs over but exclude META-INF/maven.

Here are the problems with this approach.

1) If I use assembly plugin in a execution, I get a "descriptor not
found error".  How can the assembly plugin be used in multiple
executions ?

2) The first execution of the assembly copies the repo into
${tempRoot}. But the next execution of the assembly cleans this dir
before starting. So the repo dirs are lost. Any ideas on how to get
around this ?

Thanx in advance
Prasad

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to