- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 289 for getUuid (0.06 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
@Nonnull Model getModel(); /** * Shorthand method. * * @return the build element of the project model */ @Nonnull default Build getBuild() { Build build = getModel().getBuild(); return build != null ? build : Build.newInstance(); } /** * Returns the path to the pom file for this project.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 15.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
@Override public void alignToBaseDirectory(Model model, File basedir) { if (basedir == null) { return; } Build build = model.getBuild(); if (build != null) { build.setDirectory(alignToBaseDirectory(build.getDirectory(), basedir)); build.setSourceDirectory(alignToBaseDirectory(build.getSourceDirectory(), basedir));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java
when(build.getOutputDirectory()).thenReturn("target/classes"); when(build.getTestOutputDirectory()).thenReturn("target/test-classes"); Project project = mock(Project.class); when(project.getBuild()).thenReturn(build); when(project.getBasedir()).thenReturn(Path.of("myproject")); when(project.getOutputDirectory(any(ProjectScope.class))).thenCallRealMethod();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Oct 26 17:22:14 GMT 2025 - 2.9K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
build.setOutputDirectory("myOutputDirectory"); model.setBuild(build); Build build2 = model.getBuild(); assertNotNull(build2); assertEquals("myOutputDirectory", build2.getOutputDirectory()); model.setBuild(null); assertNull(model.getBuild()); } @Test void testEqualsNullSafe() { assertNotEquals(null, new Model());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 08:09:30 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
// Test at various positions in the buffer int[] positions = { 0, 10, 50, 100, 150 }; for (int pos : positions) { when(mockConfig.getPid()).thenReturn(1234); // Mock getPid for each new instance response = new TestSmbComNtTransactionResponse(mockConfig); // Reset response // Fill buffer at position for (int i = 0; i < 37; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
return; } if (Features.consumerPom(session.getConfigProperties())) { Path buildDir = project.getBuild() != null ? Paths.get(project.getBuild().getDirectory()) : null; if (buildDir != null) { Files.createDirectories(buildDir); } Path consumer = buildDir != nullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 8.9K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
+ " </plugin>\n" + " </plugins>\n" + " </build>\n" + "</project>"; Model model = fromXml(xml); Plugin plugin = model.getBuild().getPlugins().get(0); XmlNode node = plugin.getConfiguration(); assertNotNull(node); assertEquals("http://maven.apache.org/POM/4.0.0", node.namespaceUri()); assertEquals("m", node.prefix());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
} @Test @DisplayName("Test configuration usage") void testConfigurationUsage() { // Verify configuration is used - getPid() is called in parent constructor verify(mockConfig, atLeastOnce()).getPid(); } @Test @DisplayName("Test transaction response with different commands") void testTransactionResponseWithDifferentCommands() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java
* not interested in any of the executions bound to it. */ for (Plugin plugin : project.getBuild().getPlugins()) { for (PluginExecution execution : plugin.getExecutions()) { // if the phase is specified then I don't have to go fetch the plugin yet and pull it downCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Dec 13 23:04:37 GMT 2024 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
@Mock private Configuration mockConfig; private SmbComSetInformationResponse response; @BeforeEach void setUp() { // Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSetInformationResponse(mockConfig); } @Test @DisplayName("Constructor accepts valid config") void constructorValid() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.1K bytes - Click Count (0)