[ http://jira.codehaus.org/browse/MOJO-33?page=all ]
Brett Porter closed MOJO-33:
----------------------------
Assign To: Brett Porter
Resolution: Won't Fix
we have test ng suport elsewhere, and the annotation problem is already filed
in MNG
> Having problems with annotations an maven in a plugin
> -----------------------------------------------------
>
> Key: MOJO-33
> URL: http://jira.codehaus.org/browse/MOJO-33
> Project: Mojo
> Type: Bug
> Reporter: Kaare Nilsen
> Assignee: Brett Porter
> Attachments: maven-testng-plugin.zip
>
>
> Hi.,
> I am tgrying to make a testNG plugin for maven2. I have sucessfully done that
> for the testNG version using javadoc tags, but run into some problems with
> the java annotations.
> I am attaching my plugin project, and in there you will find that all the
> actual testNG code has been commented out, and the code that runs are the
> isolated problem.
> What happens is that when i run the plugincode in a junit testcase in my
> eclipse environment. all annotations are found, but when i do run it in the
> maven environmet all the annotations are null...
> PS:
> You will also need to download and install testng in your local repository
> http://testng.org
> m2 install:install-file -DartifactId=testng-jdk15 -DgroupId=testng
> -Dversion=2.5.5 -Dpackaging=jar -Dfile=testng-2.5.5-jdk15.jar
> m2 install:install-file -DartifactId=testng-jdk14 -DgroupId=testng
> -Dversion=2.5.5 -Dpackaging=jar -Dfile=testng-2.5.5-jdk14.jar
--
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