Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for system (0.18 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java

                    "test-grp", "test-artifact-5", VersionRange.createFromVersion("1.0"), "type", null, "system", "system");
    
            assertEquals("system", artifact.getScope());
            assertEquals("system", artifact2.getScope());
            assertEquals("system", artifact3.getScope());
            assertEquals("system", artifact4.getScope());
            assertEquals("system", artifact5.getScope());
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

            return systemProperties;
        }
    
        /**
         * Sets the system properties to use for interpolation and profile activation. The system properties are collected
         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @param systemProperties The system properties, may be {@code null}.
         * @return This context, never {@code null}.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
            String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}", basedir);
    
            assertEquals(basedir.getAbsolutePath(), aligned);
        }
    
        @Test
        void testAlignToBasedirWhereBasedirExpressionIsTheValuePrefix() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven3ScopeManagerConfiguration.java

        public static final String DS_COMPILE = "compile";
        public static final String DS_RUNTIME = "runtime";
        public static final String DS_PROVIDED = "provided";
        public static final String DS_SYSTEM = "system";
        public static final String DS_TEST = "test";
        public static final String RS_NONE = "none";
        public static final String RS_MAIN_COMPILE = "main-compile";
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

        @Test
        @DisabledOnOs(OS.WINDOWS) // need to investigate why it fails on windows
        void testProjectInheritance() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            System.out.println("Local repository is at: " + localRepo.getAbsolutePath());
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom1 = new File(pom0.getParentFile(), "p1/pom.xml");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            System.out.println("[ Looking for " + groupId + ":" + artifactId + " ]");
            for (Artifact a : project.getArtifacts()) {
                System.out.println(a.toString());
                if (artifactId.equals(a.getArtifactId()) && a.getGroupId().equals(groupId)) {
                    System.out.println("RETURN");
                    return a;
                }
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(2, result.getArtifacts().size());
    
            //
            // System scoped version which should
            //
            d.setScope(Artifact.SCOPE_SYSTEM);
            File file = new File(getBasedir(), "src/test/repository-system/maven-core-2.1.0.jar");
            assertTrue(file.exists());
            d.setSystemPath(file.getCanonicalPath());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            new ProjectBuilder(project)
                    .addDependency(
                            "com.mycompany",
                            "system-dependency",
                            "1.0",
                            Artifact.SCOPE_SYSTEM,
                            new File(getBasedir(), "pom.xml").getAbsolutePath());
    
            Set<Artifact> artifactDependencies =
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

                Profile profile = SettingsUtils.convertFromSettingsProfile(rawProfile);
                config.addProfile(profile);
            }
    
            String localRepoUrl =
                    System.getProperty("maven.repo.local", System.getProperty("user.home") + "/.m2/repository");
            localRepoUrl = "file://" + localRepoUrl;
            config.setLocalRepository(repositorySystem.createArtifactRepository(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                    new File(System.getProperty("basedir", "."), "target/local-repo").getAbsoluteFile());
        }
    
        public ArtifactRepository createDefaultRemoteRepository() throws InvalidRepositoryException {
            return new MavenArtifactRepository(
                    DEFAULT_REMOTE_REPO_ID,
                    "file://"
                            + new File(System.getProperty("basedir", "."), "src/test/remote-repo")
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top