I had a look at the sources shipped with the plugin. The file SimianLog.java appears to have a bug (at least in my scenario). The simian.log file contains the line "Processed a total of 123 lines in 4 files". The StringTokenizer created for this line expects the 10th token to contain the number of files being processed. Instead it is the 8th one. I deleted lines 234/235 (which just jump over tokens) and all is working now.
Dominik On Tue, 2003-09-02 at 20:34, Dominik Dahlem wrote: > Hi, > > I just downloaded the latest version of the simian plugin from CVS, > packaged it, and registered a report in my project.xml file. > If I now run "maven site -X" in my project I get : > > BUILD FAILED > File...... > file:/home/dahlemd/projects/dahlemd_exception_logging_02092003/common/configuration/../../tools/java/maven/maven-1.0-beta-10/plugins/maven-simian-plugin-1.2-SNAPSHOT/ > Element... simian:simianLog > Line...... 111 > Column.... 7 > java.lang.reflect.InvocationTargetException > com.werken.werkz.UnattainableGoalException: Unable to obtain goal [site] > -- > file:/home/dahlemd/projects/dahlemd_exception_logging_02092003/common/configuration/../../tools/java/maven/maven-1.0-beta-10/plugins/maven-simian-plugin-1.2-SNAPSHOT/:111:7: > <simian:simianLog> null > > > I did not overwrite any of the default properties. BTW, I got the same > failure with version 1.1 of this plugin. > If the stacktrace does help anyone it is attached. > > Am I missing something to get it working? > > Thx in advance, > Dominik > > > > ______________________________________________________________________ > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
