Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 543 for if (0.14 sec)

  1. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            String reference = "";
    
            if (exception != null) {
                if (exception instanceof MojoExecutionException) {
                    reference = MojoExecutionException.class.getSimpleName();
    
                    Throwable cause = exception.getCause();
                    if (cause instanceof IOException) {
                        cause = cause.getCause();
                        if (cause instanceof ConnectException) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                    request.isResolveManagedVersions(),
                    request.getLocalRepository(),
                    request.getRemoteRepositories());
    
            if (cached != null
                    // if the POM has no file, we cached a missing artifact, only return the cached data if no update forced
                    && (!request.isForceUpdate() || hasFile(cached.getPomArtifact()))) {
                return cached;
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

            String src = source.getUrl();
            if (src != null) {
                if (sourceDominant) {
                    builder.url(src);
                    builder.location("url", source.getLocation("url"));
                } else if (target.getUrl() == null) {
                    builder.url(extrapolateChildUrl(src, source.isChildProjectUrlInheritAppendPath(), context));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * Module information for the path specified at construction time.
         * This map is usually either empty if no module was found, or a singleton map.
         * It may however contain more than one entry if module hierarchy was detected,
         * in which case there is one key per sub-directory.
         *
         * <p>This map may contain null values if the constructor was invoked with {@code resolve}
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

        public RepositorySystemSupplier() {}
    
        private void checkClosed() {
            if (closed.get()) {
                throw new IllegalStateException("Supplier is closed");
            }
        }
    
        private PathProcessor pathProcessor;
    
        public final PathProcessor getPathProcessor() {
            checkClosed();
            if (pathProcessor == null) {
                pathProcessor = createPathProcessor();
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 26 13:10:42 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLog.java

            if (isDebugEnabled()) {
                logger.debug(content.get());
            }
        }
    
        @Override
        public void debug(Supplier<String> content, Throwable error) {
            if (isDebugEnabled()) {
                logger.debug(content.get(), error);
            }
        }
    
        @Override
        public void info(CharSequence content) {
            if (isInfoEnabled()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                }
                if (!settings.isInteractiveMode()) {
                    addViolation(problems, BuilderProblem.Severity.WARNING, "interactiveMode", null, msgS);
                }
                if (settings.isOffline()) {
                    addViolation(problems, BuilderProblem.Severity.WARNING, "offline", null, msgS);
                }
                if (!settings.getProxies().isEmpty()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

            Object value = null;
    
            if (expr == null) {
                return null;
            }
    
            String expression = stripTokens(expr);
            if (expression.equals(expr)) {
                int index = expr.indexOf("${");
                if (index >= 0) {
                    int lastIndex = expr.indexOf('}', index);
                    if (lastIndex >= 0) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

                throws MetadataResolutionException, GraphConflictResolutionException {
            if (requestType == null) {
                return null;
            }
    
            if (treeRoot == null) {
                return null;
            }
    
            if (conflictResolver == null) {
                return null;
            }
    
            if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathCompile)) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java

         */
        public static String formatLocation(ModelProblem problem, String projectId) {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!problem.getModelId().equals(projectId)) {
                buffer.append(problem.getModelId());
                if (!problem.getSource().isEmpty()) {
                    if (!buffer.isEmpty()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top