[
http://jira.codehaus.org/browse/MNG-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carlos Sanchez reopened MNG-2835:
---------------------------------
MavenEmbedderBehaviorTest fails under windows
-------------------------------------------------------------------------------
Test set: org.apache.maven.embedder.MavenEmbedderBehaviorTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.25 sec <<<
FAILURE!
testThatTheLocalRepositoryIsTakenFromGlobalSettingsWhenUserSettingsAreNull(org.apache.maven.embedder.MavenEmbedderBehaviorTest)
Time elapsed: 0.25 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:</global/maven/...> but
was:<D:\global\maven\...>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at
org.apache.maven.embedder.MavenEmbedderBehaviorTest.testThatTheLocalRepositoryIsTakenFromGlobalSettingsWhenUserSettingsAreNull(MavenEmbedderBehaviorTest.java:47)
at
org.apache.maven.embedder.MavenEmbedderBehaviorTest.testThatTheLocalRepositoryIsTakenFromGlobalSettingsWhenUserSettingsAreNull(MavenEmbedderBehaviorTest.java:47)
> The localRepository settings from the global settings file are ignored
> ----------------------------------------------------------------------
>
> Key: MNG-2835
> URL: http://jira.codehaus.org/browse/MNG-2835
> Project: Maven 2
> Issue Type: Bug
> Components: Embedding
> Affects Versions: 2.1
> Reporter: Aaron Digulla
> Assigned To: Jason van Zyl
>
> With the latest embedder (20070219), the localRepository is only taken into
> account when it's specified in the user settings. When it is only in the
> global settings file, it's ignored.
> I think the problem is that not all settings are copied when
> request = defaultsPopulator.populateDefaults( request );
> is called.
--
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