Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 75 for getSource (0.17 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         * @return the hint about the source of the problem or an empty string if unknown, never {@code null}
         */
        @Nonnull
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return the one-based index of the line containing the problem or a non-positive value if unknown
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  2. maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals("", problem.getSource());
    
            problem = new DefaultProblem(null, null, "", -1, -1, null);
            assertEquals("", problem.getSource());
    
            problem = new DefaultProblem(null, null, "SOURCE", -1, -1, null);
            assertEquals("SOURCE", problem.getSource());
        }
    
        @Test
        void testGetLocation() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

        @OutputFile
        abstract RegularFileProperty getDestinationFile();
    
        /**
         * {@inheritDoc}
         */
        @Override
        @PathSensitive(PathSensitivity.NAME_ONLY)
        FileTree getSource() {
            return super.getSource();
        }
    
        @TaskAction
        def extract() {
            Date start = new Date()
    
            //parsing all input files into metadata
            //and placing them in the repository object
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileSelector.java

                        activeProfiles.add(profile);
                        if (Profile.SOURCE_POM.equals(profile.getSource())) {
                            activatedPomProfileNotByDefault = true;
                        }
                    } else if (isActiveByDefault(profile)) {
                        if (Profile.SOURCE_POM.equals(profile.getSource())) {
                            activePomProfilesByDefault.add(profile);
                        } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java

                    ModelSource source = getSource(groupId, artifactId);
                    if (source == null) {
                        // we need to check the whole reactor in case it's a dependency
                        loadFullReactor();
                        source = getSource(groupId, artifactId);
                    }
                    if (source != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

     */
    @Experimental
    @Immutable
    public interface ProjectBuilderRequest {
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        Optional<Path> getPath();
    
        @Nonnull
        Optional<Source> getSource();
    
        boolean isAllowStubModel();
    
        boolean isRecursive();
    
        boolean isProcessPlugins();
    
        @Nonnull
        static ProjectBuilderRequest build(@Nonnull Session session, @Nonnull Source source) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // RST_STREAM
        peer.play()
        val connection = connect(peer)
        val stream1 = connection.newStream(headerEntries("b", "bark"), false)
        val source = stream1.getSource()
        val buffer = Buffer()
        while (buffer.size != 1024L) source.read(buffer, 1024)
        stream1.close(ErrorCode.CANCEL, null)
        val frame1 = peer.takeFrame()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

    import javax.inject.Inject
    
    @CacheableTask
    abstract class Docbook2Xhtml extends SourceTask {
        @Override
        @PathSensitive(PathSensitivity.RELATIVE)
        FileTree getSource() {
            return super.getSource()
        }
    
        @PathSensitive(PathSensitivity.RELATIVE)
        @InputDirectory
        abstract DirectoryProperty getStylesheetDirectory();
    
        @PathSensitive(PathSensitivity.RELATIVE)
        @InputFiles
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            Profile existing = profilesById.get(profileId);
            if (existing != null) {
                logger.warn("Overriding profile: '" + profileId + "' (source: " + existing.getSource()
                        + ") with new instance from source: " + profile.getSource());
            }
    
            profilesById.put(profile.getId(), profile);
    
            Activation activation = profile.getActivation();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java

            if (!problem.getModelId().equals(projectId)) {
                buffer.append(problem.getModelId());
                if (!problem.getSource().isEmpty()) {
                    if (!buffer.isEmpty()) {
                        buffer.append(", ");
                    }
                    buffer.append(problem.getSource());
                }
            }
    
            if (problem.getLineNumber() > 0) {
                if (!buffer.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top