Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 474 for CSession (0.06 sec)

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

         */
        default void install(Session session, ProducedArtifact artifact) {
            install(session, Collections.singletonList(artifact));
        }
    
        /**
         * @param session the repository session
         * @param artifacts Collection of {@link ProducedArtifact MavenArtifacts}
         * @throws ArtifactInstallerException In case of an error which can be the a given artifact cannot be found or the
         *             installation has failed.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

                    .artifacts(nonNull(artifacts, "artifacts cannot be null"))
                    .build();
        }
    
        @NotThreadSafe
        class ArtifactInstallerRequestBuilder {
            Session session;
            Collection<ProducedArtifact> artifacts = Collections.emptyList();
    
            ArtifactInstallerRequestBuilder() {}
    
            @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

        private final RepositorySystemSession session;
        private final AtomicReference<String> sourceState;
    
        @SuppressWarnings("checkstyle:ParameterNumber")
        TransformedArtifact(
                DefaultConsumerPomArtifactTransformer defaultConsumerPomArtifactTransformer,
                MavenProject project,
                Path target,
                RepositorySystemSession session,
                org.apache.maven.artifact.Artifact source,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java

            this(session, project, executionPlan, null);
        }
    
        public ProjectExecutionEvent(MavenSession session, MavenProject project, Throwable cause) {
            this(session, project, null, cause);
        }
    
        public ProjectExecutionEvent(
                MavenSession session, MavenProject project, List<MojoExecution> executionPlan, Throwable cause) {
            this.session = session;
            this.project = project;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

        public static RepositoryRequest getRepositoryRequest(MavenSession session, MavenProject project) {
            RepositoryRequest request = new DefaultRepositoryRequest();
    
            request.setLocalRepository(session.getLocalRepository());
            if (project != null) {
                request.setRemoteRepositories(project.getPluginArtifactRepositories());
            }
            request.setOffline(session.isOffline());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java

                    new DefaultArtifact("org.apache.maven.its", "dep-mng5324", "classifierB", "jar", "07.20.3-SNAPSHOT");
            requestB.setArtifact(artifactB);
    
            VersionResult resultB = versionResolver.resolveVersion(session, requestB);
            assertEquals("07.20.3-20120809.112920-97", resultB.getVersion());
    
            VersionRequest requestA = new VersionRequest();
            requestA.addRepository(newTestRepository());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java

            this.toolchainManagerPrivate = toolchainManagerPrivate;
        }
    
        @Override
        public List<Toolchain> getToolchains(Session session, String type, Map<String, String> requirements)
                throws ToolchainManagerException {
            MavenSession s = InternalMavenSession.from(session).getMavenSession();
            List<org.apache.maven.toolchain.Toolchain> toolchains =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

          return new MockResponse()
              .setResponseCode(404)
              .setBody("unexpected request");
        }
    
        try {
          OAuthSession session = slackApi.exchangeCode(code, redirectUrl());
          listener.sessionGranted(session);
        } catch (IOException e) {
          return new MockResponse()
              .setResponseCode(400)
              .setBody("code exchange failed: " + e.getMessage());
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

    import org.apache.maven.api.Project;
    import org.apache.maven.api.Session;
    import org.apache.maven.execution.ExecutionEvent;
    
    public class DefaultEvent implements Event {
        private final InternalMavenSession session;
        private final ExecutionEvent delegate;
    
        public DefaultEvent(InternalMavenSession session, ExecutionEvent delegate) {
            this.session = session;
            this.delegate = delegate;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. tests/update_belongs_to_test.go

    	CheckUser(t, user2, user3)
    
    	if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user4 User
    	DB.Preload("Company").Preload("Manager").Find(&user4, "id = ?", user.ID)
    	CheckUser(t, user4, user)
    
    	user.Company.Name += "new2"
    	user.Manager.Name += "new2"
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 1.6K bytes
    - Viewed (0)
Back to top