You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by rakeshsugirtharaj <ra...@yahoo.co.in> on 2008/01/10 08:59:12 UTC

How to add a dependency - newbie to maven

Hi folks!,
                   I m doing a project that uses SWT for gui. How do i add
the dependent jars to maven? Any help will be appeciated.

Thanks in advance
-- 
View this message in context: http://www.nabble.com/How-to-add-a-dependency---newbie-to-maven-tp14729321s177p14729321.html
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: How to add a dependency - newbie to maven

Posted by Jeff MAURY <je...@jeffmaury.com>.
SWT is available on the central repository
groupId: org.eclipse
artifactId: swt
version: 3.2.1-v3235e or 3.3.0-v3346

Jeff


On Jan 10, 2008 8:59 AM, rakeshsugirtharaj <ra...@yahoo.co.in> wrote:

>
> Hi folks!,
>                   I m doing a project that uses SWT for gui. How do i add
> the dependent jars to maven? Any help will be appeciated.
>
> Thanks in advance
> --
> View this message in context:
> http://www.nabble.com/How-to-add-a-dependency---newbie-to-maven-tp14729321s177p14729321.html
> 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
>
>


-- 
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com

RE: How to add a dependency - newbie to maven

Posted by ni...@planet.nl.
Your first step will be a visit to mvnrepository.com. When you search artifacts there, you're sure they are on the central repository. I just checked and there are multiple swt jar files there. If you find the one you search, add the dependency to the pom.xml file and rebuild. If you can't find it there, take a look at this blog post: http://blambi.blogspot.com/2007/07/maven2-swt-builds.html.

Hth,

Nick Stolwijk


-----Original Message-----
From: rakeshsugirtharaj [mailto:rakesh_s_raj@yahoo.co.in]
Sent: Thu 1/10/2008 8:59 AM
To: users@maven.apache.org
Subject: How to add a dependency - newbie to maven
 

Hi folks!,
                   I m doing a project that uses SWT for gui. How do i add
the dependent jars to maven? Any help will be appeciated.

Thanks in advance
-- 
View this message in context: http://www.nabble.com/How-to-add-a-dependency---newbie-to-maven-tp14729321s177p14729321.html
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