Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for createArtifact (3.57 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            Artifact artifact = createArtifact(artifactId, version);
    
            createArtifact(artifact, localRepository());
    
            return artifact;
        }
    
        protected Artifact createRemoteArtifact(String artifactId, String version) throws Exception {
            Artifact artifact = createArtifact(artifactId, version);
    
            createArtifact(artifact, remoteRepository());
    
            return artifact;
    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)
  2. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

        }
    
        protected Artifact createArtifact(String id, String version) throws InvalidVersionSpecificationException {
            return createArtifact(id, version, Artifact.SCOPE_COMPILE);
        }
    
        protected Artifact createArtifact(String id, String version, String scope)
                throws InvalidVersionSpecificationException {
            return createArtifact(id, version, scope, null, false);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            assertLocalArtifactPresent(b);
        }
    
        @Override
        protected Artifact createArtifact(String groupId, String artifactId, String version, String type) throws Exception {
            // for the anonymous classes
            return super.createArtifact(groupId, artifactId, version, type);
        }
    
        @Test
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                    new ArtifactRepositoryPolicy());
        }
    
        public Artifact createArtifact(String groupId, String artifactId, String version, String packaging) {
            return createArtifact(groupId, artifactId, version, null, packaging);
        }
    
        public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

        @Test
        void testBuildProject() {
            Artifact artifact = session.createArtifact("org.codehaus.plexus", "plexus-utils", "1.4.5", "pom");
    
            Project project = project(artifact);
            assertNotNull(project);
        }
    
        @Test
        void testCollectArtifactDependencies() {
            Artifact artifact =
                    session.createArtifact("org.codehaus.plexus", "plexus-container-default", "1.0-alpha-32", "jar");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  6. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

        }
    
        @Test
        void testPluginArtifactsExpressionReference() throws Exception {
            MojoExecution exec = newMojoExecution();
    
            Artifact depArtifact = createArtifact("group", "artifact", "1");
    
            List<Artifact> deps = new ArrayList<>();
            deps.add(depArtifact);
    
            exec.getMojoDescriptor().getPluginDescriptor().setArtifacts(deps);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

        @Test
        void testArtifact() throws Exception {
            ArtifactRepository remoteRepository = remoteRepository();
    
            ArtifactRepository localRepository = localRepository();
    
            Artifact a = createArtifact("a", "0.0.1-SNAPSHOT");
            File file = new File(localRepository.getBasedir(), localRepository.pathOf(a));
            file.delete();
            a.setFile(file);
    
            File touchFile = updateCheckManager.getTouchfile(a);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        @Inject
        private SettingsDecrypter settingsDecrypter;
    
        public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) {
            return artifactFactory.createArtifact(groupId, artifactId, version, scope, type);
        }
    
        public Artifact createArtifact(String groupId, String artifactId, String version, String packaging) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

        @BeforeEach
        void setUp() {
            repositorySystem = new TestRepositorySystem();
        }
    
        @Test
        void testCacheKey() throws Exception {
            Artifact a1 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar");
            @SuppressWarnings("deprecation")
            ArtifactRepository lr1 = new DelegatingLocalArtifactRepository(repositorySystem.createDefaultLocalRepository());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top