[ https://jira.codehaus.org/browse/MVERIFIER-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312596#comment-312596 ]
Thomas Broyer commented on MVERIFIER-10: ---------------------------------------- I faced this issue recently with 1.3. The problem was that my settings.xml contained an empty {{<localRepository/>}} element. A minimal settings.xml that would reproduce the issue would probably be: {code} <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository/> </settings> {code} MVERIFIER, when processing that element ({{Verifier.java}} line 1883 in MVERIFIER 1.3) throws a {{SAXException}}. It should probably use the default value instead of throwing, as Maven otherwise has no problem with the empty element (and uses the default value). > Print the absolute path to the input file when verification fails > ----------------------------------------------------------------- > > Key: MVERIFIER-10 > URL: https://jira.codehaus.org/browse/MVERIFIER-10 > Project: Maven 2.x Verifier Plugin > Issue Type: New Feature > Affects Versions: 1.1 > Reporter: Aaron Digulla > Assignee: Olivier Lamy > Fix For: 1.1 > > > While building Tycho, I had this exception: > {{org.apache.maven.it.VerificationException: org.xml.sax.SAXException: Invalid > mavenProfile entry. Missing one or more fields: {localRepository}.}} > The error message was useless for me because I have no idea which file caused > the error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira