Hi,

  This install command is just to make Maven understand where to find the
Jar.. by default it looks under C:\MyDocu~1\{user}\.m2\repository.

You can always change this repo, by modifying the conf/settings.xml file
available under Maven home.

One more important point to note here is, the groupId, artifactId & the
version given while installing the JAR must match with the dependency
section in your pom.xml.

So for the below mentioned install command, your dependency must look like
<dependency>
  <groupId>com.fedex.crm.onesource</groupId>
   <artifactId>myfile</artifactId>
   <version>2.2.1</version>
</dependency>
One last point is always check carefully for spaces while executing the mvn
install:install-file command.

-- Ram
On Fri, Aug 8, 2008 at 9:08 PM, Lakshmi Kurella <[EMAIL PROTECTED]> wrote:

> I executed the following command
>
> mvn install:install -file -DgroupId=com.fedex.crm.onesource
> -DartifactId=myfile -Dversion=2.2.1 -Dpackaging=jar
> -Dfile=/path/to/file/myfile.jar
>
>
> Could someone tell me once I run the above command, where does maven keeps
> maintains the repositories. In my case I saw where it is but I am receiving
> a problem while compiling.
>
> Thanks,
> Lakshmi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks
Ram

Reply via email to