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 settings.xml to enable snapshot plugin repositories...
(http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html)
everything is working except the "excludes" tag

my pom.xml looks like this:

...
       <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
           <version>2.2-SNAPSHOT</version>
           <executions>
               <execution>
                   <goals>
                       <goal>jar</goal>
                   </goals>
                   <configuration>
                          <excludes>**/*.xsd</excludes>
<schemaDirectory>src/main/resources/xml</schemaDirectory>
                      </configuration>
               </execution>
              </executions>
</plugin> ...

and when i run maven with the following command:
mvn -Papache package
i've got this exception!

...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [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).


Cause: Cannot assign configuration entry 'excludes' to 'class [Ljava.lang.String;' from '**/*.xsd', which is of type class java.lang.String [INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
...

do i forget something during my builds??

regards
supareno

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

Reply via email to