Hi Tibor,

so this is not how it should be done.
Compat contains classes which Maven2 classes which have been replaced by Maven3 or are not used anymore. Only plugins which need to stay compatible with Maven2 should include this dependency.

I'll update the page, because we've decided to change the version to 3.0-SNAPSHOT

And regarding your other message: see the third bullet when using maven-plugin-testing-harness. Use version 2.1 if you want to ensure that the tests are Maven 3.0 compatible.

If you need help, just let me know. By now I can recognize most of the migration issues :)

thanks,
Robert

Op Thu, 07 Jan 2016 00:50:10 +0100 schreef Tibor Digana <tibordig...@apache.org>:

P=NP
maven-compat made the trick

<dependency>
  <groupId>org.apache.maven</groupId>
  <artifactId>maven-compat</artifactId>
</dependency>



On Thu, Jan 7, 2016 at 12:09 AM, Tibor Digana-2 [via Maven] <
ml-node+s40175n5858124...@n5.nabble.com> wrote:

I missing this import in MOJO after migrating plugin to 3.0


import org.apache.maven.shared.artifact.resolve.ArtifactResolver;

The doc [1] says that maven-artifact-transfer should be used but it does
not have yet a release version, or?

<dependency>
  <groupId>org.apache.maven.shared</groupId>
  <artifactId>maven-artifact-transfer</artifactId>
  <version>0.0.1-SNAPSHOT</version>
</dependency>

[1]

https://cwiki.apache.org/confluence/display/MAVEN/Plugin+migration+to+Maven3+dependencies

--
Cheers
Tibor


------------------------------
If you reply to this email, your message will be added to the discussion
below:

http://maven.40175.n5.nabble.com/migrating-Surefire-to-3-0-RC1-tp5858124.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/migrating-Surefire-to-3-0-RC1-tp5858124p5858130.html
Sent from the Maven Developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to