Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho and Kotlin

Carsten,
you are correct. Thanks for clarification.
Kind regards


Am 01.06.2017 um 14:00 schrieb Carsten Reckord:
@Mojo(name = "compile", defaultPhase = LifecyclePhase.COMPILE,
requiresDependencyResolution = ResolutionScope.COMPILE
  (https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-
maven-
plugin/src/main/java/org/jetbrains/kotlin/maven/K2JVMCompileMojo.java).

Is MavenProject.getCompileClasspathElements() delivering a different
result than project.getDependencies() when resolving dependencies and
therefore picks up these SYSTEM dependencies?
ResolutionScope.COMPILE documentation says so: "compile resolution scope = compile + system + provided dependencies", see [1]. And the Mojo API docs say the same about the Mojo.requiresDependencyResolution element, see [2].

[1] https://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/ResolutionScope.html#COMPILE
[2] https://maven.apache.org/developers/mojo-api-specification.html
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


--
Entimo AG
Stralauer Platz 33 - 34 | 10243 Berlin | Germany
Tel: +49.30.52 00 24 133 | Fax: +49.30.52 00 24 101
hst@xxxxxxxxxx | http://www.entimo.com/

Vorstand: J├╝rgen Spieler (Vors.), Marianne Neumann
Aufsichtratsvorsitzender: Erika Tannenbaum

Sitz der Gesellschaft: Berlin, Germany | Handelsregister: HRB Berlin-Charlottenburg 85073



Back to the top