Ok ... I resolved this Issue myself. The problem was, that internally the build was using Maven 3.0.2 for executing sub-tests. It seems that this type of configuration is only possible in Maven 3.0.3 and higher.
Chris Von: christofer.d...@c-ware.de [mailto:christofer.d...@c-ware.de] Gesendet: Dienstag, 8. Mai 2012 10:58 An: dev@maven.apache.org Betreff: Problem configuring plugins Hi, I am currently working on some Issues in the flexmojos projects build. One is sort of me. I assume there have been some changes in Maven that now prevent the plugin configuration from working the same way it did with earlier maven versions. I have a Plugin flexmojos-maven-plugin and the Mojo implementation has a field: /** * The list of modules to be compiled. * * <pre> * <modules> * <module>Module1.mxml</module> * <module>Module2.mxml</module> * <module> * <sourceFile>Module3.mxml</sourceFile> * <optimize>false</optimize> * <finalName>MyModule</finalName> * <destinationPath>dir1/dir2</destinationPath> * </module> * </modules> * </pre> * * @parameter */ private Module[] modules; As you can see there were two options to configure these Module Object. The simple one with just a String and a complex one initializing the individual properties. No it seems that there must have been an option for the shorthand configuration, because the Module class contains a set-Method without a name: public void set( String sourceFile ) { this.sourceFile = sourceFile; } Now all I am getting is the following error if I use the short version: Caused by: org.codehaus.plexus.component.configurator.ComponentConfigurationException: Cannot assign configuration entry 'module' to 'class net.flexmojos.oss.plugin.compiler.attributes.Module' from 'module1/AnModule.mxml', which is of type class java.lang.String at org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter.fromExpression(AbstractConfigurationConverter.java:165) at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.fromConfiguration(ObjectWithFieldsConverter.java:73) at org.codehaus.plexus.component.configurator.converters.composite.ArrayConverter.fromConfiguration(ArrayConverter.java:131) at org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:260) at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:137) at org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:563) ... 22 more How do I support the two config options now? I guess there must have been such an option, but I conldn't find any reference to such a thing using Goolge for quite some time. I know the Testsuite of Flexmojos used to run through and that pom configuration hasn't changed for quite some time. Chris [ C h r i s t o f e r D u t z ] C-Ware IT-Service Inhaber Dipl. Inf. Christofer Dutz Karlstraße. 104, 64285 Darmstadt [cid:image001.gif@01CD2D09.09DD5C30]<http://www.benchpark.com/788335/kundenzufriedenheit.htm> IT- und Systemhäuser<http://www.benchpark.com/it_und_systemhaeuser.htm> fon: 0 61 51 / 27315 - 61 fax: 0 61 51 / 27315 - 64 mobil: 0171 / 7 444 2 33 email: christofer.d...@c-ware.de<mailto:christofer.d...@c-ware.de> http://www.c-ware.de<http://www.c-ware.de/> UStId-Nr. DE195700962