[ 
http://jira.codehaus.org/browse/MNG-2980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95061
 ] 

Francesco Tinti commented on MNG-2980:
--------------------------------------

Better info for this bug. 
It occurs only when you're using the surefire plugin for tests. This is, for 
example, the output error for the Open Source openutils-usermanagement

[INFO] Failed to resolve artifact.

Missing:
----------
1) javax.transaction:jta:jar:1.0.1B

  Try downloading the file manually from:
      http://java.sun.com/products/jta

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta \
          -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) net.sourceforge.openutils:openutils-usermanagement:jar:1.1.2-SNAPSHOT

        2) net.sourceforge.openutils:openutils-bshd5:jar:1.0.2
        3) org.hibernate:hibernate:jar:3.2.0.cr5
        4) javax.transaction:jta:jar:1.0.1B

----------
1 required artifact is missing.

for artifact:
  net.sourceforge.openutils:openutils-usermanagement:jar:1.1.2-SNAPSHOT

> Strange behavior with folder named null
> ---------------------------------------
>
>                 Key: MNG-2980
>                 URL: http://jira.codehaus.org/browse/MNG-2980
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Windows Vista 64bit - Sun JDK 1.6.0_01 64bit - Maven2 
> based on svn trunk 534974 version 
>            Reporter: Francesco Tinti
>            Priority: Critical
>
> To reproduce this issue follow these steps:
> 1. create a multi-project POM with at least 1 module
> 2. go to module folder
> 3. create an empty folder named null
> 4. launch mvn clean install from module folder as you want to build only that 
> module.
> Maven will fail and the given reason is "Failed to resolve artifact" with a 
> list of missing artifacts. 
> And this is wrong because all artifacts are already in repository.

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