[ http://jira.codehaus.org/browse/MNG-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4343. ---------------------------------- Assignee: Benjamin Bentmann Resolution: Fixed Fix Version/s: 3.0-alpha-3 Improved in [r816563|http://svn.apache.org/viewvc?view=rev&revision=816563]. > maven always checks missing release artifacts > --------------------------------------------- > > Key: MNG-4343 > URL: http://jira.codehaus.org/browse/MNG-4343 > Project: Maven 2 > Issue Type: Bug > Components: Artifacts and Repositories > Affects Versions: 3.0 > Reporter: Igor Fedorenko > Assignee: Benjamin Bentmann > Fix For: 3.0-alpha-3 > > > As I tried to explain in MARTIFACT-25, maven always checks for missing > release artifacts and even though this does not have noticeable performance > impact on regular maven cli builds (unless, -fn, I guess), this does cause > significant performance problems in embedding applications like m2e in some > scenarios. > To demonstrate the problem, I've added new (and currently disable) > testResolveMissingArtifact to P001EmbedderTest performance regression test > suite. On my development machine, running > doTestResolveMissingArtifact(delay=false) takes ~2ms on average. Running > doTestResolveMissingArtifact(delay=true), on the other hand, takes ~202ms, > which means that remote repository is accessed twice during each > doTestResolveMissingArtifact(delay=true) call. > https://svn.sonatype.org/m2eclipse/sandbox/trunk/maven-performance-tests/src/test/java/org/apache/maven/performance/tests/p001/P001EmbedderTest.java -- 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