Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for testdata (0.17 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

        }
    
        private Artifact createTestPomArtifact(String directory) throws IOException {
            File testData = getTestFile(directory);
            FileUtils.deleteDirectory(testData);
            testData.mkdirs();
    
            Artifact artifact = artifactFactory.createProjectArtifact("test", "test", "1.0");
            artifact.setFile(new File(testData, "test-1.0.pom"));
            assertFalse(artifact.getFile().exists());
            return artifact;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

        static CollectStepData lookupCollectStepData(RequestTrace trace) {
            CollectStepData collectStepTrace = null;
            while (trace != null) {
                if (trace.getData() instanceof CollectStepData) {
                    collectStepTrace = (CollectStepData) trace.getData();
                    break;
                }
                trace = trace.getParent();
            }
            return collectStepTrace;
        }
    
        /**
    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)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                }
            }
        }
    
        private List<?> validationPluginExcludes(RepositorySystemSession session) {
            return (List<?>) session.getData().computeIfAbsent(PLUGIN_EXCLUDES_KEY, () -> parsePluginExcludes(session));
        }
    
        private List<String> parsePluginExcludes(RepositorySystemSession session) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                }
                mojos.remove(Thread.currentThread());
            }
    
            private OwnerReentrantLock getProjectLock(MavenSession session) {
                SessionData data = session.getSession().getData();
                Map<MavenProject, OwnerReentrantLock> locks = data.computeIfAbsent(PROJECT_LOCKS, ConcurrentHashMap::new);
                return locks.computeIfAbsent(session.getCurrentProject(), p -> new OwnerReentrantLock());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        @Nonnull
        Settings getSettings();
    
        @Nonnull
        LocalRepository getLocalRepository();
    
        @Nonnull
        List<RemoteRepository> getRemoteRepositories();
    
        @Nonnull
        SessionData getData();
    
        /**
         * Returns immutable user properties to use for interpolation. The user properties have been configured directly
         * by the user, e.g. via the {@code -Dkey=value} parameter on the command line.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

                    .evaluate("${session.rootDirectory.uri}");
            assertEquals(path.toUri(), result);
        }
    
        @Test
        public void testPath() throws Exception {
            Path path = Paths.get("").toAbsolutePath();
    
            MavenSession mavenSession = createMavenSession(null);
            mavenSession.getRequest().setTopDirectory(path);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

                    .evaluate("${session.rootDirectory.uri}");
            assertEquals(path.toUri(), result);
        }
    
        @Test
        public void testPath() throws Exception {
            Path path = Paths.get("").toAbsolutePath();
    
            MavenSession mavenSession = createMavenSession(null);
            mavenSession.getRequest().setTopDirectory(path);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        public List<RemoteRepository> getRemoteRepositories() {
            return Collections.unmodifiableList(repositories);
        }
    
        @Nonnull
        @Override
        public SessionData getData() {
            org.eclipse.aether.SessionData data = session.getData();
            return new SessionData() {
                @Override
                public <T> void set(@Nonnull Key<T> key, @Nullable T value) {
                    data.set(key, value);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        /**
         * @since 3.3.0
         */
        EventSpyDispatcher getEventSpyDispatcher();
    
        /**
         * @since 3.3.0
         */
        Map<String, Object> getData();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Dec 20 13:03:57 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            return this;
        }
    
        @Override
        public EventSpyDispatcher getEventSpyDispatcher() {
            return eventSpyDispatcher;
        }
    
        @Override
        public Map<String, Object> getData() {
            if (data == null) {
                data = new HashMap<>();
            }
    
            return data;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 31K bytes
    - Viewed (0)
Back to top