Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350817

Summary: Tests in tycho-its fail: SAXException: Invalid mavenProfile entry. Missing one or more fields: {localRepository}
Product: z_Archived Reporter: Aaron Digulla <digulla>
Component: TychoAssignee: Project Inbox <tycho-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Aaron Digulla CLA 2011-06-30 08:40:14 EDT
This is with the version 285d9f8f4c8d5126ba260f5b6ad79af02fbd8fde from github.

When I run the bootstrap.sh, all tests fail with this error:


org.apache.maven.it.VerificationException: org.xml.sax.SAXException: Invalid mavenProfile entry. Missing one or more fields: {localRepository}.
        at org.apache.maven.it.Verifier$UserModelReader.parse(Verifier.java:1917)
        at org.apache.maven.it.Verifier.retrieveLocalRepo(Verifier.java:781)
        at org.apache.maven.it.Verifier.findLocalRepo(Verifier.java:1822)
        at org.apache.maven.it.Verifier.<init>(Verifier.java:150)
        at org.apache.maven.it.Verifier.<init>(Verifier.java:127)
        at org.apache.maven.it.Verifier.<init>(Verifier.java:121)
        at org.apache.maven.it.Verifier.<init>(Verifier.java:176)
        at org.eclipse.tycho.test.AbstractTychoIntegrationTest.getVerifier(AbstractTychoIntegrationTest.java:81)
        at org.eclipse.tycho.test.AbstractTychoIntegrationTest.getVerifier(AbstractTychoIntegrationTest.java:51)
        at org.eclipse.tycho.test.AbstractTychoIntegrationTest.getVerifier(AbstractTychoIntegrationTest.java:109)

To track this down: Please add code to display the URL of the XML file which Maven tries to read. 

I'm not sure whether you have to do this in Tycho or Maven. Please open a bug against Maven or tell me to open a bug if this is the case.
Comment 1 Igor Fedorenko CLA 2011-06-30 13:03:13 EDT
FWIW, I am able to build this version without any problems on clean ubuntu 11.04 install. Check your settings.xml file and if you got corrupted checkout somehow. 

The exception is thrown by the org.apache.maven.shared:maven-verifier:1.2, so this is where you need to ask for better error message.
Comment 2 Igor Fedorenko CLA 2011-07-13 08:23:59 EDT
Please reopen if you have steps to reproduce the problem.
Comment 3 Aaron Digulla CLA 2011-07-13 08:53:44 EDT
I've opened http://jira.codehaus.org/browse/MVERIFIER-10