Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 120 for Must (0.22 sec)

  1. maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

        @Test
        void testFileSource() {
            NullPointerException e = assertThrows(
                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

        }
    
        /**
         * Creates a new class realm with the specified parent and imports.
         *
         * @param baseRealmId The base id to use for the new realm, must not be {@code null}.
         * @param type The type of the class realm, must not be {@code null}.
         * @param parent The parent realm for the new realm, may be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelPathTranslator.java

         * @param basedir The base directory to resolve relative paths against, may be {@code null}.
         * @param request The model building request that holds further settings, must not be {@code null}.
         * @since 4.0.0
         */
        Model alignToBaseDirectory(Model model, Path basedir, ModelBuilderRequest request);
    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)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         */
        @Nonnull
        Optional<RemoteRepository> getRepository();
    
        /**
         * Traverses this node and potentially its children using the specified visitor.
         *
         * @param visitor the visitor to call back, must not be {@code null}
         * @return {@code true} to visit siblings nodes of this node as well, {@code false} to skip siblings
         */
        boolean accept(@Nonnull NodeVisitor visitor);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionRange {
        /**
         * Determines whether the specified version is contained within this range.
         *
         * @param version the version to test, must not be {@code null}
         * @return {@code true} if this range contains the specified version, {@code false} otherwise
         */
        boolean contains(@Nonnull Version version);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

     * {@link #TEST_COMPILE} and {@link #TEST_RUNTIME}, but can be extended by registering a
     * {@code org.apache.maven.api.spi.PathScopeProvider}.
     * <p>
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     * @see org.apache.maven.api.services.DependencyResolver
     * @see DependencyScope
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

         * @return the phase
         */
        @Nonnull
        String phase() default "";
    
        /**
         * Goal to fork. Note that specifying a phase overrides specifying a goal. The specified <code>goal</code> must be
         * another goal of the same plugin.
         * @return the goal
         */
        @Nonnull
        String goal() default "";
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java

        /**
         * Builds a project descriptor from the specified POM file.
         *
         * @param projectFile The POM file to build the project from, must not be {@code null}.
         * @param request The project building request that holds further parameters, must not be {@code null}.
         * @return The result of the project building, never {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java

         * local repository manager needs to be configured to make session be able to create session instance.
         *
         * @return SessionBuilder configured with minimally required things for "Maven-based resolution". At least LRM must
         * be set on builder to make it able to create session instances.
         */
        @Override
        public SessionBuilder get() {
            requireNonNull(repositorySystem, "repositorySystem");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/remote-repo/org/apache/apache/1/apache-1.pom

          <releases>
            <enabled>false</enabled>
          </releases>
        </repository>
      </repositories>
      <distributionManagement>
        <!-- Site omitted - each project must provide their own -->
        <repository>
          <id>apache.releases</id>
          <name>Apache Release Distribution Repository</name>
          <url>scp://minotaur.apache.org/www/www.apache.org/dist/maven-repository</url>
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top