Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for System (0.18 sec)

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

            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_SYSTEM);
            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_TEST, Artifact.SCOPE_RUNTIME);
    
            /* farthest = system */
            checkScopeUpdate(Artifact.SCOPE_SYSTEM, Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE);
            checkScopeUpdate(Artifact.SCOPE_SYSTEM, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_PROVIDED);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. 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)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        @Nonnull
        Map<String, String> getUserProperties();
    
        /**
         * Returns immutable system properties to use for interpolation. The system properties are collected from the
         * runtime environment such as {@link System#getProperties()} and environment variables
         * (prefixed with {@code env.}).
         *
         * @return the system properties, never {@code null}
         */
        @Nonnull
        Map<String, String> getSystemProperties();
    
    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)
  4. 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)
  5. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            return request.getUserProperties();
        }
    
        /**
         * Gets 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.
         *
         * @return The system properties, never {@code null}.
         */
        public Properties getSystemProperties() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            MojoExecution exec = newMojoExecution(session);
    
            Object result =
                    new PluginParameterExpressionEvaluatorV4(session, null, exec).evaluate("${mojo.plugin.descriptor}");
    
            System.out.println("Result: " + result);
    
            assertSame(
                    exec.getPlugin().getDescriptor(),
                    result,
                    "${mojo.plugin.descriptor} expression does not return plugin descriptor.");
    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-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);
                }
    
                if (!systemFile.exists()) {
    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)
  8. maven-core/src/site/apt/offline-mode.apt

      a coordinated offline strategy. In addition, efforts to unite these failing
      behaviors behind a consistent user interface is much, much more difficult if
      the system can't tell whether it has access to the network required by these
      operations.
    
      Offline mode really means anticipating a lack of network connectivity, and as
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            List<MetadataGeneratorFactory> factories = plexusContainer.lookupList(MetadataGeneratorFactory.class);
            assertNotNull(factories);
            factories.forEach(f -> System.out.println(f.getClass().getName()));
            assertEquals(3, factories.size());
        }
    
        @Test
        void testProjectDependencies() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  10. api/maven-api-plugin/src/main/mdo/plugin.mdo

                execute: {@code compile}, {@code runtime}, {@code test},
                {@code compile+runtime} (since Maven 3.0) or {@code runtime+system} (since Maven 3.0)
              </description>
            </field>
            <field>
              <name>dependencyResolution</name>
              <version>2.0.0+</version>
              <type>String</type>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
Back to top