Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 182 for getGroupId (0.06 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                        artifact = artifactFactory.createArtifact(
                                d.getGroupId(), d.getArtifactId(), d.getVersion(), d.getScope(), d.getType());
                    } else {
                        artifact = artifactFactory.createDependencyArtifact(
                                d.getGroupId(),
                                d.getArtifactId(),
                                versionRange,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 43K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

            if (build != null) {
                for (Extension extension : build.getExtensions()) {
                    Plugin plugin = new Plugin();
                    plugin.setGroupId(extension.getGroupId());
                    plugin.setArtifactId(extension.getArtifactId());
                    plugin.setVersion(extension.getVersion());
                    XmlNode configuration = extension.getDelegate().getConfiguration();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

            this.dependenciesValidators = dependenciesValidators;
        }
    
        private Artifact toArtifact(Plugin plugin, RepositorySystemSession session) {
            return new DefaultArtifact(
                    plugin.getGroupId(),
                    plugin.getArtifactId(),
                    null,
                    "jar",
                    plugin.getVersion(),
                    session.getArtifactTypeRegistry().get("maven-plugin"));
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

        }
    
        /**
         * Gets the plugin key (groupId:artifactId) for a plugin, handling default groupId.
         */
        private String getPluginKey(Plugin plugin) {
            String groupId = plugin.getGroupId();
            String artifactId = plugin.getArtifactId();
    
            // Default groupId for Maven plugins
            if (groupId == null && artifactId != null && artifactId.startsWith(MAVEN_PLUGIN_PREFIX)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                    String str = ownerMojo != null ? " The " + ownerMojo.getId() : "A";
                    String msg = str + " mojo is already being executed "
                            + "on the project " + session.getCurrentProject().getGroupId()
                            + ":" + session.getCurrentProject().getArtifactId() + ". "
                            + "This mojo execution will be blocked "
                            + "until the mojo is done.";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            List<Artifact> artifacts = (List<Artifact>) value;
    
            assertEquals(1, artifacts.size());
    
            Artifact result = artifacts.get(0);
    
            assertEquals("testGroup", result.getGroupId());
        }
    
        @Test
        void testRootDirectoryNotPrefixed() throws Exception {
            ExpressionEvaluator ee = createExpressionEvaluator(createDefaultProject(), null, new Properties());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

     * @see org.apache.maven.api.services.ProjectBuilder
     */
    @Experimental
    public interface Project {
    
        /**
         * {@return the project groupId}.
         */
        @Nonnull
        String getGroupId();
    
        /**
         * {@return the project artifactId}.
         */
        @Nonnull
        String getArtifactId();
    
        /**
         * {@return the project version}.
         */
        @Nonnull
        String getVersion();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                            .count()
                    > 1;
    
            if (hasOverlappingArtifactId) {
                return firstFailedProject.getGroupId() + ":" + firstFailedProject.getArtifactId();
            }
    
            return ":" + firstFailedProject.getArtifactId();
        }
    
        protected static final Pattern NEXT_LINE = Pattern.compile("\r?\n");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            Map<String, List<File>> collisions = new LinkedHashMap<>();
    
            for (MavenProject project : projects) {
                String projectId = ArtifactUtils.key(project.getGroupId(), project.getArtifactId(), project.getVersion());
    
                MavenProject collision = index.get(projectId);
    
                if (collision == null) {
                    index.put(projectId, project);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon May 05 16:58:52 GMT 2025
    - 28.7K bytes
    - Click Count (1)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            Map<String, List<InputLocation>> metaVersionLocations = new HashMap<>();
            for (CoreExtension coreExtension : coreExtensions) {
                String ga = coreExtension.getGroupId() + ":" + coreExtension.getArtifactId();
                InputLocation location = coreExtension.getLocation("");
                gasLocations.computeIfAbsent(ga, k -> new ArrayList<>()).add(location);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
Back to Top