Examples of addDependencyArtifact()


Examples of org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor.addDependencyArtifact()

                        transitive);

                    Artifact artifact = (Artifact) bundle.getMeta().get(Artifact.class);
                    if (artifact != null)
                    {
                        dd.addDependencyArtifact(mrid.getName(),
                            new DefaultDependencyArtifactDescriptor(dd,
                                artifact.getName(), "jar", "jar", null, null));
                    }
                }
                else
View Full Code Here

Examples of org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor.addDependencyArtifact()

            DefaultDependencyArtifactDescriptor depArtifact = new DefaultDependencyArtifactDescriptor(
                    dd, dd.getDependencyId().getName(), type, ext, null, extraAtt);
            // here we have to assume a type and ext for the artifact, so this is a limitation
            // compared to how m2 behave with classifiers
            String optionalizedScope = dep.isOptional() ? "optional" : scope;
            dd.addDependencyArtifact(optionalizedScope, depArtifact);
        }

        // experimentation shows the following, excluded modules are
        // inherited from parent POMs if either of the following is true:
        // the <exclusions> element is missing or the <exclusions> element
View Full Code Here

Examples of org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor.addDependencyArtifact()

                    new DefaultDependencyArtifactDescriptor(dd, dd.getDependencyId().getName(),
                        type, type, null, extraAtt);
            // here we have to assume a type and ext for the artifact, so this is a limitation
            // compared to how m2 behave with classifiers
            String optionalizedScope = dep.isOptional() ? "optional" : scope;
            dd.addDependencyArtifact(optionalizedScope, depArtifact);
        }
       
        // experimentation shows the following, excluded modules are
        // inherited from parent POMs if either of the following is true:
        // the <exclusions> element is missing or the <exclusions> element
View Full Code Here

Examples of org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor.addDependencyArtifact()

                    new DefaultDependencyArtifactDescriptor(dd.getDependencyId().getName(),
                        "jar", "jar", null, extraAtt);
            // here we have to assume a type and ext for the artifact, so this is a limitation
            // compared to how m2 behave with classifiers
            String optionalizedScope = dep.isOptional() ? "optional" : dep.getScope();
            dd.addDependencyArtifact(optionalizedScope, depArtifact);
        }
       
        for (Iterator itExcl = dep.getExcludedModules().iterator(); itExcl.hasNext();) {
            ModuleId excludedModule = (ModuleId) itExcl.next();
            String[] confs = dd.getModuleConfigurations();
View Full Code Here

Examples of org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor.addDependencyArtifact()

                    new DefaultDependencyArtifactDescriptor(dd, dd.getDependencyId().getName(),
                        type, ext, null, extraAtt);
            // here we have to assume a type and ext for the artifact, so this is a limitation
            // compared to how m2 behave with classifiers
            String optionalizedScope = dep.isOptional() ? "optional" : scope;
            dd.addDependencyArtifact(optionalizedScope, depArtifact);
        }
       
        // experimentation shows the following, excluded modules are
        // inherited from parent POMs if either of the following is true:
        // the <exclusions> element is missing or the <exclusions> element
View Full Code Here

Examples of org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor.addDependencyArtifact()

                    new DefaultDependencyArtifactDescriptor(dd, dd.getDependencyId().getName(),
                        type, type, null, extraAtt);
            // here we have to assume a type and ext for the artifact, so this is a limitation
            // compared to how m2 behave with classifiers
            String optionalizedScope = dep.isOptional() ? "optional" : scope;
            dd.addDependencyArtifact(optionalizedScope, depArtifact);
        }
       
        for (Iterator itExcl = dep.getExcludedModules().iterator(); itExcl.hasNext();) {
            ModuleId excludedModule = (ModuleId) itExcl.next();
            String[] confs = dd.getModuleConfigurations();
View Full Code Here

Examples of org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor.addDependencyArtifact()

                    new DefaultDependencyArtifactDescriptor(dd, dd.getDependencyId().getName(),
                        type, ext, null, extraAtt);
            // here we have to assume a type and ext for the artifact, so this is a limitation
            // compared to how m2 behave with classifiers
            String optionalizedScope = dep.isOptional() ? "optional" : scope;
            dd.addDependencyArtifact(optionalizedScope, depArtifact);
        }
       
        // experimentation shows the following, excluded modules are
        // inherited from parent POMs if either of the following is true:
        // the <exclusions> element is missing or the <exclusions> element
View Full Code Here

Examples of org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor.addDependencyArtifact()

                    new DefaultDependencyArtifactDescriptor(dd, dd.getDependencyId().getName(),
                        type, type, null, extraAtt);
            // here we have to assume a type and ext for the artifact, so this is a limitation
            // compared to how m2 behave with classifiers
            String optionalizedScope = dep.isOptional() ? "optional" : scope;
            dd.addDependencyArtifact(optionalizedScope, depArtifact);
        }
       
        for (Iterator itExcl = dep.getExcludedModules().iterator(); itExcl.hasNext();) {
            ModuleId excludedModule = (ModuleId) itExcl.next();
            String[] confs = dd.getModuleConfigurations();
View Full Code Here

Examples of org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor.addDependencyArtifact()

                    new DefaultDependencyArtifactDescriptor(dd, dd.getDependencyId().getName(),
                        type, type, null, extraAtt);
            // here we have to assume a type and ext for the artifact, so this is a limitation
            // compared to how m2 behave with classifiers
            String optionalizedScope = dep.isOptional() ? "optional" : scope;
            dd.addDependencyArtifact(optionalizedScope, depArtifact);
        }
       
        for (Iterator itExcl = dep.getExcludedModules().iterator(); itExcl.hasNext();) {
            ModuleId excludedModule = (ModuleId) itExcl.next();
            String[] confs = dd.getModuleConfigurations();
View Full Code Here

Examples of org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor.addDependencyArtifact()

                    new DefaultDependencyArtifactDescriptor(dd, dd.getDependencyId().getName(),
                        type, ext, null, extraAtt);
            // here we have to assume a type and ext for the artifact, so this is a limitation
            // compared to how m2 behave with classifiers
            String optionalizedScope = dep.isOptional() ? "optional" : scope;
            dd.addDependencyArtifact(optionalizedScope, depArtifact);
        }
       
        // experimentation shows the following, excluded modules are
        // inherited from parent POMs if either of the following is true:
        // the <exclusions> element is missing or the <exclusions> element
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.