Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for getFiles (0.22 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

         * <p>
         * Visible for testing.
         */
        static boolean isLocalRepositoryArtifactOrMissing(RepositorySystemSession session, Artifact artifact) {
            return artifact.getFile() == null
                    || artifact.getFile()
                            .getPath()
                            .startsWith(session.getLocalRepository().getBasedir().getPath());
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                    boolean resolveManagedVersions,
                    ArtifactRepository localRepository,
                    List<ArtifactRepository> remoteRepositories) {
                File file = artifact.getFile();
                this.artifact = ArtifactUtils.copyArtifact(artifact);
                if ("pom".equals(artifact.getType()) && file != null) {
                    pomHash = file.getPath().hashCode() + file.lastModified();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    project.getAttachedArtifacts().stream());
            return artifacts.map(RepositoryUtils::toArtifact);
        }
    
        private boolean isRegularFile(Artifact artifact) {
            return artifact.getFile() != null && artifact.getFile().isFile();
        }
    
        private void installIntoProjectLocalRepository(Artifact artifact) {
            Path target = getArtifactPath(artifact);
            try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                throws PluginDescriptorParsingException, InvalidPluginDescriptorException {
            PluginDescriptor pluginDescriptor = null;
    
            File pluginFile = pluginArtifact.getFile();
    
            try {
                if (pluginFile.isFile()) {
                    try (JarFile pluginJar = new JarFile(pluginFile, false)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

            if (artifacts != null && !artifacts.isEmpty()) {
                for (Artifact artifact : artifacts) {
                    if (!isProvidedArtifact(artifact) && artifact.getFile() != null) {
                        constituents.add(new ArtifactClassRealmConstituent(artifact));
                    } else if (logger.isDebugEnabled()) {
                        logger.debug("  Excluded: {}", getId(artifact));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            if (Artifact.SCOPE_SYSTEM.equals(node.getArtifact().getScope())
                    && (node.getArtifact().getFile() == null)
                    && (artifact.getFile() != null)) {
                fireEvent(ResolutionListener.MANAGE_ARTIFACT_SYSTEM_PATH, listeners, node, artifact);
                node.getArtifact().setFile(artifact.getFile());
            }
        }
    
        /**
         * Check if the artifactScope needs to be updated. <a
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java

                ArtifactRepository repository) {
            if (metadata != null && metadata.getFile() != null && metadata.getFile().isFile()) {
                try {
                    Map<String, ?> options = Collections.singletonMap(MetadataReader.IS_STRICT, Boolean.FALSE);
    
                    Metadata pluginGroupMetadata = metadataReader.read(metadata.getFile(), options);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

                if (conflictingProject != null) {
                    throw new DuplicateProjectException(
                            projectId,
                            conflictingProject.getFile(),
                            project.getFile(),
                            "Project '" + projectId + "' is duplicated in the reactor");
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            if (artifact == null) {
                return;
            }
    
            if (Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                File systemFile = artifact.getFile();
    
                if (systemFile == null) {
                    throw new ArtifactNotFoundException("System artifact: " + artifact + " has no file attached", artifact);
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

                            .build();
    
                    activation.os(os);
                }
    
                org.apache.maven.api.model.ActivationFile modelFile = modelActivation.getFile();
    
                if (modelFile != null) {
                    org.apache.maven.api.settings.ActivationFile file =
                            org.apache.maven.api.settings.ActivationFile.newBuilder()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top