[ http://jira.codehaus.org/browse/MRM-226?page=comments#action_80359 ] 
            
Henri Yandell commented on MRM-226:
-----------------------------------

Applied:

svn ci -m "Applying Tom Huybrechts patch rom MRM-226. Stops the indexer blowing 
up when it hits it and thinks its a -sources for a foo-test artifact"

Sending        
archiva-discoverer/src/main/java/org/apache/maven/archiva/discoverer/DefaultArtifactDiscoverer.java
Sending        
archiva-discoverer/src/test/java/org/apache/maven/archiva/discoverer/DefaultArtifactDiscovererTest.java
Adding         
archiva-discoverer/src/test/repository/org/apache/maven/testing/1.0/testing-1.0-test-sources.jar
Transmitting file data ...
Committed revision 475959.

> indexer throws exception on test-sources jar
> --------------------------------------------
>
>                 Key: MRM-226
>                 URL: http://jira.codehaus.org/browse/MRM-226
>             Project: Archiva
>          Issue Type: Bug
>          Components: indexing
>         Environment: Windows
>            Reporter: Tom Huybrechts
>         Attachments: archiva-discoverer-226-patch.txt
>
>
> While indexing a repo for the first time, Archiva throws this exception and 
> indexing stops.
> The exception refers to a -test.jar. The repository contains many artifacts 
> in this directory, but not with classifier test. The closest things are 
> -tests and -test-sources.
> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: 
> java.lang.IllegalStateException: Couldn't find artifact  
> C:\maven-repo\group\artifact\1.0.0.v20060823\artifact-1.0.0.v20060823-test.jar
>         at 
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
>         at 
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
>         at 
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159)
>         at 
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
> Caused by: java.lang.IllegalStateException: Couldn't find artifact 
> C:\maven-repo\group\artifact\1.0.0.v20060823\artifact-1.0.0.v20060823-test.jar
>         at 
> org.apache.maven.archiva.reporting.LocationArtifactReportProcessor.processArtifact(LocationArtifactReportProcessor.java:143)
>         at 
> org.apache.maven.archiva.reporting.AbstractReportGroup.processArtifact(AbstractReportGroup.java:53)
>         at 
> org.apache.maven.archiva.reporting.DefaultReportExecutor.runArtifactR...

-- 
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

        

Reply via email to