- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for ArtifactHandler (0.14 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java
* <li>Information on how to use the artifact as a dependency: whether to add it to the classpath, whether to load its * dependencies transitively</li> * </ul> * */ public interface ArtifactHandler { @Deprecated String ROLE = ArtifactHandler.class.getName(); /** * Returns the file name extension of the artifact; * e.g. "jar", "pom", "xml", etc. * * @return the file extension */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java
if (artifact.hasClassifier()) { path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier()); } if (artifactHandler.getExtension() != null && !artifactHandler.getExtension().isEmpty()) { path.append(GROUP_SEPARATOR).append(artifactHandler.getExtension()); } return path.toString(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
private ArtifactHandlerMock artifactHandler; @BeforeEach void setUp() throws Exception { artifactHandler = new ArtifactHandlerMock(); versionRange = VersionRange.createFromVersion(version); artifact = new DefaultArtifact(groupId, artifactId, versionRange, scope, type, classifier, artifactHandler);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java
import java.util.concurrent.ConcurrentHashMap; import org.apache.maven.api.JavaPathType; import org.apache.maven.api.Type; import org.apache.maven.api.services.TypeRegistry; import org.apache.maven.artifact.handler.ArtifactHandler; import org.apache.maven.artifact.handler.DefaultArtifactHandler; import org.apache.maven.eventspy.AbstractEventSpy; import org.apache.maven.execution.ExecutionEvent; import static java.util.Objects.requireNonNull;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java
path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier()); } if (artifactHandler.getExtension() != null && !artifactHandler.getExtension().isEmpty()) { path.append(GROUP_SEPARATOR).append(artifactHandler.getExtension()); } return path.toString(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java
*/ @Named @Singleton public class LegacyArtifactHandlerManager extends AbstractEventSpy { private final Map<String, ArtifactHandler> artifactHandlers; private final Map<String, ArtifactHandler> allHandlers = new ConcurrentHashMap<>(); @Inject public LegacyArtifactHandlerManager(Map<String, ArtifactHandler> artifactHandlers) { this.artifactHandlers = requireNonNull(artifactHandlers); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifactHandler.java
* under the License. */ package org.apache.maven.internal.transformation.impl; import org.apache.maven.artifact.handler.ArtifactHandler; import static java.util.Objects.requireNonNull; class TransformedArtifactHandler implements ArtifactHandler { private final String classifier; private final String extension; private final String packaging;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/ArtifactHandlerManager.java
import java.util.Map; import org.apache.maven.artifact.handler.ArtifactHandler; /** */ public interface ArtifactHandlerManager { String ROLE = ArtifactHandlerManager.class.getName(); ArtifactHandler getArtifactHandler(String type); @Deprecated void addHandlers(Map<String, ArtifactHandler> handlers);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
*/ package org.apache.maven.artifact; import java.io.File; import java.util.Collection; import java.util.List; import java.util.regex.Pattern; import org.apache.maven.artifact.handler.ArtifactHandler; import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java
nonNull(id, "id"); return usedTypes.computeIfAbsent(id, i -> { Type type = types.get(id); if (type == null) { // Copy data as the ArtifactHandler is not immutable, but Type should be. ArtifactHandler handler = manager.getArtifactHandler(id); type = new DefaultType( id,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0)