javax.annotation.concurrent.NotThreadSafe cannot be used because it does not have RUNTIME RetentionPolicy.
On Wed, Sep 28, 2016 at 1:27 AM, James Taylor [via Maven] < ml-node+s40175n5881707...@n5.nabble.com> wrote: > Hello, > I noticed in the documentation here[1] that you can use > the @net.jcip.annotations.NotThreadSafe annotation to prevent a test > class > from running in parallel. Is it also possible to use > the javax.annotation.concurrent.NotThreadSafe annotation in the same way > as > I'd like to not have to introduce a new project dependency if possible. > > Thanks, > James > > > [1] > http://maven.apache.org/surefire/maven-surefire- > plugin/examples/fork-options-and-parallel-execution.html# > Parallel_Test_Execution_and_Single_Thread_Execution > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://maven.40175.n5.nabble.com/annotation-to-prevent- > parallel-surefire-execution-tp5881707.html > To start a new topic under Maven Developers, email > ml-node+s40175n142166...@n5.nabble.com > To unsubscribe from Maven Developers, click here > <http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=142166&code=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg==> > . > NAML > <http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://maven.40175.n5.nabble.com/annotation-to-prevent-parallel-surefire-execution-tp5881707p5881892.html Sent from the Maven Developers mailing list archive at Nabble.com.