Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 93 for getParent (0.06 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            String groupId = model.getGroupId();
            if (groupId == null && model.getParent() != null) {
                groupId = model.getParent().getGroupId();
            }
    
            String artifactId = model.getArtifactId();
    
            String version = model.getVersion();
            if (version == null && model.getParent() != null) {
                version = model.getParent().getVersion();
            }
            if (version == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BuildPlugin.java

                jar.metaInf(spec -> {
                    spec.from(licenseFile.getParent(), from -> {
                        from.include(licenseFile.getName());
                        from.rename(s -> "LICENSE.txt");
                    });
                    spec.from(noticeFile.getParent(), from -> {
                        from.include(noticeFile.getName());
                        from.rename(s -> "NOTICE.txt");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 14:34:07 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

            // we want to see all top-level thread groups
            ThreadGroup tg = Thread.currentThread().getThreadGroup();
            while (tg.getParent() == null) {
                tg = tg.getParent();
            }
    
            ThreadGroup[] tgList = new ThreadGroup[tg.activeGroupCount()];
            tg.enumerate(tgList);
    
            boolean seen = false;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

                try {
                    Model model = read(project.getFile().toPath());
                    String version = model.getVersion();
                    if (version == null && model.getParent() != null) {
                        version = model.getParent().getVersion();
                    }
                    String newVersion;
                    if (version != null) {
                        HashSet<String> usedProperties = new HashSet<>();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

        @Override
        public ClassLoader next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final ClassLoader result = classLoader;
            classLoader = classLoader.getParent();
            return result;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
            while (rootDirectory != null && !isRootDirectory(rootDirectory)) {
                rootDirectory = rootDirectory.getParent();
            }
            return rootDirectory;
        }
    
        @Nonnull
        default String getNoRootMessage() {
            return UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE;
        }
    
        boolean isRootDirectory(Path dir);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                    plugin = pluginData;
                } else if (data instanceof org.apache.maven.model.Plugin pluginData) {
                    plugin = pluginData.getDelegate();
                }
                trace = trace.getParent();
            }
    
            Path trackingDir;
            boolean missing = event.getFile() == null;
            if (missing) {
                // missing artifact - let's track the path anyway
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                Path parent = pomPath.getParent();
                if (parent == null) {
                    parent = Path.of(".");
                }
                if (commonRoot == null) {
                    commonRoot = parent;
                } else {
                    // Find common ancestor
                    while (!parent.startsWith(commonRoot)) {
                        commonRoot = commonRoot.getParent();
                        if (commonRoot == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

            Path resumeProperties = Paths.get(rootProject.getBuild().getDirectory(), RESUME_PROPERTIES_FILENAME);
            try {
                Files.createDirectories(resumeProperties.getParent());
                try (Writer writer = Files.newBufferedWriter(resumeProperties)) {
                    properties.store(writer, null);
                }
            } catch (IOException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/job/IndexExportJob.java

                Files.createDirectories(basePath);
                final Path realBase = basePath.toRealPath();
                Files.createDirectories(filePath.getParent());
                final Path realParent = filePath.getParent().toRealPath();
                if (!realParent.startsWith(realBase)) {
                    logger.warn("Symlink traversal detected: url={}, realParent={}, realBase={}", url, realParent, realBase);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
Back to Top