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

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

I'm afraid but according to the fact that jta war already in maven repository 
the problem is still here for two reasons:

First because I add to pom this:
    <dependency>
      <groupId>javax.transaction</groupId>
      <artifactId>jta</artifactId>
      <version>1.0.1B</version>
      <scope>compile</scope>
    </dependency>
compiler continue to give 
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) javax.transaction:jta:jar:1.0.1B

----------

Second because if I remove the "null" folder -with or without the jta depedency 
in POM-  I can build the jar without problems. 



> 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