Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 242 for if (0.13 sec)

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

     *
     * @since 4.0.0
     */
    @Experimental
    public interface TypeRegistry extends ExtensibleEnumRegistry<Type> {
    
        /**
         * Obtain the {@link Type} from the specified {@code id}.
         * If no type is known for {@code id}, the registry will
         * create a custom {@code Type} for it.
         *
         * @param id the id of the type to retrieve
         * @return the type
         */
        @Nonnull
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

     * will be used to find POMs for children modules.
     *
     * @since 4.0.0
     */
    public interface ModelSource extends Source {
    
        interface ModelLocator {
            /**
             * Returns the file containing the pom or null if a pom can not be
             * found at the given file or in the given directory.
             *
             * @since 4.0.0
             */
            @Nullable
            Path locateExistingPom(@Nonnull Path project);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenArtifactRelocationSource.java

         * @param result The artifact descriptor result, never {@code null}.
         * @param model The artifact model, never {@code null}.
         * @return The {@link Artifact} to relocate to, or {@code null} if no relocation wanted.
         */
        Artifact relocatedTarget(RepositorySystemSession session, ArtifactDescriptorResult result, Model model)
                throws ArtifactDescriptorException;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/aether/PropertyContributorExtender.java

        @Override
        public void extend(MavenExecutionRequest mavenExecutionRequest) {
            Map<String, PropertyContributor> effectivePropertyContributors = lookup.lookupMap(PropertyContributor.class);
            if (!effectivePropertyContributors.isEmpty()) {
                HashMap<String, String> userPropertiesMap = new HashMap<>((Map) mavenExecutionRequest.getUserProperties());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Feb 20 15:38:09 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementImporter.java

                ModelBuilderRequest request,
                ModelProblemCollector problems) {
            if (sources != null && !sources.isEmpty()) {
                Map<String, Dependency> dependencies = new LinkedHashMap<>();
    
                DependencyManagement depMgmt = target.getDependencyManagement();
    
                if (depMgmt != null) {
                    for (Dependency dependency : depMgmt.getDependencies()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ProfileActivationFilePathInterpolator.java

         * @return absolute path or {@code null} if the input was {@code null}
         */
        public String interpolate(String path, ProfileActivationContext context) throws InterpolationException {
            if (path == null) {
                return null;
            }
    
            RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
    
            Path basedir = context.getProjectDirectory();
    
            if (basedir != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java

            }
    
            public static Model deref(Holder holder) {
                return holder != null ? holder.get() : null;
            }
    
            public Model get() {
                if (!set) {
                    synchronized (this) {
                        if (!set) {
                            try {
                                this.wait();
                            } catch (InterruptedException e) {
                                // Ignore
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java

            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (reader == null && inputStream == null) {
                throw new IllegalArgumentException("reader or inputStream must be non null");
            }
            try {
                InputSource source = null;
                if (request.getModelId() != null || request.getLocation() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java

        }
    
        @Override
        public boolean requiresProject(MavenSession session) {
            List<String> goals = session.getGoals();
            if (goals != null) {
                for (String goal : goals) {
                    if (!isGoalSpecification(goal)) {
                        return true;
                    }
                }
            }
            return false;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

                PluginInfo pluginInfo = extractPluginInfo(artifact);
                if (pluginInfo != null) {
                    String key = pluginInfo.groupId;
                    if (processedPlugins.get(key) == null) {
                        PluginsMetadata pluginMetadata = plugins.get(key);
                        if (pluginMetadata == null) {
                            pluginMetadata = new PluginsMetadata(pluginInfo, timestamp);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top