Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for setDirectory (0.11 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                for (Resource resource : build.getResources()) {
                    resource.setDirectory(unalignFromBaseDirectory(resource.getDirectory(), basedir));
                }
    
                for (Resource resource : build.getTestResources()) {
                    resource.setDirectory(unalignFromBaseDirectory(resource.getDirectory(), basedir));
                }
    
                if (build.getFilters() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerMock.java

            this.extension = extension;
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        public void setDirectory(String directory) {
            this.directory = directory;
        }
    
        @Override
        public String getDirectory() {
            return directory;
        }
    
        public void setClassifier(String classifier) {
            this.classifier = classifier;
        }
    
        @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)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

            this.classifier = classifier;
        }
    
        @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() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

            Properties properties =
                    loadResumptionFile(Paths.get(rootProject.getBuild().getDirectory()));
            applyResumptionProperties(request, properties);
        }
    
        @Override
        public void removeResumptionData(MavenProject rootProject) {
            Path resumeProperties = Paths.get(rootProject.getBuild().getDirectory(), RESUME_PROPERTIES_FILENAME);
            try {
                Files.deleteIfExists(resumeProperties);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

            Build build = model.getBuild();
            Build newBuild = null;
            if (build != null) {
                newBuild = Build.newBuilder(build)
                        .directory(alignToBaseDirectory(build.getDirectory(), basedir))
                        .sourceDirectory(alignToBaseDirectory(build.getSourceDirectory(), basedir))
                        .testSourceDirectory(alignToBaseDirectory(build.getTestSourceDirectory(), basedir))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifactHandler.java

            this.packaging = requireNonNull(packaging);
        }
    
        @Override
        public String getClassifier() {
            return classifier;
        }
    
        @Override
        public String getDirectory() {
            return null;
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        @Override
        public String getLanguage() {
            return "none";
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

            this.type = type;
            this.extension = extension;
        }
    
        @Override
        public String getClassifier() {
            return null;
        }
    
        @Override
        public String getDirectory() {
            return getPackaging() + "s";
        }
    
        @Override
        public String getExtension() {
            return extension;
        }
    
        @Override
        public String getLanguage() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

        /**
         * Returns the file name extension of the artifact;
         * e.g. "jar", "pom", "xml", etc.
         *
         * @return the file extension
         */
        String getExtension();
    
        String getDirectory();
    
        /**
         * Returns the default classifier used if a different one is not set in pom.xml.
         *
         * @return the classifier
         */
        String getClassifier();
    
        String getPackaging();
    
    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. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                return;
            }
            if (Features.consumerPom(session.getUserProperties())) {
                Path buildDir =
                        project.getBuild() != null ? Paths.get(project.getBuild().getDirectory()) : null;
                if (buildDir != null) {
                    Files.createDirectories(buildDir);
                }
                Path consumer = buildDir != null
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                            .filter(project -> Objects.equals(root.toFile(), project.getBasedir()))
                            .findFirst()
                            .map(project -> project.getBuild().getDirectory())
                            .map(Paths::get)
                            .orElseGet(() -> root.resolve("target"))
                            .resolve(PROJECT_LOCAL_REPO);
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top