Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 721 for if (0.74 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

            if (executionIdx > 0) {
                goal = goal.substring(0, executionIdx);
            }
    
            injectPluginDeclarationFromProject(plugin, project);
    
            // If there is no version to be found then we need to look in the repository metadata for
            // this plugin and see what's specified as the latest release.
            //
            if (plugin.getVersion() == null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

            Collection<String> repoIds = new HashSet<>();
    
            if (dominantRepositories != null) {
                for (ArtifactRepository repository : dominantRepositories) {
                    repoIds.add(repository.getId());
                    artifactRepositories.add(repository);
                }
            }
    
            if (recessiveRepositories != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            this.projectSelector = new ProjectSelector(); // if necessary switch to DI
        }
    
        @Override
        public Result<ProjectDependencyGraph> build(MavenSession session) {
            try {
                Result<ProjectDependencyGraph> result = sessionDependencyGraph(session);
    
                if (result == null) {
                    final List<MavenProject> projects = getProjectsForMavenReactor(session);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 09:23:26 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

                LinkedList<String> cycle) {
            if (children != null) {
                for (String v : children) {
                    DfsState state = stateMap.putIfAbsent(v, DfsState.VISITING);
                    if (state == null) {
                        cycle.addLast(v);
                        List<String> ret = visitCycle(graph, graph.get(v), stateMap, cycle);
                        if (ret != null) {
                            return ret;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jan 22 17:27:48 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                Set<Artifact> projectArtifacts)
                throws LifecycleExecutionException {
            if (scopesToCollect == null) {
                scopesToCollect = Collections.emptySet();
            }
            if (scopesToResolve == null) {
                scopesToResolve = Collections.emptySet();
            }
    
            if (scopesToCollect.isEmpty() && scopesToResolve.isEmpty()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:49 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

         *
         * @return The interim model building result or {@code null} if not available.
         */
        public ModelBuildingResult getResult() {
            return result;
        }
    
        /**
         * Gets the model that could not be built properly.
         *
         * @return The erroneous model or {@code null} if not available.
         */
        public Model getModel() {
            if (result == null) {
                return null;
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

            List<T> newResources = null;
            if (resources != null) {
                for (int i = 0; i < resources.size(); i++) {
                    T resource = resources.get(i);
                    T newResource = mapper.apply(resource);
                    if (newResource != null) {
                        if (newResources == null) {
                            newResources = new ArrayList<>(resources);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

        }
    
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
    
            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
                // check if the file exists, if it does then the profile will be active
                String fileString = actFile.getExists();
    
                RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
                try {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

            }
        }
    
        /**
         *
         * @param reader a reader object.
         * @param strict a strict object.
         * @throws IOException IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return Model
         */
        public Model read(Reader reader, boolean strict) throws IOException, XmlPullParserException {
            return read(reader, strict, null);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:14:01 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                        .append(':')
                        .append(version);
                sb.append(LS);
                if (remoteRepositories != null) {
                    sb.append(LS);
                    sb.append("from the specified remote repositories:");
                    sb.append(LS).append("  ");
    
                    if (remoteRepositories.isEmpty()) {
                        sb.append("(none)");
                    }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top