Re: Replace POMReader in maven-repo-handler with DOM based reader

2012-11-08 Thread Emmanuel Bourg
Hi Thomas, Did you consider using the Maven code for parsing the POMs? maven-repo-handler could simply delegate this task to the Maven Core jar. Emmanuel Bourg Le 27/10/2012 18:06, Thomas Koch a écrit : > Hi, > > the current POMReader class in maven-repo-handler is based on a streaming XML >

Replace POMReader in maven-repo-handler with DOM based reader

2012-10-27 Thread Thomas Koch
Hi, the current POMReader class in maven-repo-handler is based on a streaming XML reader API. The read function has over 200 lines with 7+ levels of nesting and 30+ local variables. The reader also intermixes XML parsing and maven POM processing logic. I'm thinking about replacing the current