Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for getArtifact (0.21 seconds)

  1. src/main/java/org/codelibs/fess/helper/PluginHelper.java

         *
         * @param name the name of the artifact
         * @param version the version of the artifact
         * @return the artifact if found, null otherwise
         */
        public Artifact getArtifact(final String name, final String version) {
            if (StringUtil.isBlank(name) || StringUtil.isBlank(version)) {
                return null;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Mar 04 15:19:41 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeDeriver.java

                ArtifactType currentType = jar;
                if (node.getArtifact() != null) {
                    if (node.getArtifact().getProperties().containsKey(ArtifactProperties.TYPE)) {
                        currentType = registry.get(node.getArtifact()
                                .getProperty(
                                        ArtifactProperties.TYPE, node.getArtifact().getExtension()));
                        if (currentType == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeCollector.java

                if (child.getArtifact() == null) {
                    continue;
                }
                String childType = child.getArtifact().getProperty(ArtifactProperties.TYPE, "");
                if (!PROCESSOR_TYPE_IDS.contains(childType)) {
                    continue;
                }
                for (DependencyNode transitive : child.getChildren()) {
                    if (transitive.getArtifact() == null) {
                        continue;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

        @Test
        public void test_getArtifact_nullInputs() {
            assertNull(pluginHelper.getArtifact(null, "1.0.0"));
            assertNull(pluginHelper.getArtifact("test", null));
            assertNull(pluginHelper.getArtifact("", "1.0.0"));
            assertNull(pluginHelper.getArtifact("test", ""));
        }
    
        @Test
        public void test_isExcludedName_crawler() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

            }
            if (downloadUrl != null && !downloadUrl.isEmpty()) {
                Artifact artifact = result.getArtifact();
                Map<String, String> props = new HashMap<>(artifact.getProperties());
                props.put(ArtifactProperties.DOWNLOAD_URL, downloadUrl);
                result.setArtifact(artifact.setProperties(props));
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

        public InstallRequest remapInstallArtifacts(RepositorySystemSession session, InstallRequest request) {
            if (consumerPomPresent(request.getArtifacts())) {
                // For install, we always include build POMs as they may be needed locally
                request.setArtifacts(replacePom(request.getArtifacts(), true));
            }
            return request;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top