Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for createProjectArtifact (0.13 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

        }
    
        public Artifact createProjectArtifact(String groupId, String artifactId, String version) {
            return createProjectArtifact(groupId, artifactId, version, null);
        }
    
        public Artifact createParentArtifact(String groupId, String artifactId, String version) {
            return createProjectArtifact(groupId, artifactId, version);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java

        Artifact createProjectArtifact(String groupId, String artifactId, String version);
    
        Artifact createParentArtifact(String groupId, String artifactId, String version);
    
        Artifact createPluginArtifact(String groupId, String artifactId, VersionRange versionRange);
    
        Artifact createProjectArtifact(String groupId, String artifactId, String version, String scope);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataSource.java

         *                           are needed, for instance the following code will work
         *                           <code>artifactFactory.createProjectArtifact( "org.apache.maven", "maven", "" )</code>
         * @param localRepository    local repository
         * @param remoteRepositories remote repositories, {@link List} $lt; {@link ArtifactRepository} &gt;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                return null;
            }
    
            return artifactFactory.createPluginArtifact(plugin.getGroupId(), plugin.getArtifactId(), versionRange);
        }
    
        @Override
        public Artifact createProjectArtifact(String groupId, String artifactId, String version) {
            return createArtifact(groupId, artifactId, version, "pom");
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

        //    {
        //        File localRepo = getLocalRepositoryPath();
        //
        //        ArtifactFactory factory = (ArtifactFactory) lookup( ArtifactFactory.class );
        //        Artifact artifact = factory.createProjectArtifact( "maven", "p1", "1.0" );
        //
        //        ArtifactRepositoryFactory repoFactory = (ArtifactRepositoryFactory) lookup(
        // ArtifactRepositoryFactory.class );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        Artifact createArtifact(String groupId, String artifactId, String version, String packaging);
    
        Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type);
    
        Artifact createProjectArtifact(String groupId, String artifactId, String version);
    
        Artifact createArtifactWithClassifier(
                String groupId, String artifactId, String version, String type, String classifier);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            Artifact pomArtifact;
            Artifact relocatedArtifact = null;
            boolean done = false;
            do {
                project = null;
    
                pomArtifact = artifactFactory.createProjectArtifact(
                        artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getScope());
    
                if ("pom".equals(artifact.getType())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            return artifactFactory.createArtifactWithClassifier(groupId, artifactId, version, type, classifier);
        }
    
        public Artifact createProjectArtifact(String groupId, String artifactId, String metaVersionId) {
            return artifactFactory.createProjectArtifact(groupId, artifactId, metaVersionId);
        }
    
        public Artifact createDependencyArtifact(Dependency d) {
            VersionRange versionRange;
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            File testData = getTestFile(directory);
            FileUtils.deleteDirectory(testData);
            testData.mkdirs();
    
            Artifact artifact = artifactFactory.createProjectArtifact("test", "test", "1.0");
            artifact.setFile(new File(testData, "test-1.0.pom"));
            assertFalse(artifact.getFile().exists());
            return artifact;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            return createArtifactX(groupId, artifactId, version, scope, type);
        }
    
        // DefaultProjectBuilder
        public Artifact createProjectArtifact(String groupId, String artifactId, String metaVersionId) {
            return createProjectArtifactX(groupId, artifactId, metaVersionId);
        }
    
        // DefaultProjectBuilder
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top