You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by sprabhu <sa...@gmail.com> on 2007/08/23 17:51:45 UTC

Creating maven project

Hi,

We am currently using ant for our build environment.
We are planning to use Maven for build process.

We already have all the third party jar libraries in our cvs repository.
In our maven project we want to use this jar files directly instead of
providing 
the groupid, artifactid and versionid.
Is there any way in Maven in which I can provide the full path of the jars 
on which the project depends.
All our projects use the same version of the third party jars so we have
removed 
the version number from the jar name.

Thanks in advance.

Regards,
Santosh
-- 
View this message in context: http://www.nabble.com/Creating-maven-project-tf4318371s177.html#a12296368
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Creating maven project

Posted by Wayne Fay <wa...@gmail.com>.
You can use <scope>system</scope> in your dependency declaration for
this. You can find more documentation online.

Having said that, you are STRONGLY advised against using system scope,
especially for new users, as it does not always work as you would
expect. Instead, you should use Maven the correct way -- with
artifacts in a repository, and dependency scopes based on your actual
needs etc.

Wayne

On 8/23/07, sprabhu <sa...@gmail.com> wrote:
>
> Hi,
>
> We am currently using ant for our build environment.
> We are planning to use Maven for build process.
>
> We already have all the third party jar libraries in our cvs repository.
> In our maven project we want to use this jar files directly instead of
> providing
> the groupid, artifactid and versionid.
> Is there any way in Maven in which I can provide the full path of the jars
> on which the project depends.
> All our projects use the same version of the third party jars so we have
> removed
> the version number from the jar name.
>
> Thanks in advance.
>
> Regards,
> Santosh
> --
> View this message in context: http://www.nabble.com/Creating-maven-project-tf4318371s177.html#a12296368
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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