Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for setPackaging (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

         * to locate attached artifacts.
         *
         * @param project the project to copy artifacts from
         */
        private void installIntoProjectLocalRepository(MavenProject project) {
            if ("pom".equals(project.getPackaging())
                            && !"clean".equals(getLifecycles(project).peekLast())
                    || hasBeenPackagedDuringThisSession(project)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            validateCoordinateId("artifactId", problems, m.getArtifactId(), m);
    
            validateStringNotEmpty("packaging", problems, Severity.ERROR, Version.BASE, m.getPackaging(), m);
    
            if (!m.getModules().isEmpty()) {
                if (!"pom".equals(m.getPackaging())) {
                    addViolation(
                            problems,
                            Severity.ERROR,
                            Version.BASE,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                if (!"pom".equals(parentModel.getPackaging())) {
                    problems.add(new ModelProblemCollectorRequest(Severity.ERROR, ModelProblem.Version.BASE)
                            .setMessage("Invalid packaging for parent POM " + ModelProblemUtils.toSourceHint(parentModel)
                                    + ", must be \"pom\" but is \"" + parentModel.getPackaging() + "\"")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

        }
    
        private void validatePrerequisitesForNonMavenPluginProjects(List<MavenProject> projects) {
            for (MavenProject mavenProject : projects) {
                if (!"maven-plugin".equals(mavenProject.getPackaging())) {
                    Prerequisites prerequisites =
                            mavenProject.getModel().getDelegate().getPrerequisites();
                    if (prerequisites != null && prerequisites.getMaven() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  10. api/maven-api-model/src/main/mdo/maven.mdo

            id.append( ( getGroupId() == null ) ? "[inherited]" : getGroupId() );
            id.append( ":" );
            id.append( getArtifactId() );
            id.append( ":" );
            id.append( getPackaging() );
            id.append( ":" );
            id.append( ( getVersion() == null ) ? "[inherited]" : getVersion() );
    
            return id.toString();
        }
    
        @Override
        public String toString() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top