Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for ArtifactType (0.42 sec)

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

                throw new IORuntimeException(e);
            }
        }
    
        public Artifact[] getInstalledArtifacts(final ArtifactType artifactType) {
            if (artifactType == ArtifactType.UNKNOWN) {
                final File[] jarFiles = ResourceUtil.getPluginJarFiles((d, n) -> {
                    for (final ArtifactType type : ArtifactType.values()) {
                        if (n.startsWith(type.getId())) {
                            return false;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            Artifact artifact = pluginHelper.getArtifactFromFileName(ArtifactType.DATA_STORE, "fess-ds-atlassian-13.2.0.jar");
            assertEquals("fess-ds-atlassian", artifact.getName());
            assertEquals("13.2.0", artifact.getVersion());
        }
    
        public void test_getArtifactFromFileName2() {
            Artifact artifact = pluginHelper.getArtifactFromFileName(ArtifactType.DATA_STORE, "fess-ds-atlassian-13.2.1-20190708.212247-1.jar");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectHelper.java

        }
    
        public void attachArtifact(
                MavenProject project, String artifactType, String artifactClassifier, File artifactFile) {
            ArtifactHandler handler = null;
    
            if (artifactType != null) {
                handler = artifactHandlerManager.getArtifactHandler(artifactType);
            }
    
            if (handler == null) {
                handler = artifactHandlerManager.getArtifactHandler("jar");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

            final List<Map<String, String>> result = new ArrayList<>();
            for (final PluginHelper.ArtifactType artifactType : PluginHelper.ArtifactType.values()) {
                result.addAll(Arrays.stream(pluginHelper.getAvailableArtifacts(artifactType)).map(AdminPluginAction::beanToMap)
                        .collect(Collectors.toList()));
            }
            return result;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

            this.typeRegistry = requireNonNull(typeRegistry, "typeRegistry");
        }
    
        @Override
        public ArtifactType get(String typeId) {
            Type type = typeRegistry.require(typeId);
            if (type instanceof ArtifactType) {
                return (ArtifactType) type;
            }
            if (type != null) {
                return new DefaultType(
                        type.id(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/MavenProjectHelper.java

         * @param project project reference.
         * @param artifactType artifact type.
         * @param artifactFile artifact file.
         */
        void attachArtifact(MavenProject project, String artifactType, File artifactFile);
    
        /**
         * Add or replace an artifact to the current project.
         * @param project the project reference.
         * @param artifactType the type (e.g. jar) or null.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/type/DefaultType.java

    import org.eclipse.aether.artifact.ArtifactProperties;
    import org.eclipse.aether.artifact.ArtifactType;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Default implementation of {@link Type} and Resolver {@link ArtifactType}.
     *
     * @since 4.0.0
     */
    public class DefaultType implements Type, ArtifactType {
        private final String id;
        private final Language language;
        private final String extension;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

             * it just no-op in most cases.
             */
            registerTransform(Minify::class) {
                from.attribute(minified, false).attribute(artifactType, "jar")
                to.attribute(minified, true).attribute(artifactType, "jar")
                parameters {
                    keepClassesByArtifact = keepPatterns
                }
            }
        }
        afterEvaluate {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorReaderDelegate.java

    import org.apache.maven.internal.impl.resolver.type.DefaultType;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.artifact.ArtifactProperties;
    import org.eclipse.aether.artifact.ArtifactType;
    import org.eclipse.aether.artifact.ArtifactTypeRegistry;
    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.eclipse.aether.graph.Dependency;
    import org.eclipse.aether.graph.Exclusion;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java

    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.services.ArtifactFactory;
    import org.apache.maven.api.services.ArtifactFactoryRequest;
    import org.eclipse.aether.artifact.ArtifactType;
    
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Singleton
    public class DefaultArtifactFactory implements ArtifactFactory {
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top