Package scala_maven

Class TychoUtilities

java.lang.Object
scala_maven.TychoUtilities

public class TychoUtilities extends Object
Grossly hacky utility class which provides the fully unpacked OSGi classpath (ie. including nested .jars) when used in the context of Tycho and Maven 3. The use of reflection is required to avoid wiring in a dependency on either Tycho or Maven 3.
  • Field Details

    • TychoConstants_CTX_ECLIPSE_PLUGIN_CLASSPATH

      private static final String TychoConstants_CTX_ECLIPSE_PLUGIN_CLASSPATH
      See Also:
    • getContextValueMethod

      private static final Method getContextValueMethod
    • getLocationsMethod

      private static final Method getLocationsMethod
  • Constructor Details

    • TychoUtilities

      public TychoUtilities()
  • Method Details

    • addOsgiClasspathElements

      public static List<String> addOsgiClasspathElements(org.apache.maven.project.MavenProject project, List<String> defaultClasspathElements)
    • getContextValue

      private static Object getContextValue(org.apache.maven.project.MavenProject project, String key)
    • getLocations

      private static List<File> getLocations(Object classpathEntry)