Class TychoOsgiRuntimeLocator

    • Field Detail

      • SYSTEM_PACKAGES_EXTRA

        private static final java.lang.String[] SYSTEM_PACKAGES_EXTRA
        List of packages exported by the shared bundles. The shared bundles are loaded by the Maven class loader (see transitive dependencies of tycho-maven-plugin) but their classes are also exposed to the implementation bundles in in Tycho's OSGi runtime (see TychoOsgiRuntimeArtifacts.getRuntimeArtifacts()) via the system packages extra option.
      • logger

        @Requirement
        private org.codehaus.plexus.logging.Logger logger
      • repositorySystem

        @Requirement
        private org.apache.maven.repository.RepositorySystem repositorySystem
      • resolutionErrorHandler

        @Requirement
        private org.apache.maven.artifact.resolver.ResolutionErrorHandler resolutionErrorHandler
      • buildContext

        @Requirement
        private org.apache.maven.plugin.LegacySupport buildContext
      • unArchiver

        @Requirement(hint="zip")
        private org.codehaus.plexus.archiver.UnArchiver unArchiver
    • Constructor Detail

      • TychoOsgiRuntimeLocator

        public TychoOsgiRuntimeLocator()
    • Method Detail

      • addRuntimeArtifact

        private void addRuntimeArtifact​(EquinoxRuntimeLocator.EquinoxRuntimeDescription description,
                                        org.apache.maven.execution.MavenSession session,
                                        org.apache.maven.model.Dependency dependency)
                                 throws org.apache.maven.MavenExecutionException
        Throws:
        org.apache.maven.MavenExecutionException
      • resolveDependency

        public org.apache.maven.artifact.Artifact resolveDependency​(org.apache.maven.execution.MavenSession session,
                                                                    org.apache.maven.model.Dependency dependency)
                                                             throws org.apache.maven.MavenExecutionException
        Throws:
        org.apache.maven.MavenExecutionException
      • getPluginRepositories

        protected java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> getPluginRepositories​(org.apache.maven.execution.MavenSession session)