You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Aaron Digulla (JIRA)" <ji...@codehaus.org> on 2007/02/19 11:28:52 UTC
[jira] Created: (MNG-2835) The localRepository settings from the
global settings file are ignored
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
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
[jira] Updated: (MNG-2835) The localRepository settings from the
global settings file are ignored
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-2835:
------------------------------
Fix Version/s: (was: Reviewed Pending Version Assignment)
3.0-alpha-1
> 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.0-alpha-1
> Reporter: Aaron Digulla
> Assignee: Jason van Zyl
> Fix For: 3.0-alpha-1
>
>
> 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
[jira] Closed: (MNG-2835) The localRepository settings from the
global settings file are ignored
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl closed MNG-2835.
------------------------------
Resolution: Fixed
This is now working.
> 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.0-alpha-1
> Reporter: Aaron Digulla
> Assignee: Jason van Zyl
> Fix For: 3.0-alpha-1
>
>
> 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
[jira] Closed: (MNG-2835) The localRepository settings from the
global settings file are ignored
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl closed MNG-2835.
------------------------------
Resolution: Fixed
Fixed and tested:
http://svn.apache.org/repos/asf/maven/components/trunk/maven-embedder/src/test/java/org/apache/maven/embedder/MavenEmbedderBehaviorTest.java
> 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
[jira] Reopened: (MNG-2835) The localRepository settings from the
global settings file are ignored
Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
[ 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