Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 96 for getFiles (0.19 sec)

  1. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            return pomRepositories;
        }
    
        private boolean hasFile(Artifact artifact) {
            return artifact != null
                    && artifact.getFile() != null
                    && artifact.getFile().exists();
        }
    
        private List<ArtifactRepository> aggregateRepositories(
                List<ArtifactRepository> requestRepositories, List<ArtifactRepository> pomRepositories) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

        }
    
        private List<Artifact> newTestArtifactList() {
            List<Artifact> artifacts = new ArrayList<Artifact>();
    
            Artifact artifact = mock(Artifact.class);
            when(artifact.getFile()).thenReturn(new File(new File("local/repository"), "some/path"));
            when(artifact.getGroupId()).thenReturn("group1");
            when(artifact.getArtifactId()).thenReturn("artifact1");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

        }
    
        @Test
        void testGetFile() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsoluteFile(), source.getFile());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/artifact/PluginArtifact.java

                    plugin.getVersion(),
                    null,
                    "maven-plugin",
                    null,
                    new PluginArtifactHandler());
            this.plugin = plugin;
            setFile(pluginArtifact.getFile());
            setResolved(true);
        }
    
        public List<Dependency> getDependencies() {
            return plugin.getDependencies();
        }
    
        public List<Dependency> getManagedDependencies() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/ldap/LdapUser.java

                if (StringUtil.isNotBlank(baseDn) && StringUtil.isNotBlank(accountFilter)) {
                    final LdapManager ldapManager = ComponentUtil.getLdapManager();
                    permissions = distinct(ArrayUtils.addAll(ldapManager.getRoles(this, baseDn, accountFilter, groupFilter, roles -> {
                        permissions = distinct(roles);
                        ComponentUtil.getActivityHelper().permissionChanged(OptionalThing.of(new FessUserBean(this)));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java

         */
        String getVersion();
    
        /**
         * Gets the file of the constituent's artifact.
         *
         * @return The file, never {@code null}.
         */
        File getFile();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/transformation/TransformationFailedException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.transformation;
    
    /**
     * Exception that may be thrown by the {@link org.apache.maven.artifact.Artifact#getFile()}
     * implementation.
     */
    public class TransformationFailedException extends RuntimeException {
    
        public TransformationFailedException(Throwable cause) {
            super(cause);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/DependencyResolutionRequiredException.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    /**
     * Exception that occurs when an artifact file is used, but has not been resolved.
     *
     * TODO it may be better for artifact.getFile() to throw it - perhaps it is a runtime exception?
     */
    public class DependencyResolutionRequiredException extends Exception {
        public DependencyResolutionRequiredException(Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  10. 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)
Back to top