You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by li pan <pu...@gmail.com> on 2005/12/08 05:12:05 UTC

Dependency on a non-maven project?Need advice

Hi,
If my project depends on another project which is neither writen by myself
nor has a maven POM(there are tons of these type on www.sf.net), what is the
best way to include it in my project?
Thanks

Re: Dependency on a non-maven project?Need advice

Posted by Henry Isidro <hi...@exist.com>.
li pan wrote:

>Hi,
>If my project depends on another project which is neither writen by myself
>nor has a maven POM(there are tons of these type on www.sf.net), what is the
>best way to include it in my project?
>Thanks
>
>  
>
Maven dependencies are named: <artifactId-version.package> so the first 
to do would be to rename your dependency in that pattern (i.e. 
myproject-1.0.jar). Then you have to place this in your local 
repository. Have a look at 
http://maven.apache.org/guides/introduction/introduction-to-repositories.html 
and 
http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html.

HTH,

Henry

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


Re: Dependency on a non-maven project?Need advice

Posted by Eric Biesterfeld <ib...@gmail.com>.
First, have you checked http://ibiblio.org/maven2 to see if it has
been created there?

If not, we currently place our pre-maven projects in a repository
we've created. http://maven.apache.org/guides/introduction/introduction-to-repositories.html
has some information about creating your own internal repository.

On 12/7/05, li pan <pu...@gmail.com> wrote:
> Hi,
> If my project depends on another project which is neither writen by myself
> nor has a maven POM(there are tons of these type on www.sf.net), what is the
> best way to include it in my project?
> Thanks
>
>

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