Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for exit (0.37 sec)

  1. apache-maven/src/assembly/shared/init

          echo "JAVA_HOME is set to \"$JAVA_HOME\", but \"\$JAVA_HOME/bin/java\" does not exist." >&2
          exit 1
        fi
      fi
    else
      JAVACMD="`\\unset -f command; \\command -v java`"
    
      if [ ! -x "$JAVACMD" ] ; then
        echo "The java(1) command does not exist in PATH nor is JAVA_HOME set, so Apache Maven cannot be started." >&2
        exit 1
      fi
    fi
    
    # traverses directory structure from process work directory to filesystem root
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Mar 05 22:52:54 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

            scope.seed(Object.class, o2);
            assertSame(o2, scope.scope(Key.get(Object.class), null).get());
    
            scope.exit();
            assertSame(o1, scope.scope(Key.get(Object.class), null).get());
    
            scope.exit();
    
            assertThrows(IllegalStateException.class, () -> scope.exit());
        }
    
        @Test
        void testMultiKeyInstance() throws Exception {
            MojoExecutionScope scope = new MojoExecutionScope();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. apache-maven/src/assembly/shared/run.cmd

    if exist "%USERPROFILE%\mavenrc_post.bat" echo Warning: The mavenrc_post.bat script is deprecated and will be removed in a future version. >&2
    if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
    if exist "%USERPROFILE%\mavenrc_post.cmd" echo Warning: The mavenrc_post.cmd script is deprecated and will be removed in a future version. >&2
    Batch File
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Mar 05 22:52:54 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  4. .github/workflows/maven_build_itself.yml

                  echo "TEMP_MAVEN_BIN_DIR=$maven_bin_dir" >> $GITHUB_ENV
                else
                  echo "$maven_bin_dir does not exist."
                  exit 1;
                fi
              else
                echo "${{ env.TAR_BALL }} does not exist."
                exit 1;
              fi
            env:
              TAR_BALL: apache-maven/target/apache-maven-bin.tar.gz
    
          - name: Clean with Maven
            run: mvn clean
    Others
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. apache-maven/src/assembly/shared/init.cmd

    )
    
    :process_file_arg
    if "%FILE_ARG%" == "" (
      goto findBaseDir
    )
    if not exist "%FILE_ARG%" (
      echo POM file "%FILE_ARG%" specified the -f/--file command-line argument does not exist >&2
      goto error
    )
    if exist "%FILE_ARG%\*" (
      set "POM_DIR=%FILE_ARG%"
    ) else (
      call :get_directory_from_file "%FILE_ARG%"
    )
    if not exist "%POM_DIR%" (
    Batch File
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 16 21:35:28 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                assertTrue(deployedFile.exists());
                assertEquals("dummy", new String(Files.readAllBytes(deployedFile.toPath()), StandardCharsets.UTF_8).trim());
            } finally {
                sessionScope.exit();
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

            LinkedList<ScopeState> stack = values.get();
            if (stack == null || stack.isEmpty()) {
                throw new IllegalStateException();
            }
            return stack.getFirst();
        }
    
        public void exit() throws MojoExecutionException {
            final LinkedList<ScopeState> stack = values.get();
            if (stack == null || stack.isEmpty()) {
                throw new IllegalStateException();
            }
            stack.removeFirst();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                        // ignore
                    }
                    metadataFile.delete(); // if this fails, forget about it, we'll try to overwrite it anyway so no need
                    // to delete on exit
                }
            } else if (metadataFile.exists()) {
                try (InputStream input = Files.newInputStream(metadataFile.toPath())) {
                    metadata = new Metadata(new MetadataStaxReader().read(input, false));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  9. Jenkinsfile.s390x

                            if (isUnix()) {
                                sh "rm -rvf $WORK_DIR/dists $WORK_DIR/it-local-repo"
                            } else {
                                bat "if exist it-local-repo rmdir /s /q it-local-repo"
                                bat "if exist dists         rmdir /s /q dists"
                            }
                            dir('dists') {
                              unstash 'maven-dist-s390x'
                            }
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                        new MojoExecutionEvent(session, project, mojoExecution, mojo, e));
                throw e;
            } finally {
                mavenPluginManager.releaseMojo(mojo, mojoExecution);
                scope.exit();
                Thread.currentThread().setContextClassLoader(oldClassLoader);
                legacySupport.setSession(oldSession);
            }
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 10.9K bytes
    - Viewed (0)
Back to top