Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 631 for if (0.14 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/prefix/NoPluginFoundForPrefixException.java

            StringBuilder repos = new StringBuilder("[");
    
            if (localRepository != null) {
                repos.append(localRepository.getId())
                        .append(" (")
                        .append(localRepository.getBasedir())
                        .append(")");
            }
    
            if (remoteRepositories != null && !remoteRepositories.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

         *
         * @param versionRange The version range to match the current Maven runtime against, must not be {@code null}.
         * @return {@code true} if the current Maven runtime matches the specified version range, {@code false} otherwise.
         * @throws IllegalArgumentException If the specified version range is {@code null}, empty or otherwise not a valid
         *             version specification.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

        private static Map<String, Expression> expressionDocumentation;
    
        public static Map<String, Expression> load() throws ExpressionDocumentationException {
            if (expressionDocumentation == null) {
                expressionDocumentation = new HashMap<>();
    
                ClassLoader docLoader = initializeDocLoader();
    
                for (String root : EXPRESSION_ROOTS) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                throws ArtifactResolutionException, InvalidVersionSpecificationException {
            ScopeArtifactFilter filter;
            if (Artifact.SCOPE_PROVIDED.equals(expectedScope)) {
                filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
            } else if (Artifact.SCOPE_SYSTEM.equals(expectedScope)) {
                filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

        public boolean isRootDirectory(Path dir) {
            if (Files.isDirectory(dir.resolve(".mvn"))) {
                return true;
            }
            // we're too early to use the modelProcessor ...
            Path pom = dir.resolve("pom.xml");
            try (InputStream is = Files.newInputStream(pom)) {
                XMLStreamReader parser = new WstxInputFactory().createXMLStreamReader(is);
                if (parser.nextTag() == XMLStreamReader.START_ELEMENT
    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)
  6. api/maven-api-model/src/main/mdo/maven.mdo

            <field xdoc.separator="blank">
              <name>parent</name>
              <version>4.0.0+</version>
              <description>The location of the parent project, if one exists. Values from the parent
                project will be the default for this project if they are left unspecified. The location
                is given as a group ID, artifact ID and version.</description>
              <association>
                <type>Parent</type>
    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)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

         *
         * @param version the version string to parse, must not be {@code null}
         * @return the parsed version, never {@code null}
         * @throws VersionParserException if the string violates the syntax rules of this scheme
         */
        @Nonnull
        Version parseVersion(@Nonnull String version);
    
        /**
         * Parses the specified version range specification, for example "[1.0,2.0)".
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

        public PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException {
            PersistedToolchains toolchains = null;
    
            if (userToolchainsFile != null && userToolchainsFile.isFile()) {
                try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * infrastructure.<br>
     * It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw
     * a MojoException if error conditions occur.<br>
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    public interface Mojo {
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/artifact/FatArtifactTraverser.java

            requireNonNull(context, "context cannot be null");
            return this;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            } else if (null == obj || !getClass().equals(obj.getClass())) {
                return false;
            }
            return true;
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top