That option was only introduced in recent development builds. I'll
push for a release.

- Brett

On 1/3/06, Georges Polyzois <[EMAIL PROTECTED]> wrote:
> Hi
>
> Is there a way to generate pom and checksum files also
> When adding jar to local repository?
>
> The property -DgeneratePom=true does not work for me.
>
> Regards
> Georges
>
> -----Original Message-----
> From: Bill Dudney [mailto:[EMAIL PROTECTED]
> Sent: den 3 januari 2006 13:46
> To: Maven Users List
> Subject: Re: [m2]Local repo problem
>
>
> Hi David,
>
> Instead of manually installing the jar let maven do it for you;
>
> mvn -DartifactId=oraclejar -Dfile=./classes12.jar -DgroupId=oraclejar
> -Dpackaging=jar -Dversion=1.2 install:install-file
>
> Which will cause your jar file to be put into the repository properly.
>
> Also - you appear to be using an maven 1 repo layout for your m2
> repo, make sure to specify legacy in your pointer to the repository.
>
> HTH,
>
> Bill Dudney
> MyFaces - myfaces.apache.org
> Wadi - incubator.apache.org/wadi
>
>
>
> On Jan 3, 2006, at 3:35 AM, Abbs, David A wrote:
>
> > I have setup a local repository and dependencies are getting
> > downloaded
> > to it fine.
> >
> > I tried to put my own jar in their (an oracle db driver)
> >
> > I am running maven 2 of windows xp.
> >
> > Doing the following:
> >
> > Setup repository at location
> >
> > C:/mvnlocalrep
> >
> > Then add the following structure
> >
> > C:
> >   mvnlocalrep
> >       oraclejar
> >       jars
> >         classes12.jar
> >       poms
> >         classes12.pom
> >
> > In the pom file I write the following
> >
> > <project>
> >   <modelVersion>10.0.1</modelVersion>
> >   <groupId>oraclejdbc</groupId>
> >   <artifactId>classes12</artifactId>
> >   <version>0.1</version>
> > </project>
> >
> > The I add this to the pom.xml where I want to use the dependency
> >
> >      <dependency>
> >       <groupId>oraclejdbc</groupId>
> >       <artifactId>classes12</artifactId>
> >       <version>0.1</version>
> >       <scope>compile</scope>
> >     </dependency>
> >
> > When I then do a
> >
> > Mvn compile on the project I get this:
> >
> > required artifacts missing:
> >   oraclejdbc:classes12:jar:0.1
> >
> > for the artifact:
> >   org.bms:bms1_3:jar:1.0-SNAPSHOT
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> >
> > I would be eternally grateful for any help on this.
> >
> > Thanks in advance.
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to