Re: Excluding files from JAR with maven-jar-plugin 2.2-SNAPSHOT failed

2008-01-12 Thread supareno
thanks for your Olivier , it works now! i forgot to make a clean in the target folder so that's why the files were always present ! regards The excludes field in the jar plugin is to exclude content from ${project.build.outputDirectory} not to exclude resources. In order to exclude resources

Re: Excluding files from JAR with maven-jar-plugin 2.2-SNAPSHOT failed

2008-01-12 Thread Olivier Lamy
The excludes field in the jar plugin is to exclude content from ${project.build.outputDirectory} not to exclude resources. In order to exclude resources have a look here [1]. I don't really understand your jar plugin configuration. Can you try a more simple : org.apache.maven.plugi

Re: Excluding files from JAR with maven-jar-plugin 2.2-SNAPSHOT failed

2008-01-12 Thread supareno
Thanks Olivier (and Jochen and Dennis), it is now building without any error but the xsd files is always here i'm gonna try with Ant task to if it is working ! regards Hi, Can you try with : **/*.xsd -- Olivier 2008/1/12, supareno <[EMAIL PROTECTED]>: Hel

Re: Excluding files from JAR with maven-jar-plugin 2.2-SNAPSHOT failed

2008-01-12 Thread Dennis Lundberg
The excludes configuration is a set of things to exclude. It needs to be configured like this: **/*.xsd supareno wrote: Hello guys i read the previous threads about exclusion with interest because i am always confronted with the "excludes" problem i followed all the steps: changed my se

Re: Excluding files from JAR with maven-jar-plugin 2.2-SNAPSHOT failed

2008-01-12 Thread Jochen Wiedmann
On Jan 12, 2008 3:59 PM, supareno <[EMAIL PROTECTED]> wrote: > [INFO] Failed to configure plugin parameters for: > org.apache.maven.plugins:maven-jar-plugin:2.2-SNAPSHOT > > (found static expression: '**/*.xsd' which may act as a default value). Configuration problem on your side, use

Re: Excluding files from JAR with maven-jar-plugin 2.2-SNAPSHOT failed

2008-01-12 Thread Olivier Lamy
Hi, Can you try with : **/*.xsd -- Olivier 2008/1/12, supareno <[EMAIL PROTECTED]>: > Hello guys > > i read the previous threads about exclusion with interest > because i am always confronted with the "excludes" problem > > i followed all the steps: > changed my