com.carrotgarden.maven.scalor.eclipse.Context.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalor-maven-plugin_2.12 Show documentation
Show all versions of scalor-maven-plugin_2.12 Show documentation
Build integrator for Java, Scala, Scala.macro, Scala.js, Scala.native, Eclipse and Maven
package com.carrotgarden.maven.scalor.eclipse
import com.carrotgarden.maven.scalor.base
import com.carrotgarden.maven.scalor.util.Error.TryHard
import com.carrotgarden.maven.tools.Description
/**
* Eclipse wiring context.
*/
@Description( """
Note: controlled OSGI environment.
""" )
trait Context {
self : base.Context =>
/**
* Connect this Maven plugin with host Eclipse plugins.
* Only used when running inside Eclipse platform with M2E.
*/
// Lazy, for plexus injector.
lazy val wiringHandle = TryHard {
Wiring( buildContext ).setup
}
}