Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for Extension (0.13 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java

    import org.apache.maven.api.cli.extensions.CoreExtension;
    
    /**
     * Exception occurring trying to resolve a plugin.
     *
     */
    public class ExtensionResolutionException extends Exception {
    
        private final CoreExtension extension;
    
        public ExtensionResolutionException(CoreExtension extension, Throwable cause) {
            super(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                    extensions.add(createExtension(extension, artifacts));
                }
            }
    
            return Collections.unmodifiableList(extensions);
        }
    
        private CoreExtensionEntry createExtension(CoreExtension extension, List<Artifact> artifacts) throws Exception {
            String realmId = "coreExtension>" + extension.getGroupId() + ":" + extension.getArtifactId() + ":"
                    + extension.getVersion();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            };
            for (CoreExtensionEntry extension : extensions) {
                container.discoverComponents(
                        extension.getClassRealm(),
                        new AbstractModule() {
                            @Override
                            protected void configure() {
                                try {
                                    container.lookup(Injector.class).discover(extension.getClassRealm());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/ArtifactFilterManager.java

     */
    @Deprecated
    public interface ArtifactFilterManager {
        /**
         * Returns a filter for core + extension artifacts.
         *
         * @return the artifact filter
         * @deprecated use {@code META-INF/maven/extension.xml} to define artifacts exported by Maven core and plugin
         *             extensions.
         */
        ArtifactFilter getArtifactFilter();
    
        /**
         * Returns a filter for only the core artifacts.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifactHandler.java

        private final String classifier;
    
        private final String extension;
    
        private final String packaging;
    
        TransformedArtifactHandler(String classifier, String extension, String packaging) {
            this.classifier = classifier;
            this.extension = requireNonNull(extension);
            this.packaging = requireNonNull(packaging);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

        private final CoreExtensionEntry extension;
        private final Function<String, String> callback;
        private final DefaultInterpolator interpolator = new DefaultInterpolator();
    
        public ExtensionConfigurationModule(CoreExtensionEntry extension, Function<String, String> callback) {
            this.extension = extension;
            this.callback = callback;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Extension}.
     *
     */
    class ExtensionTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Extension().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Extension().equals(null));
    
            new Extension().equals(new Extension());
        }
    
        @Test
        void testEqualsIdentity() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java

         * Creates a new class realm for the specified build extension.
         *
         * @param extension The extension plugin for which to create a realm, must not be {@code null}.
         * @param artifacts The artifacts to add to the class realm, may be {@code null}. Unresolved artifacts (i.e. with a
         *            missing file) will automatically be excluded from the realm.
         * @return The new extension realm, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultType.java

                PathType... pathTypes) {
            this.id = requireNonNull(id, "id");
            this.language = requireNonNull(language, "language");
            this.extension = requireNonNull(extension, "extension");
            this.classifier = classifier;
            this.includesDependencies = includesDependencies;
            this.pathTypes = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(pathTypes)));
    
            Map<String, String> properties = new HashMap<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

        public String getType() {
            return type;
        }
    
        @Override
        public String getExtension() {
            if (extension == null) {
                return type;
            }
            return extension;
        }
    
        public void setExtension(final String extension) {
            this.extension = extension;
        }
    
        @Override
        public String getClassifier() {
            return classifier;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top