Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 145 for Main (0.4 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * @param scope the scope, i.e. usually main or test
         * @param sourceRoot the new source root
         */
        void addCompileSourceRoot(@Nonnull Project project, @Nonnull ProjectScope scope, @Nonnull Path sourceRoot);
    
        /**
         * Get the list of resources for the given project and scope
         *
         * @param project the project
         * @param scope the scope, i.e. usually main or test
         * @return the list of resources
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Feb 09 17:13:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/internal/PluginDependenciesResolver.java

        /**
         * Resolves the main artifact of the specified plugin.
         *
         * @param plugin The plugin for which to resolve the main artifact, must not be {@code null}.
         * @param repositories The plugin repositories to use for resolving the plugin's main artifact, must not be {@code
         *            null}.
         * @param session The repository session to use for resolving the plugin's main artifact, must not be {@code null}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/main/java/org/apache/maven/lifecycle/test/App.java

    package org.apache.maven.lifecycle.test;
    
    /**
     * Hello world!
     *
     */
    public class App
    {
        public static void main( String[] args )
        {
            System.out.println( "Hello World!" );
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Nov 23 12:04:30 GMT 2014
    - 193 bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         */
        String MAVEN_PLUGIN = "maven-plugin";
    
        /**
         * Artifact type name for a JAR file containing test classes. If the main artifact is placed on the class-path
         * ({@value #JAR} or {@value #CLASSPATH_JAR} types), then the test artifact will also be placed on the class-path.
         * Otherwise, if the main artifact is placed on the module-path ({@value #JAR} or {@value #MODULAR_JAR} types),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

        System.out.println("CLOSE: " + code + " " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
        t.printStackTrace();
      }
    
      public static void main(String... args) {
        new WebSocketEcho().run();
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 04 11:40:21 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java

          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PreemptiveAuth().run();
      }
    
      static final class BasicAuthInterceptor implements Interceptor {
        private final String credentials;
        private final String host;
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Nov 05 07:46:46 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

          for (Certificate certificate : response.handshake().peerCertificates()) {
            System.out.println(CertificatePinner.pin(certificate));
          }
        }
      }
    
      public static void main(String... args) throws Exception {
        new CertificatePinning().run();
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 08 21:30:01 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java

    import javax.xml.transform.stream.StreamSource;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    
    public class XslTransformer {
        public static void main(String[] args) throws TransformerException, IOException {
            if (args.length < 3 || args.length > 4) {
                throw new IllegalArgumentException("USAGE: <style-sheet> <source-file> <dest-file> [dest-dir]");
            }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

          System.out.println("Response 2 network response:  " + response2.networkResponse());
        }
    
        System.out.println("Response 2 equals Response 1? " + response1Body.equals(response2Body));
      }
    
      public static void main(String... args) throws Exception {
        new CacheResponse(new File("CacheResponse.tmp")).run();
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 2.4K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

        } catch (IOException e) {
          System.out.printf("%.2f Call failed as expected: %s%n",
              (System.nanoTime() - startNanos) / 1e9f, e);
        }
      }
    
      public static void main(String... args) throws Exception {
        new CancelCall().run();
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.1K bytes
    - Viewed (0)
Back to top