Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setPackaging (0.12 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerMock.java

            this.classifier = classifier;
        }
    
        @Override
        public String getClassifier() {
            return classifier;
        }
    
        public void setPackaging(String packaging) {
            this.packaging = packaging;
        }
    
        @Override
        public String getPackaging() {
            return packaging;
        }
    
        public void setIncludesDependencies(boolean includesDependencies) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

        @Override
        public String getDirectory() {
            if (directory == null) {
                return getPackaging() + "s";
            }
            return directory;
        }
    
        public void setDirectory(final String directory) {
            this.directory = directory;
        }
    
        @Override
        public String getPackaging() {
            if (packaging == null) {
                return type;
            }
            return packaging;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * {@link #getArtifacts()} to gain access to POM or build artifact.
         *
         * @see #getArtifacts()
         */
        @Nonnull
        Packaging getPackaging();
    
        /**
         * Returns the project language. It is by default determined by {@link #getPackaging()}.
         *
         * @see #getPackaging()
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

        }
    
        @Override
        public String getDirectory() {
            return getPackaging() + "s";
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        @Override
        public String getLanguage() {
            return "java";
        }
    
        @Override
        public String getPackaging() {
            return type;
        }
    
        @Override
        @Deprecated
    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. api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java

     * System.out.println(packaging.getId()); // Outputs "jar"
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Session#requirePackaging(String)
     * @see org.apache.maven.api.Project#getPackaging()
     * @see org.apache.maven.api.model.Model#getPackaging()
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Packaging extends ExtensibleEnum {
        /**
         * The packaging id.
         */
        @Nonnull
        String id();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

            try {
                Thread.currentThread().setContextClassLoader(project.getClassRealm());
                this.packaging = session.requirePackaging(project.getPackaging());
            } finally {
                Thread.currentThread().setContextClassLoader(ttcl);
            }
        }
    
        public InternalMavenSession getSession() {
            return session;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifactHandler.java

        @Override
        public String getExtension() {
            return extension;
        }
    
        @Override
        public String getLanguage() {
            return "none";
        }
    
        @Override
        public String getPackaging() {
            return packaging;
        }
    
        @Override
        @Deprecated
        public boolean isAddedToClasspath() {
            return false;
        }
    
        @Override
        public boolean isIncludesDependencies() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

        String getDirectory();
    
        /**
         * Returns the default classifier used if a different one is not set in pom.xml.
         *
         * @return the classifier
         */
        String getClassifier();
    
        String getPackaging();
    
        boolean isIncludesDependencies();
    
        String getLanguage();
    
        /**
         * Specifies if the artifact contains java classes and can be added to the classpath.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java

            return Optional.ofNullable(profile)
                    .map(org.apache.maven.model.Profile::getDelegate)
                    .map(Profile::getActivation)
                    .map(Activation::getPackaging);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

                    source.getScope(),
                    extension,
                    classifier,
                    new TransformedArtifactHandler(
                            classifier, extension, source.getArtifactHandler().getPackaging()));
            this.defaultConsumerPomArtifactTransformer = defaultConsumerPomArtifactTransformer;
            this.project = project;
            this.target = target;
            this.session = session;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top