Thanks,
Tried that too (even with two slashes), didn't work either:
[INFO] [resources:resources]
Downloading: http://repo1.maven.org/maven2/jmf/jmf/2.1.1/jmf-2.1.1.pom
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
----------------------------------------------------------------------------
[INFO] Main Error:
Unable to read the metadata file
jmf:jmf:2.1.1:jar
from the specified remote repositories:
http://repo1.maven.org/maven2, "file:///D:/shared/repository"
> -----Original Message-----
> From: Edwin Punzalan [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 10, 2005 10:31 PM
> To: Maven Users List
> Subject: Re: How to load "unknown" dependencies.
>
>
> The <url> must be set to the root folder of the jars... in
> your case, it
> should be "file:///D:/shared/repository"
>
> I haven't seen "file:" get used as a repo before, but I guess that
> should work.
>
>
>
> Hogeweg, Erwin (GE Infrastructure) wrote:
>
> >Hi Brett,
> >
> >Like:
> >
> > <repositories>
> > <repository>
> > <id>jmf</id>
> > <name>jmf</name>
> > <url>"file:///D:/shared/repository/jmf/jmf/2.1.1"</url>
> > <snapshotPolicy>"always"</snapshotPolicy>
> > <layout/>
> > <checksumPolicy>"warn"</checksumPolicy>
> > </repository>
> > </repositories>
> >
> >?
> >
> >Thanks,
> >
> >Erwin
> >
> >
> >
> >
> >>-----Original Message-----
> >>From: Brett Porter [mailto:[EMAIL PROTECTED]
> >>Sent: Wednesday, August 10, 2005 10:10 PM
> >>To: Maven Users List
> >>Subject: Re: How to load "unknown" dependencies.
> >>
> >>
> >>Hi Erwin,
> >>
> >>The specific instructions on the page I gave you were for
> Maven 1.0.2.
> >>
> >>In Maven 2.0, you must add the extra repository to pom.xml.
> >>project.properties is not used.
> >>
> >>- Brett
> >>
> >>On 8/11/05, Hogeweg, Erwin (GE Infrastructure)
> >><[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>>Sorry, it's me again...
> >>>
> >>>My apologies if I sound stupid, but I hit an other wall.
> >>>
> >>>I created a project.properties (is this the right name?)
> >>>
> >>>
> >>file with this entry:
> >>
> >>
> >>> maven.repo.remote=file:///D:/shared/repository
> >>>copied my jmf.jar to
> >>> d:\shared\repository\jmf\jmf\2.1.1\jmf-2.1.1.jar,
> >>>created the following pom file in
> >>>
> >>>
> >>d:\shared\repository\jmf\jmf\2.1.1\
> >>
> >>
> >>> <project>
> >>> <modelVersion>4.0.0</modelVersion>
> >>> <groupId>jmf</groupId>
> >>> <artifactId>jmf</artifactId>
> >>> <name>Java Media Framework</name>
> >>> <version>2.1.1</version>
> >>> </project>
> >>>
> >>>In my pom.xml I added:
> >>> <dependency>
> >>> <groupId>jmf</groupId>
> >>> <artifactId>jmf</artifactId>
> >>> <version>2.1.1</version>
> >>> </dependency>
> >>>
> >>>but m2 compile still tells me:
> >>> [INFO] [resources:resources]
> >>> Downloading:
> >>>
> >>>
> >>http://repo1.maven.org/maven2/jmf/jmf/2.1.1/jmf-2.1.1.pom
> >>
> >>
> >>> [INFO]
> >>>
> >>>
> >>--------------------------------------------------------------
> >>--------------
> >>
> >>
> >>> [INFO] BUILD FAILURE
> >>> [INFO]
> >>>
> >>>
> >>--------------------------------------------------------------
> >>--------------
> >>
> >>
> >>> [INFO] Main Error:
> >>> Unable to read the metadata file
> >>> jmf:jmf:2.1.1:jar
> >>>
> >>> from the specified remote repositories:
> >>> http://repo1.maven.org/maven2
> >>>
> >>>Do I need to create the sha and md5 files as well? If so,
> >>>
> >>>
> >>how do I do that for existing jars?
> >>
> >>
> >>>Any help is highly appreciated.
> >>>
> >>>Thanks again,
> >>>
> >>>Erwin
> >>>
> >>>
> >>>
> >>>>-----Original Message-----
> >>>>From: Brett Porter [mailto:[EMAIL PROTECTED]
> >>>>Sent: Wednesday, August 10, 2005 9:26 PM
> >>>>To: Maven Users List
> >>>>Subject: Re: How to load "unknown" dependencies.
> >>>>
> >>>>
> >>>>Yes:
> >>>>http://maven.apache.org/reference/internal-repositories.html
> >>>>
> >>>>You can get libraries uploaded, but only if their license allows
> >>>>unrestricted redistribution (which I think JMF and Jimi wouldn't)
> >>>>
> >>>>- Brett
> >>>>
> >>>>On 8/11/05, Hogeweg, Erwin (GE Infrastructure)
> >>>><[EMAIL PROTECTED]> wrote:
> >>>>
> >>>>
> >>>>>Hi,
> >>>>>
> >>>>>I need one or two libraries in my project (JMF and jimi)
> >>>>>
> >>>>>
> >>>>that are not in the public repository. What is the trick to
> >>>>include them anyway? Do I need to create, and reference my
> >>>>own repository?
> >>>>
> >>>>
> >>>>>Thanks,
> >>>>>
> >>>>>ERwin
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>------------------------------------------------------------
> ---------
> >>
> >>
> >>>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>------------------------------------------------------------
> ---------
> >>
> >>
> >>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>------------------------------------------------------------
> ---------
> >>
> >>
> >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >>>
> >>------------------------------------------------------------
> ---------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]