Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for setGroupId (0.24 sec)

  1. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

            super();
        }
    
        @Test
        void testResolveParentThrowsUnresolvableModelExceptionWhenNotFound() throws Exception {
            final Parent parent = new Parent();
            parent.setGroupId("org.apache");
            parent.setArtifactId("apache");
            parent.setVersion("0");
    
            UnresolvableModelException e = assertThrows(
                    UnresolvableModelException.class,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java

                    "compile",
                    "jar",
                    null,
                    new DefaultArtifactHandler("ignore"));
            PluginDescriptor descriptor = new PluginDescriptor();
            descriptor.setGroupId("org.apache.maven.its.plugins");
            descriptor.setArtifactId("maven-it-plugin");
            descriptor.setVersion("0.1");
            List<String> errors = new ArrayList<>();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            /*
            Dependency dep1 = new Dependency();
            dep1.setGroupId( "test" );
            dep1.setArtifactId( "test-artifact" );
            dep1.setVersion( "1" );
            dep1.setType( "jar" );
    
            Exclusion exc = new Exclusion();
            exc.setGroupId( "test" );
            exc.setArtifactId( "test-artifact3" );
    
            dep1.addExclusion( exc );
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzerTest.java

            MavenProject project = new MavenProject();
            project.setGroupId("test");
            project.setArtifactId(artifactId);
            return project;
        }
    
        private Dependency toDependency(MavenProject mavenProject) {
            Dependency dependency = new Dependency();
            dependency.setGroupId(mavenProject.getGroupId());
            dependency.setArtifactId(mavenProject.getArtifactId());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.java

                plugins = Collections.emptySet();
            }
    
            return plugins;
        }
    
        private Plugin newPlugin(String artifactId, String... goals) {
            Plugin plugin = new Plugin();
    
            plugin.setGroupId("org.apache.maven.plugins");
            plugin.setArtifactId(artifactId);
    
            for (String goal : goals) {
                PluginExecution pluginExecution = new PluginExecution();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionRequest.java

            setGroupId(plugin.getGroupId());
            setArtifactId(plugin.getArtifactId());
    
            setRepositorySession(session);
    
            setRepositories(repositories);
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public DefaultPluginVersionRequest setGroupId(String groupId) {
            this.groupId = groupId;
    
            return this;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            assertEquals(groupId + ":" + artifactId + ":" + type + ":" + classifier, artifact.getDependencyConflictId());
        }
    
        @Test
        void testGetDependencyConflictIdNullGroupId() {
            artifact.setGroupId(null);
            assertEquals(null + ":" + artifactId + ":" + type + ":" + classifier, artifact.getDependencyConflictId());
        }
    
        @Test
        void testGetDependencyConflictIdNullClassifier() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon May 22 19:19:33 GMT 2023
    - 6K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/graph/DefaultProjectDependencyGraphTest.java

            result.setGroupId("org.apache");
            result.setArtifactId("A");
            result.setVersion("1.2");
            return result;
        }
    
        static Dependency toDependency(MavenProject mavenProject) {
            final Dependency dependency = new Dependency();
            dependency.setArtifactId(mavenProject.getArtifactId());
            dependency.setGroupId(mavenProject.getGroupId());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/version/PluginVersionRequest.java

        String getGroupId();
    
        /**
         * Sets the group id of the plugin.
         *
         * @param groupId The group id of the plugin.
         * @return This request, never {@code null}.
         */
        PluginVersionRequest setGroupId(String groupId);
    
        /**
         * Gets the artifact id of the plugin.
         *
         * @return The artifact id of the plugin.
         */
        String getArtifactId();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResult.java

            this.groupId = groupId;
            this.artifactId = artifactId;
            this.repository = repository;
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public void setGroupId(String groupId) {
            this.groupId = groupId;
        }
    
        public String getArtifactId() {
            return artifactId;
        }
    
        public void setArtifactId(String artifactId) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top