- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for foo (0.13 sec)
-
maven-core/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java
void testCreateExactMatcher() { RequirementMatcher matcher; matcher = RequirementMatcherFactory.createExactMatcher("foo"); assertFalse(matcher.matches("bar")); assertFalse(matcher.matches("foobar")); assertFalse(matcher.matches("foob")); assertTrue(matcher.matches("foo")); } /** * Test of createVersionMatcher method, of class RequirementMatcherFactory. */ @Test
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java
MavenProject mavenProject = new MavenProject(); mavenProject.setArtifact(new DefaultArtifact("g", "a", "1.0", Artifact.SCOPE_TEST, "jar", "", null)); File artifactFile = Files.createTempFile("foo", "tmp").toFile(); try { mavenProjectHelper.attachArtifact(mavenProject, "java-source", artifactFile); assertEquals(1, mavenProject.getAttachedArtifacts().size());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.3K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java
* Proxy server port */ private int port; /** * Type of the proxy */ private String protocol; /** * The non-proxy hosts. Follows Java system property format: <code>*.foo.com|localhost</code>. */ private String nonProxyHosts; /** * For NTLM proxies, specifies the NTLM host. */ private String ntlmHost; /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Nov 22 13:26:01 GMT 2022 - 4K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java
} @Test void testValidateUniqueProxyId() throws Exception { Settings settings = new Settings(); Proxy proxy = new Proxy(); String id = "foo"; proxy.setId(id); proxy.setHost("www.example.com"); settings.addProxy(proxy); settings.addProxy(proxy); SimpleProblemCollector problems = new SimpleProblemCollector();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
} protected ArtifactRepository badRemoteRepository() throws Exception { return artifactRepositoryFactory.createArtifactRepository( "test", "http://foo.bar/repository", repoLayout, null, null); } protected void assertRemoteArtifactPresent(Artifact artifact) throws Exception { ArtifactRepository remoteRepo = remoteRepository();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 13.8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java
ArtifactRepository rr1 = repositorySystem.createDefaultRemoteRepository(); a1.setDependencyFilter(new ExcludesArtifactFilter(Arrays.asList("foo"))); Artifact a2 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar"); @SuppressWarnings("deprecation")
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
/** * Returns the programmatic name of this path type, including the module to patch. * For example, if this type was created by {@code JavaPathType.patchModule("foo.bar")}, * then this method returns {@code "PathType[PATCH_MODULE:foo.bar]")}. * * @return the programmatic name together with the module name on which it applies */ @Nonnull @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 11.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java
// these are local assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://localhost:8080"))); assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://127.0.0.1:9090"))); assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "file://localhost/somepath"))); assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "file://localhost/D:/somepath")));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 10.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java
* <li>If this type was created by {@code JavaPathType.patchModule("foo.bar")}, then the method returns * {@code "--patch-module foo.bar=path1:path2"} on Unix or {@code "--patch-module foo.bar=path1;path2"} * on Windows.</li> * </ul> * * @param paths the path to format as a string
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 4.9K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java
return id; } } @Test void testHashCodeEquals() { MavenArtifactRepositorySubclass r1 = new MavenArtifactRepositorySubclass("foo"); MavenArtifactRepositorySubclass r2 = new MavenArtifactRepositorySubclass("foo"); MavenArtifactRepositorySubclass r3 = new MavenArtifactRepositorySubclass("bar"); assertTrue(r1.hashCode() == r2.hashCode());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 1.9K bytes - Viewed (0)