- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 123 for getRule (0.88 sec)
-
impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java
projectToClone.setPomFile(new File(new File(f.getParentFile(), "target"), "flattened.xml")); MavenProject clonedProject = projectToClone.clone(); assertEquals(projectToClone.getFile(), clonedProject.getFile(), "POM file is preserved across clone"); assertEquals( projectToClone.getBasedir(), clonedProject.getBasedir(), "Base directory is preserved across clone"); } @Test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 28 09:44:37 UTC 2025 - 9.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java
*/ String getVersion(); /** * Gets the file of the constituent's artifact. * * @return The file, never {@code null}. */ File getFile();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
Profile profile = newExistsProfile("file.txt"); assertEquals("file.txt", profile.getActivation().getFile().getExists()); assertActivation(true, profile, context); assertEquals("file.txt", profile.getActivation().getFile().getExists()); } private Profile newExistsProfile(String filePath) { ActivationFile activationFile =
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 6.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/UnannotatedJavaClass.java
import org.jspecify.annotations.NullUnmarked; /** Class containing an unannotated Java method for use from {@code OptionalExtensionsTest}. */ @NullUnmarked final class UnannotatedJavaClass { static Object getNull() { return null; } private UnannotatedJavaClass() {}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 915 bytes - Viewed (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/RuntimeInfo.java
public RuntimeInfo() { this.settings = DEFAULT_USER_SETTINGS_FILE; } public RuntimeInfo(File settings) { this.settings = settings; } public File getFile() { return settings; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 1.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/TransformationFailedException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.internal.transformation; /** * Exception that may be thrown by the {@link org.apache.maven.artifact.Artifact#getFile()} * implementation. */ public class TransformationFailedException extends RuntimeException { public TransformationFailedException(Throwable cause) { super(cause); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
} @SuppressWarnings("deprecation") @Override public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException { if (project.getFile() == null) { // If there is no build POM there is no reason to inject artifacts for the consumer POM. return; } if (Features.consumerPom(session.getConfigProperties())) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 8.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java
} private List<Artifact> newTestArtifactList() { List<Artifact> artifacts = new ArrayList<Artifact>(); Artifact artifact = mock(Artifact.class); when(artifact.getFile()).thenReturn(new File(new File("local/repository"), "some/path")); when(artifact.getGroupId()).thenReturn("group1"); when(artifact.getArtifactId()).thenReturn("artifact1");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 7.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java
String resourceName, @Nullable File file) { TransferResourceIdentifier(TransferResource resource) { this(resource.getRepositoryId(), resource.getRepositoryUrl(), resource.getResourceName(), resource.getFile()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 1.5K bytes - Viewed (0)