Thanks for the input Valerio.

Could I by any chance ask you to paste (attach) the pom.xml you are
using? I would like to reproduce those errors locally and fix them (as
much as possible).

Thanks,
SaM

On Sat, Oct 11, 2008 at 11:30 AM, Valerio Schiavoni
<[EMAIL PROTECTED]> wrote:
> Also, if I try to specify only the name of the file to exclude, something
> else happen:
>
> For instance:
> : java.lang.IllegalArgumentException: Duplicate jar entries: LICENSE.txt
>     at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
>     at org.apache.tools.ant.Task.perform(Task.java:348)
>     at groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:199)
>     at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:153)
>     at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:149)
>     at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64)
>     at
> org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:784)
>     at
> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)
>     at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>     at
> com.atlassian.maven.plugins.jarjar.JarJarMojo.execute(JarJarMojo.groovy:80)
>
>
> even by having specified the following:
> <zaps>
>       <zap>LICENSE.txt</zap>
> </zaps>
>
>
> Hope it helps debugging this mojo, which I believe is very useful!
> On Sat, Oct 11, 2008 at 2:14 AM, Valerio Schiavoni
> <[EMAIL PROTECTED]> wrote:
>>
>> hi,
>> On Sat, Oct 11, 2008 at 2:08 AM, Samuel Le Berrigaud
>> <[EMAIL PROTECTED]> wrote:
>>>
>>>  <zaps>
>>>    <zap>META-INF/maven/**</zap>
>>>  <zaps>
>>> ...
>>> </configuration>
>>>
>>> This might not be ideal, but it should remove the duplicate entries.
>>
>> unfortunetely it doesn't work:
>> java.lang.IllegalArgumentException: Patterns cannot contain slashes
>>     at
>> com.tonicsystems.jarjar.PatternElement.createWildcards(PatternElement.java:39)
>>     at com.tonicsystems.jarjar.ZapProcessor.<init>(ZapProcessor.java:28)
>>     at com.tonicsystems.jarjar.MainProcessor.<init>(MainProcessor.java:54)
>>     at com.tonicsystems.jarjar.JarJarTask.execute(JarJarTask.java:48)
>>
>>
>> i haven't read the full jarjar doc..maybe I should have.
>>
>> --
>> http://www.linkedin.com/in/vschiavoni
>> http://jroller.com/vschiavoni
>
>
>
> --
> http://www.linkedin.com/in/vschiavoni
> http://jroller.com/vschiavoni
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to