Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for system (0.18 sec)

  1. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Activation defaultActivation = new Activation();
    
            defaultActivation.setActiveByDefault(true);
    
            defaultActivated.setActivation(defaultActivation);
    
            Properties props = System.getProperties();
    
            ProfileManager profileManager = new DefaultProfileManager(getContainer(), props);
    
            profileManager.addProfile(notActivated);
            profileManager.addProfile(defaultActivated);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/internal/transformation/AbstractRepositoryTestCase.java

    @PlexusTest
    public abstract class AbstractRepositoryTestCase {
        @Inject
        protected RepositorySystem system;
    
        @Inject
        protected PlexusContainer container;
    
        protected RepositorySystemSession session;
    
        @BeforeEach
        public void setUp() throws Exception {
            session = newMavenRepositorySystemSession(system);
        }
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

        }
    
        @Provides
        static Session newSession(RepositorySystem system, Lookup lookup) {
            Map<String, String> properties = new HashMap<>();
            // Env variables prefixed with "env."
            System.getenv().forEach((k, v) -> properties.put("env." + k, v));
            // Java System properties
            System.getProperties().forEach((k, v) -> properties.put(k.toString(), v.toString()));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

                if (propValue.startsWith("!")) {
                    reverseValue = true;
                    propValue = propValue.substring(1);
                }
    
                // we have a value, so it has to match the system value...
                return reverseValue != propValue.equals(sysValue);
            } else {
                return reverseName != (sysValue != null && !sysValue.isEmpty());
            }
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

        /**
         * Test compile and test runtime.
         */
        TEST("test", false),
    
        /**
         * Test runtime.
         */
        TEST_RUNTIME("test-runtime", false),
    
        /**
         * System scope.
         */
        SYSTEM("system", false);
    
        private static final Map<String, DependencyScope> IDS = Collections.unmodifiableMap(
                Stream.of(DependencyScope.values()).collect(Collectors.toMap(s -> s.id, s -> s)));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Mar 27 14:46:12 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

    import org.apache.maven.api.services.model.ProfileActivationContext;
    import org.apache.maven.api.services.model.ProfileActivator;
    
    /**
     * Determines profile activation based on the operating system of the current runtime platform.
     *
     * @see ActivationOS
     */
    @Named("os")
    @Singleton
    public class OperatingSystemProfileActivator implements ProfileActivator {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

            MavenProject project0 = getProjectWithDependencies(pom0);
            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            System.out.println("Project " + project1.getId() + " " + project1);
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("TAG", pom.getValue("scm/tag"));
    
            assertEquals("issues", pom.getValue("issueManagement/system"));
            assertEquals("https://project.url/issues", pom.getValue("issueManagement/url"));
    
            assertEquals("ci", pom.getValue("ciManagement/system"));
            assertEquals("https://project.url/ci", pom.getValue("ciManagement/url"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top