Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 799 for thrown (0.03 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

                    new DefaultVersionParser(new DefaultModelVersionParser(new MavenVersionScheme())),
                    dependencyResolver));
            return services;
        }
    
        @Test
        void testTrivialConsumer() throws Exception {
            InternalMavenSession.from(InternalSession.from(session))
                    .getMavenSession()
                    .getRequest()
                    .setRootDirectory(Paths.get("src/test/resources/consumer/trivial"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/LookupException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The Exception class throw by the {@link Lookup} service.
     *
     * @since 4.0.0
     */
    @Experimental
    public class LookupException extends MavenException {
    
        public LookupException(String message) {
            super(message);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java

            Set<ApiChange> left = new HashSet<>(acceptedApiChanges);
            left.removeAll(seenApiChanges);
            if (!left.isEmpty()) {
                String formattedLeft = CollectionUtils.join("\n", left);
                throw new RuntimeException("The following regressions are declared as accepted, but didn't match any rule:\n\n" + formattedLeft);
            }
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 09 08:16:49 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

            when {
                isRelease -> "promoteReleaseMilestone"
                else -> "promoteMilestone"
            }
    
        fun promoteFinalReleaseTaskName(): String =
            when {
                isMaster -> throw UnsupportedOperationException("No final release job on master branch")
                isRelease -> "promoteFinalRelease"
                else -> "promoteFinalBackportRelease"
            }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild.jvm-compile.gradle.kts

        usesJdkInternals = false
        usesFutureStdlib = false
    
        // All compilations must have a target JVM version configured explicitly.
        targetJvmVersion = provider {
            throw RuntimeException("Target JVM version for $name has not been configured")
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 13:46:12 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java

    class DefaultVersionResolverTest extends AbstractRepositoryTestCase {
        @Inject
        private DefaultVersionResolver versionResolver;
    
        @Test
        void testResolveSeparateInstalledClassifiedNonUniqueVersionedArtifacts() throws Exception {
            VersionRequest requestB = new VersionRequest();
            requestB.addRepository(newTestRepository());
            Artifact artifactB =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testScmInfoCalculatedCorrectlyOnParentAndChildRead() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

            if (Objects.requireNonNull(groupId, "groupId cannot be null").isEmpty()) {
                throw new IllegalArgumentException("groupId cannot be empty");
            }
            if (Objects.requireNonNull(artifactId, "artifactId cannot be null").isEmpty()) {
                throw new IllegalArgumentException("artifactId cannot be empty");
            }
    
            if (model != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/ClassMetaDataRepository.java

     */
    package gradlebuild.docs.model;
    
    import groovy.lang.Closure;
    import org.gradle.api.UnknownDomainObjectException;
    
    public interface ClassMetaDataRepository<T> {
        T get(String fullyQualifiedClassName) throws UnknownDomainObjectException;
    
        T find(String fullyQualifiedClassName);
    
        void put(String fullyQualifiedClassName, T metaData);
    
        void each(Closure cl);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 989 bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

         *             contains the graph.getEntry() vertice
         */
        ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve)
                throws MetadataGraphTransformationException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
Back to Top