Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for mocked (0.18 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

         * by concurrently running mojo executions. To prevent race conditions, an aggregating execution will block
         * all other executions until finished.
         * We also lock on a given project to forbid a forked lifecycle to be executed concurrently with the project.
         * TODO: ideally, the builder should take care of the ordering in a smarter way
         * TODO: and concurrency issues fixed with MNG-7157
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                        logger.warn("The following goals are not marked as thread-safe in " + project.getName() + ":");
                        for (MojoDescriptor unsafeGoal : unsafeGoals) {
                            logger.warn("  " + unsafeGoal.getId());
                        }
                    } else {
                        logger.warn("The following plugins are not marked as thread-safe in " + project.getName() + ":");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            public void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories) {}
    
            public boolean isBlocked() {
                return false;
            }
    
            public void setBlocked(boolean blocked) {}
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                setActiveProfiles((Collections.unmodifiableList(project.getActiveProfiles())));
            }
    
            if (project.getAttachedArtifacts() != null) {
                // clone properties modifiable by plugins in a forked lifecycle
                setAttachedArtifacts(new ArrayList<>(project.getAttachedArtifacts()));
            }
    
            if (project.getCompileSourceRoots() != null) {
                // clone source roots
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java

     * is mapped to an equally named property of the bean and converted. The properties of the bean are supposed to either
     * have a public setter or be backed by an equally named field (of any visibility).
     *
     * @since 3.0
     */
    public interface BeanConfigurator {
    
        /**
         * Performs the specified bean configuration.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  6. .github/workflows/maven_build_itself.yml

    # under the License.
    
    name: Can Maven build itself
    
    on: [push, pull_request]
    
    # clear all permissions for GITHUB_TOKEN
    permissions: {}
    
    jobs:
      build:
    
        # execute on any push or pull request from forked repo
        if: github.event_name == 'push' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork )
    
        strategy:
          matrix:
            os: [ubuntu-latest, windows-latest]
    Others
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

    import org.apache.maven.api.services.Source;
    import org.eclipse.aether.RepositoryCache;
    import org.eclipse.aether.RepositorySystemSession;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A model builder cache backed by the repository system cache.
     *
     */
    public class DefaultModelCache implements ModelCache {
        private static final String KEY = DefaultModelCache.class.getName();
    
        @SuppressWarnings("unchecked")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. .github/workflows/maven.yml

    # under the License.
    
    name: Java CI
    
    on: [push, pull_request]
    
    # clear all permissions for GITHUB_TOKEN
    permissions: {}
    
    jobs:
      build:
    
        # execute on any push or pull request from forked repo
        if: github.event_name == 'push' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork )
    
        strategy:
          matrix:
            os: [ubuntu-latest, windows-latest, macOS-latest]
    Others
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

            } else {
                this.mirroredRepositories = Collections.emptyList();
            }
        }
    
        public boolean isBlocked() {
            return blocked;
        }
    
        public void setBlocked(boolean blocked) {
            this.blocked = blocked;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/BuilderCommonTest.java

    import org.junit.jupiter.api.Test;
    import org.slf4j.Logger;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    /**
     */
    class BuilderCommonTest {
        private Logger logger = mock(Logger.class);
    
        @Test
        void testResolveBuildPlan() throws Exception {
            MavenSession original = ProjectDependencyGraphStub.getMavenSession();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
Back to top