You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Fabulich (JIRA)" <ji...@codehaus.org> on 2008/02/05 21:12:28 UTC

[jira] Commented: (SUREFIRE-450) Verification test failure: Invalid mavenProfile entry. Missing one or more fields: {localRepository}

    [ http://jira.codehaus.org/browse/SUREFIRE-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122463 ] 

Dan Fabulich commented on SUREFIRE-450:
---------------------------------------

Notably, this stacktrace indicates that it's having problems reading your settings.xml file.  Try using a clean settings.xml file; if that's not possible, please submit a minimal settings.xml file that reproduces the problem.

> Verification test failure: Invalid mavenProfile entry. Missing one or more fields: {localRepository}
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-450
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-450
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.x
>         Environment: java version "1.5.0_13"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
> Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing)
>            Reporter: Graham Leggett
>
> All tests in surefire-integration-tests fail like so:
> testTwoTestCases(org.apache.maven.surefire.its.TwoTestCasesTest)  Time elapsed: 0.011 sec  <<< 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:1269)
>         at org.apache.maven.it.Verifier.retrieveLocalRepo(Verifier.java:557)
>         at org.apache.maven.it.Verifier.findLocalRepo(Verifier.java:1178)
>         at org.apache.maven.it.Verifier.<init>(Verifier.java:101)
>         at org.apache.maven.it.Verifier.<init>(Verifier.java:80)
>         at org.apache.maven.it.Verifier.<init>(Verifier.java:107)
>         at org.apache.maven.surefire.its.TwoTestCasesTest.testTwoTestCases(TwoTestCasesTest.java:27)
> It looks like the localRepository setting is missing from a pom or config file somewhere.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira