Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for system (0.28 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-core/src/main/java/org/apache/maven/RepositoryUtils.java

            if (stereotype == null) {
                stereotype = new DefaultArtifactType(dependency.getType());
            }
    
            boolean system =
                    dependency.getSystemPath() != null && dependency.getSystemPath().length() > 0;
    
            Map<String, String> props = null;
            if (system) {
                props = Collections.singletonMap(MavenArtifactProperties.LOCAL_PATH, dependency.getSystemPath());
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 16K bytes
    - Viewed (0)
  6. 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)
  7. maven-core/src/site/apt/configuration-management.apt

     not sure the unified source directory structure addresses this issue.
    
     Properties
    
     maven.user.config.dir (system,default=${user.home}/.m2)
     maven.home            (system,user,default=${user.home}/m2)
     maven.repo.local      (system,user,default=${maven.user.config.dir}/repository)
    
     We need to define what happens in the when things are not setup correctly
    
     o ~/.m2 directory does not exist
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top