You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by fa...@mpsa.com on 2004/08/18 15:27:55 UTC

Réf. : Maven can't locate my jar




Hi Jeff,

If you've placed you jar in "/.maven/repository/support", then Maven won't
find it because you're missing one folder: you have to place the jar in "
/.maven/repository/support/jars".

That should work.

Fabrice.




                                                                           
             jeff mutonho                                                  
             <ejbengine@yahoo                                              
             .com>                                                    Pour 
                                       Maven Users List                    
             18/08/2004 14:40          <us...@maven.apache.org>            
                                                                        cc 
                                                                           
                 Veuillez                                            Objet 
                répondre à             Maven can't locate my jar           
             Maven Users List                                              
             <users@maven.apa                                              
                 che.org>                                                  
                                                                           
                                                                           
                                                                           




Hi
One of my projects uses a jar sitting in a dir  /.maven/repository/support
and jar is called

Support_Logging-1.1.jar

The entry for this dependency in my project.xml file is

<dependency>
         <groupId>support</groupId>
         <artifactId>Support_Logging</artifactId>
         <version>1.1</version>
       </dependency>

When I run "maven jar:install" for the project I get an error message
saying :

        at com.werken.forehead.Forehead.main(Forehead.java:581)
WARNING: Failed to download Support_Logging-1.1.jar.
The build cannot continue because of the following unsatisfied dependency:
Support_Logging-1.1.jar

The debug option (-X) shows that Maven is tried to download
 http://www.ibiblio.org/maven/vasc-shared/jars/Support_Logging-1.1.jar .Why
is Maven failing to locate my jar even though its right there in
/.maven/repository/support ?
What am I missing?

jeff mutonho

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org