repository.xml is not a Maven file - is there a plugin running shortly before this in the output that is attempting to read it?
- Brett 2008/9/16 tomascejka <[EMAIL PROTECTED]>: > > Hi, > > I study Maven and scanning directory .m2 and find repository.xml file. When > I read it, there are list of description about plugins, jars and project, > which I manage via Maven. > > There is not try to duplicate threads because I asked about the problem in > Hudson forum - > http://www.nabble.com/Hudson-log----Fatal-Error--repository.xml%3A3%3A1%3A-Premature-end-of-file.-td18460386.html#a18587472 > link . It was not right place to place this question. > > What is this file for? > When does it arise - during all builds or just new plugin or jar was be > added(downloaded)? > > [INFO] Parsing file:/root/.m2/repository/repository.xml > [Fatal Error] repository.xml:3:1: Premature end of file. > org.xml.sax.SAXParseException: Premature end of file. > > I have found out that repository.xml is blank. I removed it a executed build > over project again. And problem has not occured already. But there is > question why the situation occured and how I can prevent this problem again. > > There is another important problem. When this problem occured Hudson does > not send email about job failed. > > Even some test do not executed. There is console output of java bundle: > > started > Build failed before it gets to this module > finished: NOT_BUILT > > > Note: > I tried to find meaning of repository.xml. Only I found out, that file is > generated by Maven, when I read it > . If you have some links about more information. Please send me. > > #enviroment > SUSE Sles 10 > Hudson 1.229 > Maven 2.0.9 > > > -- > View this message in context: > http://www.nabble.com/What-it-is-repository.xml-file-tp19510483p19510483.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Brett Porter Blog: http://blogs.exist.com/bporter/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]