Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for VersionRequest (0.17 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java

        @Inject
        private DefaultVersionResolver versionResolver;
    
        @Test
        void testResolveSeparateInstalledClassifiedNonUniqueVersionedArtifacts() throws Exception {
            VersionRequest requestB = new VersionRequest();
            requestB.addRepository(newTestRepository());
            Artifact artifactB =
                    new DefaultArtifact("org.apache.maven.its", "dep-mng5324", "classifierB", "jar", "07.20.3-SNAPSHOT");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                try {
                    VersionRequest versionRequest =
                            new VersionRequest(a, request.getRepositories(), request.getRequestContext());
                    versionRequest.setTrace(trace);
                    VersionResult versionResult = versionResolver.resolveVersion(session, versionRequest);
    
                    a = a.setVersion(versionResult.getVersion());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                        resolve(result, infos, RELEASE);
                    }
    
                    if (result.getVersion() != null && result.getVersion().endsWith(SNAPSHOT)) {
                        VersionRequest subRequest = new VersionRequest();
                        subRequest.setArtifact(artifact.setVersion(result.getVersion()));
                        if (result.getRepository() instanceof RemoteRepository) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

            if (plugin.getVersion() == null) {
                PluginVersionRequest versionRequest = new DefaultPluginVersionRequest(
                        plugin, session.getRepositorySession(), project.getRemotePluginRepositories());
                plugin.setVersion(pluginVersionResolver.resolve(versionRequest).getVersion());
            }
    
            try {
                return pluginManager.getPluginDescriptor(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. internal/kms/kms.go

    	endpoints  []string
    	enclave    string
    	defaultKey string
    	client     *kms.Client
    }
    
    func (c *kmsConn) Version(ctx context.Context) (string, error) {
    	resp, err := c.client.Version(ctx, &kms.VersionRequest{})
    	if len(resp) == 0 && err != nil {
    		return "", err
    	}
    	return resp[0].Version, nil
    }
    
    func (c *kmsConn) APIs(ctx context.Context) ([]madmin.KMSAPI, error) {
    	return nil, ErrNotSupported
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            //                throws VersionRangeResolutionException;
    
        }
    
        @Test
        void testResolveVersion() throws Exception {
            // VersionResult resolveVersion( RepositorySystemSession session, VersionRequest request )
            //                throws VersionResolutionException;
        }
    
        @Test
        void testReadArtifactDescriptor() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top