Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 95 for setSession (0.1 sec)

  1. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            Metadata source = new Metadata();
            source.setArtifactId("source-artifact");
            source.setGroupId("source-group");
            source.setVersion("2.0");
            assertFalse(target.merge(source));
            assertEquals("myArtifact", target.getArtifactId());
            assertEquals("myGroup", target.getGroupId());
            assertEquals("1.0-SNAPSHOT", target.getVersion());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

            try {
                List<ArtifactRepository> repositories = session.toArtifactRepositories(
                        request.getRepositories() != null ? request.getRepositories() : session.getRemoteRepositories());
                ProjectBuildingRequest req = new DefaultProjectBuildingRequest()
                        .setRepositorySession(session.getSession())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

    /**
     * A request for deploying one or more artifacts to a remote repository.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactDeployerRequest {
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        RemoteRepository getRepository();
    
        @Nonnull
        Collection<ProducedArtifact> getArtifacts();
    
        int getRetryFailedDeploymentCount();
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        String SCOPE_IMPORT = "import"; // Used to import dependencyManagement dependencies
    
        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        void setVersion(String version);
    
        String getScope();
    
        String getType();
    
        String getClassifier();
    
        boolean hasClassifier();
    
        File getFile();
    
        void setFile(File destination);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

    /**
     * A request for resolving an artifact.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactResolverRequest {
        @Nonnull
        Session getSession();
    
        @Nonnull
        Collection<? extends ArtifactCoordinates> getCoordinates();
    
        @Nonnull
        List<RemoteRepository> getRepositories();
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                }
            }
            return null;
        }
    
        public void storeQueryId(final String queryId, final List<Map<String, Object>> documentItems) {
            LaRequestUtil.getOptionalRequest().map(req -> req.getSession(false)).ifPresent(session -> {
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
                final List<String> docIdList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

        public void mergeVersion()
        {
            Model target = new Model();
            target.setVersion( "TARGET" );;
    
            Model source = new Model();
            source.setVersion( "SOURCE" );
    
            modelMerger.merge( target, source, true, null );
            assertThat( target.getVersion(), is( "SOURCE" ) );
    
            target.setVersion( "TARGET" );;
            modelMerger.merge( target, source, false, null );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            project = new Project();
            project.setModelVersion("4.0.0");
            project.setGroupId("org.apache.maven");
            project.setArtifactId("maven-core");
            project.setName("Maven");
            project.setVersion("2.0-SNAPSHOT");
            project.setScm(new Scm());
            project.getScm().setConnection("scm-connection");
            project.addDependency(dependency1);
            project.addDependency(dependency2);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmServlet.java

                    return;
                }
                HttpSession ssn = request.getSession();
                ssn.setAttribute("NtlmHttpAuth", ntlm);
                ssn.setAttribute("ntlmdomain", ntlm.getUserDomain());
                ssn.setAttribute("ntlmuser", ntlm.getUsername());
            }
            else {
                HttpSession ssn = request.getSession(false);
                if ( ssn == null || ssn.getAttribute("NtlmHttpAuth") == null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                }
    
                SnapshotVersion sv = new SnapshotVersion();
                sv.setClassifier(artifact.getClassifier());
                sv.setExtension(artifact.getExtension());
                sv.setVersion(version);
                sv.setUpdated(lastUpdated);
    
                versions.put(getKey(sv.getClassifier(), sv.getExtension()), sv);
            }
    
            artifacts.clear();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top