if ( !JavaScopes.SYSTEM.equals( pluginDep.getScope() ) ) pluginDep = pluginDep.setScope( JavaScopes.RUNTIME );
.anyMatch(applicationSharedLibUrl -> applicationSharedLibUrl.getArtifactId().equals(artifactId))); }) .map(depToTransform -> depToTransform.setScope(COMPILE)) .collect(toList());
if (TESTS_CLASSIFIER.equals(toTransform.getArtifact().getClassifier())) { return toTransform.setScope(COMPILE).setExclusions(singleton(new Exclusion("*", "*", "*", "*"))); } else { return toTransform.setScope(COMPILE); || MULE_SERVICE_CLASSIFIER.equals(toTransform.getArtifact().getClassifier())) && toTransform.getScope().equals(COMPILE)) { return toTransform.setScope(PROVIDED); return toTransform.setScope(PROVIDED); return toTransform.setScope(COMPILE);
public void setScope( String scope ) { if ( dependency == null ) { throw new UnsupportedOperationException( "node does not have a dependency" ); } dependency = dependency.setScope( scope ); }
public void setScope( String scope ) { if ( dependency == null ) { throw new IllegalStateException( "node does not have a dependency" ); } dependency = dependency.setScope( scope ); }
.isPresent()); }) .map(depToTransform -> depToTransform.setScope(COMPILE)) .collect(toList());
if (TESTS_CLASSIFIER.equals(toTransform.getArtifact().getClassifier())) { return toTransform.setScope(COMPILE).setExclusions(singleton(new Exclusion("*", "*", "*", "*"))); } else { return toTransform.setScope(COMPILE); || MULE_SERVICE_CLASSIFIER.equals(toTransform.getArtifact().getClassifier())) && toTransform.getScope().equals(COMPILE)) { return toTransform.setScope(PROVIDED); return toTransform.setScope(PROVIDED); return toTransform.setScope(COMPILE);
dependency = dependency.setScope( depMngt.getScope() ); managedBits |= DependencyNode.MANAGED_SCOPE;
dependency = dependency.setScope( depMngt.getScope() ); managedBits |= DependencyNode.MANAGED_SCOPE;