You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by e....@student.utwente.nl on 2007/01/25 12:22:36 UTC

add lib to project with maven1

I am using maven 1 and want to add  lib lucene.jar to my project
 
can someone explain how this is done?
 
1) In which directory should I place the lib?
2) what do I have to alter/add and in which files?
 
Regards,
 
Erik

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


RE: add lib to project with maven1

Posted by e....@student.utwente.nl.
thank you it worked

________________________________

Van: Arnaud HERITIER [mailto:aheritier@gmail.com]
Verzonden: do 25-1-2007 13:04
Aan: users@maven.apache.org
Onderwerp: Re: add lib to project with maven1




Have a look at in the documentation about dependencies.
In short, in your POM (project.xml) you add a dependency to lucene :
<dependency>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-core</artifactId>
  <version>2.0.0</version>
</dependency>

Arnaud


e.j.w.vanbloem wrote:
>
> I am using maven 1 and want to add  lib lucene.jar to my project
> 
> can someone explain how this is done?
> 
> 1) In which directory should I place the lib?
> 2) what do I have to alter/add and in which files?
> 
> Regards,
> 
> Erik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>

--
View this message in context: http://www.nabble.com/add-lib-to-project-with-maven1-tf3097516s177.html#a8600492
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


Re: add lib to project with maven1

Posted by Arnaud HERITIER <ah...@gmail.com>.
Have a look at in the documentation about dependencies.
In short, in your POM (project.xml) you add a dependency to lucene :
<dependency>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-core</artifactId>
  <version>2.0.0</version>
</dependency>

Arnaud


e.j.w.vanbloem wrote:
> 
> I am using maven 1 and want to add  lib lucene.jar to my project
>  
> can someone explain how this is done?
>  
> 1) In which directory should I place the lib?
> 2) what do I have to alter/add and in which files?
>  
> Regards,
>  
> Erik
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/add-lib-to-project-with-maven1-tf3097516s177.html#a8600492
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