You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by thomas2004 <th...@yahoo.de> on 2009/01/15 13:31:43 UTC

for org/testng/testng/5.8/

Hi all,

I need the "testng-5.8-jdk15.jar" in my program and I find it under:
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/testng/testng/5.8/

I put this dependency in the "pom.xml" as follow but it couldn't find that.
What is the correct writting for <dependency/>?

		<dependency>
			<groupId>org.testng</groupId>
			<artifactId>testng-5.8</artifactId>
			<version>5.8-jdk15</version>
		</dependency>

-- 
View this message in context: http://www.nabble.com/%3Cdenpendency-%3E-for-org-testng-testng-5.8--tp21476664p21476664.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: for org/testng/testng/5.8/

Posted by thomas2004 <th...@yahoo.de>.


inbroker wrote:
> 
> 
>  I tried the following in Eclipse and worked fine
> <dependency>
> 				<groupId>org.testng</groupId>
> 				<artifactId>testng</artifactId>
> 				<version>5.8</version>
> 				<type>jar</type>
> 				<classifier>jdk15</classifier>
> 				<scope>compile</scope>
> </dependency>
> although this was from the central repository.
> http://repo1.maven.org/maven2.
> 
> I hope it helps.
> Inbroker
> 

Bingo, it works!

Thanks.
-- 
View this message in context: http://www.nabble.com/%3Cdenpendency-%3E-for-org-testng-testng-5.8--tp21476664p21476836.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: for org/testng/testng/5.8/

Posted by inbroker <in...@live.com>.

thomas2004 wrote:
> 
> I need the "testng-5.8-jdk15.jar" in my program and I find it under:
> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/testng/testng/5.8/
> 

 I tried the following in Eclipse and worked fine
<dependency>
				<groupId>org.testng</groupId>
				<artifactId>testng</artifactId>
				<version>5.8</version>
				<type>jar</type>
				<classifier>jdk15</classifier>
				<scope>compile</scope>
</dependency>
although this was from the central repository.
http://repo1.maven.org/maven2.

I hope it helps.
Inbroker
-- 
View this message in context: http://www.nabble.com/%3Cdenpendency-%3E-for-org-testng-testng-5.8--tp21476664p21476760.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: for org/testng/testng/5.8/

Posted by Martin Höller <ma...@xss.co.at>.
Hi!

On Thursday 15 January 2009 thomas2004 wrote:
> I need the "testng-5.8-jdk15.jar" in my program and I find it under:
> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/testng/testng/5.8/
>
> I put this dependency in the "pom.xml" as follow but it couldn't find
> that. What is the correct writting for <dependency/>?

You can always use http://www.mvnbrowser.com/ or http://mvnindex.org/ to 
find an artifact and see the corresponding pom-snippet.

hth,
- martin