Examples of dependencies()


Examples of ch.cmbntr.modulizer.plugin.util.ModuleDescriptors.ModuleDescriptorBuilder.dependencies()

  public ModuleDescriptorBuilder createDescriptor(final Iterable<String> resourceRootPaths) {
    final ModuleDescriptorBuilder desc = ModuleDescriptors.xmlDescriptor(this.name, this.slot);
    desc.mainClass(this.mainClass);
    desc.resourceRoots(resourceRootPaths);
    desc.dependencies(this.dependencies);
    return desc;
  }

  public StringBuilder getDirectoryPath() {
    final StringBuilder path = new StringBuilder(40);
View Full Code Here

Examples of com.hascode.tutorial.xbeam.projection.MavenPom.dependencies()

public class MavenPomParsing {
  public static void main(final String[] args) throws IOException {
    MavenPom pom = new XBProjector().io().fromURLAnnotation(MavenPom.class);
    System.out.println("Project: " + pom.project().artifactId() + ":" + pom.project().groupId() + ":" + pom.project().version());
    pom.dependencies().forEach(dep -> {
      System.out.println("-dependency -> " + dep.artifactId() + ":" + dep.groupId() + ":" + dep.version());
    });
    System.out.println("updating project version to 1.2.3..");
    pom.project().version("1.2.3");
View Full Code Here

Examples of com.redhat.ceylon.cmr.api.ArtifactResult.dependencies()

            return;
        }
        // save even missing optional modules as nulls to not re-resolve them
        loadedModules.put(key, result);
        if(result != null){
            for(ArtifactResult dep : result.dependencies()){
                loadModule(dep.name(), dep.version(), dep.importType() == ImportType.OPTIONAL);
            }
        }
    }
View Full Code Here

Examples of com.redhat.ceylon.cmr.api.ArtifactResult.dependencies()

            builder.addDependency(lds); // local resources
            deps.add(lds);

            if (isDefault == false) {
                Node<ArtifactResult> root = new Node<>();
                for (ArtifactResult i : artifact.dependencies()) {
                    final String name = i.name();

                    // route logging to JBoss LogManager
                    if (isLogging(deps, builder, i)) {
                        continue;
View Full Code Here

Examples of com.redhat.ceylon.cmr.api.ArtifactResult.dependencies()

            // everything we know should be in the current class loader
            // plus everything from flat repositories
            if(inCurrentClassLoader || result.repository() instanceof FlatRepository){
                loadedModulesInCurrentClassLoader.add(name);
            }
            for(ArtifactResult dep : result.dependencies()){
                loadModule(dep.name(), dep.version(), dep.importType() == ImportType.OPTIONAL, inCurrentClassLoader);
            }
        }
    }
View Full Code Here

Examples of com.tinkerpop.gremlin.groovy.engine.ScriptEngines.dependencies()

        final GremlinExecutor executor = context.getGremlinExecutor();
        final ScriptEngines scriptEngines = executor.getScriptEngines();

        final Object infoToShow;
        if (infoType.equals(Tokens.ARGS_INFO_TYPE_DEPDENENCIES))
            infoToShow = scriptEngines.dependencies();
        else if (infoType.equals(Tokens.ARGS_INFO_TYPE_IMPORTS))
            infoToShow = scriptEngines.imports();
        else {
            // this shouldn't happen if validations are working properly.  will bomb and log as error to server logs
            // thus killing the connection
View Full Code Here

Examples of org.jboss.seam.annotations.Install.dependencies()

        Install install = componentClass.getAnnotation(Install.class);
        if (install == null)
        {
            return null;
        }
        return install.dependencies();
    }

    public Class[] getGenericDependencies()
    {
       
View Full Code Here

Examples of org.jboss.seam.annotations.Install.dependencies()

        Install install = componentClass.getAnnotation(Install.class);
        if (install == null)
        {
            return null;
        }
        return install.dependencies();
    }

    public Class[] getGenericDependencies()
    {
       
View Full Code Here

Examples of org.jboss.seam.annotations.Install.dependencies()

        Install install = componentClass.getAnnotation(Install.class);
        if (install == null)
        {
            return null;
        }
        return install.dependencies();
    }

    public Class[] getGenericDependencies()
    {
       
View Full Code Here

Examples of org.jnetpcap.packet.annotate.Bind.dependencies()

      try {

        Bind bind = boundMethod.getMethod().getAnnotation(Bind.class);
        target = bind.to();
        Class<? extends JHeader> source = bind.from();
        Class<? extends JHeader>[] dependencies = bind.dependencies();

        list.add(new AnnotatedBinding(c, source, target, boundMethod,
            dependencies));

      } catch (AnnotatedMethodException e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.