[
http://jira.codehaus.org/browse/MNG-4272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann closed MNG-4272.
----------------------------------
Assignee: Benjamin Bentmann
Resolution: Fixed
Fix Version/s: 3.0-alpha-3
> Error found in code: wrong order of parameters in createRepository for repo
> in a profile in settings.xml
> --------------------------------------------------------------------------------------------------------
>
> Key: MNG-4272
> URL: http://jira.codehaus.org/browse/MNG-4272
> Project: Maven 2
> Issue Type: Bug
> Components: Embedding
> Affects Versions: 3.0-alpha-2
> Environment: n/a, I've found the bug inside the maven source code
> Reporter: Marcel Schutte
> Assignee: Benjamin Bentmann
> Fix For: 3.0-alpha-3
>
>
> I've spotted an error at line 245in the following method invocation:
> class DefaultMavenExecutionRequestPopulator
> private void processSettings( MavenExecutionRequest request, Configuration
> configuration )
> ...
> ArtifactRepository ar = mavenTools.createRepository( *r.getId(), r.getUrl()*,
> snapshots, releases );
> The order of *id* and *url* should be reversed:
> interface MavenTools
> ArtifactRepository createRepository( *String url, String repositoryId*,
> ArtifactRepositoryPolicy snapshotsPolicy, ArtifactRepositoryPolicy
> releasesPolicy );
--
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