Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for world (0.13 sec)

  1. maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

        }
    
        private ClassRealm newRealm(String id) {
            synchronized (world) {
                String realmId = id;
    
                Random random = new Random();
    
                while (true) {
                    try {
                        ClassRealm classRealm = world.newRealm(realmId, null);
    
                        logger.debug("Created new class realm {}", realmId);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/CoreRealm.java

         * @return the class realm of core.
         */
        @Nonnull
        ClassRealm getRealm();
    
        /**
         * Shorthand method to obtain the {@link ClassWorld} used for Maven Core.
         *
         * @return the class world in use.
         */
        @Nonnull
        default ClassWorld getClassWorld() {
            return getRealm().getWorld();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

            FileSource source = new FileSource(txtFile);
    
            try (InputStream is = source.getInputStream();
                    Scanner scanner = new Scanner(is)) {
    
                assertEquals("Hello World!", scanner.nextLine());
            }
        }
    
        @Test
        void testGetLocation() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                // The root locator can be used very early during the setup of Maven,
                // even before the arguments from the command line are parsed.  Any exception
                // that would happen here should cause the build to fail at a later stage
                // (when actually parsing the POM) and will lead to a better exception being
                // displayed to the user, so just bail out and return false.
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

         * @return true if the OS matches
         *
         */
        public static boolean isFamily(String family, String actualOsName) {
            // windows probing logic relies on the word 'windows' in the OS
            boolean isWindows = actualOsName.contains(FAMILY_WINDOWS);
            boolean is9x = false;
            boolean isNT = false;
            if (isWindows) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Gets the relative path for a locally installed artifact. Note that the artifact need not actually exist yet at
         * the returned location, the path merely indicates where the artifact would eventually be stored.
         * <p>
         * Shortcut for {@code getService(LocalArtifactManager.class).getPathForLocalArtitact(...)}.
         *
         * @param artifact the artifact for which to get a local path
    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)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        public Artifact getArtifact() {
            return artifact;
        }
    
        public void setArtifact(Artifact artifact) {
            this.artifact = artifact;
        }
    
        // TODO I would like to get rid of this. jvz.
        public Model getModel() {
            return model;
        }
    
        /**
         * Returns the project corresponding to a declared parent.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  8. api/maven-api-model/src/main/mdo/maven.mdo

      |
      | o add specification element to a field, this would be more a technical description of
      |   what is allowed in the field.
      |
      | o validators: there could be several levels of validation. Simple type validation could
      |   be done with a regex, but we need inter-field validation and rules which could be
      |   dealt with by something like drools.
      |
      | o i18n: would be good to be able to have names/descriptions/specifications
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        // to validate the properties. We also need a way to navigate from the Tex specification documents to
        // the test in question and vice versa. A little Eclipse plugin would do the trick.
        public void testThatExecutionsWithoutIdsAreMergedAndTheChildWins() throws Exception {
            PomTestWrapper tester = buildPom("micromailer");
    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-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java

     * This exception is thrown if an application attempts to attach
     * two of the same artifacts to a single project.
     *
     * TODO Make this a checked exception, and modify the API of MavenProjectHelper.
     * Currently, this modification would create compatibility problems for existing plugins.
     */
    public class DuplicateArtifactAttachmentException extends RuntimeException {
    
        private static final String DEFAULT_MESSAGE = "Duplicate artifact attachment detected.";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top