[
http://jira.codehaus.org/browse/MAVENUPLOAD-695?page=comments#action_57485 ]
Carlos Sanchez commented on MAVENUPLOAD-695:
--------------------------------------------
I have created this pom for testng
{code}
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<packaging>jar</packaging>
<version>4.4.7</version>
<name>TestNG</name>
<url>http://testng.org</url>
<description>TestNG is a unit testing framework.</description>
<scm>
<url>https://testng.dev.java.net/source/browse/testng</url>
</scm>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>qdox</groupId>
<artifactId>qdox</artifactId>
<version>1.5</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>bsh</groupId>
<artifactId>bsh</artifactId>
<version>2.0b1</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>jdk14</id>
<activation>
<jdk>1.4</jdk>
</activation>
<dependencies>
<dependency>
<groupId>concurrent</groupId>
<artifactId>concurrent</artifactId>
<version>1.3.4</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
{code}
I think you can create the same profile thing in testng plugin or whatever
you're doing, something like the following
{code}
<profiles>
<profile>
<id>jdk14</id>
<activation>
<jdk>1.4</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>4.4.7</version>
<classifier>jdk14</classifier>
</dependency>
</dependencies>
</profile>
<profile>
<id>jdk15</id>
<activation>
<jdk>1.5</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>4.4.7</version>
<classifier>jdk15</classifier>
</dependency>
</dependencies>
</profile>
</profiles>
{code}
and the user won't need to chose the jdk
> Publish new testng release files to ibiblio
> -------------------------------------------
>
> Key: MAVENUPLOAD-695
> URL: http://jira.codehaus.org/browse/MAVENUPLOAD-695
> Project: maven-upload-requests
> Type: Task
> Reporter: Jesse Kuhnert
> Assignee: Carlos Sanchez
> Attachments: testng-4.4.7-jdk14-bundle.jar, testng-4.4.7-jdk15-bundle.jar
>
>
> This is a new ibiblio addition. The bundle jars aren't actually available on
> a normal public facing website (yet), but are attached to the issue
> referenced in the bundle url.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]