- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 819 for throws (0.08 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 14 12:35:44 GMT 2025 - 4.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java
import java.io.File; import java.io.FileOutputStream; import java.io.IOException; public class XslTransformer { public static void main(String[] args) throws TransformerException, IOException { if (args.length < 3 || args.length > 4) { throw new IllegalArgumentException("USAGE: <style-sheet> <source-file> <dest-file> [dest-dir]"); } File stylesheet = new File(args[0]);Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 05 19:36:14 GMT 2023 - 2.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt
import org.gradle.api.tasks.TaskAction import java.io.File /** * This [Task][org.gradle.api.Task] checks that the contents of a given accepted API changes files * are present in alphabetical order (by type, then member), and throws an exception and reports * any changes that are not. */ @CacheableTask abstract class AlphabeticalAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() { @TaskAction fun execute() {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Nov 29 14:03:44 GMT 2024 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java
* @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. */ boolean isMavenVersion(String versionRange);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java
return classpath; } // ------------------------------------------------------------------------------------------- public MetadataTreeNode getClasspathAsTree() throws MetadataResolutionException { if (classpath == null || classpath.isEmpty()) { return null; } MetadataTreeNode tree = null; MetadataTreeNode parent = null;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t01/ProjectInheritanceTest.java
// // p4 ---> p3 ---> p2 ---> p1 ---> p0 --> super model // // ---------------------------------------------------------------------- @Test void testProjectInheritance() throws Exception { // ---------------------------------------------------------------------- // Check p0 value for org name // ----------------------------------------------------------------------Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue May 27 13:59:13 GMT 2025 - 3.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java
// or we can show it graphically as: // // p1 ---> p0 --> super model // // ---------------------------------------------------------------------- @Test void testDependencyManagement() 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: Wed Jul 23 17:27:08 GMT 2025 - 3.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java
/** * Package name can end with '.**' to exclude subpackages as well. */ @Input public abstract SetProperty<String> getExcludedPackages(); @TaskAction public void generate() throws IOException { final Multimap<String, String> simpleNames = LinkedHashMultimap.create();Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Mar 12 15:56:21 GMT 2025 - 3.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfileManager.java
void explicitlyActivate(List<String> profileIds); void explicitlyDeactivate(String profileId); void explicitlyDeactivate(List<String> profileIds); List getActiveProfiles() throws ProfileActivationException; void addProfiles(List<Profile> profiles); Map getProfilesById(); List<String> getExplicitlyActivatedIds(); List<String> getExplicitlyDeactivatedIds();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/PluginVersionResolverStub.java
import org.eclipse.aether.repository.ArtifactRepository; /** */ public class PluginVersionResolverStub implements PluginVersionResolver { @Override public PluginVersionResult resolve(PluginVersionRequest request) throws PluginVersionResolutionException { return new PluginVersionResult() { @Override public String getVersion() { return "0.42"; } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 1.6K bytes - Click Count (0)