Great.  That helps alot.

Any ideas about my original problem?

Thanks,

Eric

Nick Chalko wrote:

>See 
>http://www.mail-archive.com/[email protected]/msg03357.ht
>ml
>for a discussion on naming jars
>
>dependency has an optional jar element that sets the actual  name of the
>jar.
>
>
>-----Original Message-----
>From: Eric Weidner [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 23, 2002 4:29 PM
>To: Turbine Maven Users List
>Subject: Re: Bad address for downloading dependencies
>
>
>No go.
>
>I've tried to add this to the following files.
>
>{user.home}/build.properties
>{project.home}/build.properties
>{project.home}/project.properties
>
>None of these work.  It's still trying to go to the turbine site.
>
>2nd, is there anyway to override the way maven creates the jar name it 
>is looking for?
>
>    <dependency>
>      <id>j2ee</id>
>      <version>1.3.1</version>
>      <url>http://localhost/</url>
>    </dependency>
>
>With the entry above, maven is trying to find j2ee-1.3.1.jar when the 
>jar is actually named j2ee.jar.
>
>
>3rd, would it be possible for someone to write a real quick and dirty 
>doc on getting b5 to work.  The docs in the xdocs directory seem to be 
>for b4.
>
>Thanks,
>
>Eric
>
>
>Nick Chalko wrote:
>
>  
>
>>the url is the "Informatino URL"
>>you need to set maven.repo.remote
>>
>>
>>-----Original Message-----
>>From: Eric Weidner [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, July 23, 2002 3:48 PM
>>To: Turbine Maven Users List
>>Subject: Bad address for downloading dependencies
>>
>>
>>I'm trying to integrate a project with Maven b5 using Maven as an example.
>>
>>I've created project.xml, myProject.xml, and jars.list files for myProject.
>>
>>In project.xml, I have created 2 dependency entries...
>>
>>     <dependencies>
>>       <dependency>
>>         <id>jaxb-xjc</id>
>>         <version>1.0-ea</version>
>>         <url>http://localhost/</url>
>>       </dependency>
>>       <!-- Runtime dependencies -->
>>       <dependency>
>>         <id>jaxb-rt</id>
>>         <version>1.0-ea</version>
>>         <url>http://localhost/</url>
>>       </dependency>
>>     </dependencies>
>>
>>In jars.list, I have add the 2 jar files...
>>
>>   jaxb-rt-1.0-ea.jar
>>   jaxb-xjc-1.0-ea.jar
>>
>>
>>I have put these 2 jar files on a local webserver in the root directory.
>>
>>The problem I've run into is that Maven keeps trying to get dependency 
>>jars from the jakarta turbine site.   Why is it going there instead of 
>>my local site?  Why is it trying to get non-distributable-jars.list from 
>>the turbine site as well?  I have nothing in my project that mentions 
>>this file or this site.
>>
>>   # /opt/maven/bin/maven java:jar
>>    __  __
>>   |  \/  |__ Jakarta _ ___
>>   | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>   |_|  |_\__,_|\_/\___|_||_|   v. 1.0-b5-dev
>>
>>   My Project (myProject) .90-a2-dev
>>   /home/projects/myProject
>>
>>   Getting:
>>   http://jakarta.apache.org/turbine/jars2/non-distributable-jars.list
>>   Not modified - so not downloaded
>>   Getting:
>>
>>http://jakarta.apache.org/turbine/jars2//jaxb-xjc/jars/jaxb-xjc-1.0-ea.jar
>>   Error opening connection java.io.FileNotFoundException:
>>
>>http://jakarta.apache.org/turbine/jars2//jaxb-xjc/jars/jaxb-xjc-1.0-ea.jar
>>   Error opening connection java.io.FileNotFoundException:
>>
>>http://jakarta.apache.org/turbine/jars2//jaxb-xjc/jars/jaxb-xjc-1.0-ea.jar
>>   Error opening connection java.io.FileNotFoundException:
>>
>>http://jakarta.apache.org/turbine/jars2//jaxb-xjc/jars/jaxb-xjc-1.0-ea.jar
>>   Can't get /jaxb-xjc/jars/jaxb-xjc-1.0-ea.jar to
>>   /opt/maven_jar_repository/jaxb-xjc/jars/jaxb-xjc-1.0-ea.jar
>>   Getting:
>>
>>    
>>
>http://jakarta.apache.org/turbine/jars2//jaxb-rt/jars/jaxb-rt-1.0-ea.jar
>  
>
>>   Error opening connection java.io.FileNotFoundException:
>>
>>    
>>
>http://jakarta.apache.org/turbine/jars2//jaxb-rt/jars/jaxb-rt-1.0-ea.jar
>  
>
>>   Error opening connection java.io.FileNotFoundException:
>>
>>    
>>
>http://jakarta.apache.org/turbine/jars2//jaxb-rt/jars/jaxb-rt-1.0-ea.jar
>  
>
>>   Error opening connection java.io.FileNotFoundException:
>>
>>    
>>
>http://jakarta.apache.org/turbine/jars2//jaxb-rt/jars/jaxb-rt-1.0-ea.jar
>  
>
>>   Can't get /jaxb-rt/jars/jaxb-rt-1.0-ea.jar to
>>   /opt/maven_jar_repository/jaxb-rt/jars/jaxb-rt-1.0-ea.jar
>>
>>   -------------------------------------------------
>>   W A R N I N G
>>   ------------------------------------------------
>>   Failed to download dependent file jaxb-xjc-1.0-ea.jar
>>
>>   -------------------------------------------------
>>   W A R N I N G
>>   ------------------------------------------------
>>   Failed to download dependent file jaxb-rt-1.0-ea.jar
>>
>>Thanks,
>>
>>Eric
>>
>>--
>>To unsubscribe, e-mail:
>>    
>>
><mailto:[EMAIL PROTECTED]>
>  
>
>>For additional commands, e-mail:
>>    
>>
><mailto:[EMAIL PROTECTED]>
>  
>
>>
>> 
>>
>>    
>>
>
>
>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>
>  
>


Reply via email to