- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for getActivation (0.12 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
} } } return isActive; } private boolean isActiveByDefault(Profile profile) { Activation activation = profile.getActivation(); return activation != null && activation.isActiveByDefault(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
profile.setId(profileXmlProfile.getId()); profile.setSource("profiles.xml"); org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation(); if (profileActivation != null) { Activation activation = new Activation(); activation.setActiveByDefault(profileActivation.isActiveByDefault());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java
return Optional.ofNullable(profile) .map(org.apache.maven.model.Profile::getDelegate) .map(Profile::getActivation) .map(Activation::getPackaging); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
}) .filter(p -> !isEmpty(p)) .collect(Collectors.toList()); } private static boolean isEmpty(Profile profile) { return profile.getActivation() == null && profile.getBuild() == null && profile.getDependencies().isEmpty() && (profile.getDependencyManagement() == null
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
+ ") with new instance from source: " + profile.getSource()); } profilesById.put(profile.getId(), profile); Activation activation = profile.getActivation(); if (activation != null && activation.isActiveByDefault()) { activateAsDefault(profileId); } } /* (non-Javadoc)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
for (Profile profile : model.getProfiles()) { Activation activation = profile.getActivation(); if (activation == null) { continue; } // restore activation profile.setActivation(activations.get(profile.getId())); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
"must be unique but found duplicate profile with id " + profile.getId(), profile); } validate30RawProfileActivation(problems, profile.getActivation(), prefix); validate20RawDependencies( problems, profile.getDependencies(), prefix, "dependencies.dependency.", request);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
nonActivation.setJdk("19.2"); notActivated.setActivation(nonActivation); Profile defaultActivated = new Profile(); defaultActivated.setId("defaultActivated"); Activation defaultActivation = new Activation(); defaultActivation.setActiveByDefault(true); defaultActivated.setActivation(defaultActivation); Properties props = System.getProperties();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
public class DefaultProfileSelectorTest { private Profile newProfile(String id) { Activation activation = new Activation(); Profile profile = new Profile(); profile.setId(id); profile.setActivation(activation); return profile; } @Test void testThrowingActivator() { DefaultProfileSelector selector = new DefaultProfileSelector();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0)