You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/01/24 04:07:26 UTC

[jira] Closed: (SUREFIRE-113) surefire-providers-2.0.pom contains strange dependencies which generate error

     [ http://jira.codehaus.org/browse/SUREFIRE-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed SUREFIRE-113.
---------------------------------

      Assignee: Brett Porter
    Resolution: Fixed

this needs to be fixed in Maven itself.

We've already changed the POM to avoid the problem

> surefire-providers-2.0.pom contains strange dependencies which generate error
> -----------------------------------------------------------------------------
>
>                 Key: SUREFIRE-113
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-113
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Olivier Lamy
>         Assigned To: Brett Porter
>             Fix For: 2.3
>
>         Attachments: log.txt, poms.zip
>
>
> This pom contains :
>     <dependency>
>       <groupId>${project.groupId}</groupId>
>       <artifactId>surefire-api</artifactId>
>       <version>${project.version}</version>
>     </dependency>
> This generate strange error in certain case.
> I have replaced with :
>     <dependency>
>       <groupId>org.apache.maven.surefire</groupId>
>       <artifactId>surefire-api</artifactId>
>       <version>2.0</version>
>     </dependency
> And works fine.
> The stack trace says 
> WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
> [DEBUG] Unable to download the artifact from any repository
> Try downloading the file manually from the project website.
> Then, install it using the command: 
>     mvn install:install-file -DgroupId=org.apache.maven.surefire -DartifactId=surefire-api \
>         -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file
> Path to dependency: 
> 	1) dummy:dummy:jar:1.0
> 	2) org.apache.maven.surefire:surefire-junit:jar:2.0
> 	3) org.apache.maven.surefire:surefire-api:jar:2.4.1
>   org.apache.maven.surefire:surefire-api:jar:2.4.1
> from the specified remote repositories:
>   rec-ap2 (http://57.200.214.247/maven2),
>   central (http://repo1.maven.org/maven2),
>   continuum-repo-snapshots (http://57.200.214.247/continuum-repo/),
>   apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
>   rec-ap2-snapshots (http://57.200.214.247/snapshots)

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