Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for setGroupId (0.24 sec)

  1. maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            throws Exception
        {
            MavenSession session = createMavenSession( null );
            MavenProject project = session.getCurrentProject();
    
            Exclusion exclusion = new Exclusion();
            exclusion.setGroupId( "org.apache.maven.its" );
            exclusion.setArtifactId( "a" );
    
            new ProjectBuilder( project ).addDependency( "org.apache.maven.its", "b", "0.1", Artifact.SCOPE_RUNTIME,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        void setScope(String scope);
    
        VersionRange getVersionRange();
    
        void setVersionRange(VersionRange newRange);
    
        void selectVersion(String version);
    
        void setGroupId(String groupId);
    
        void setArtifactId(String artifactId);
    
        boolean isSnapshot();
    
        void setResolved(boolean resolved);
    
        boolean isResolved();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Feb 09 17:47:51 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                                mojo.getGoal(),
                                phase);
                        continue;
                    }
    
                    Plugin plugin = new Plugin();
                    plugin.setGroupId(gs.groupId);
                    plugin.setArtifactId(gs.artifactId);
                    plugin.setVersion(gs.version);
    
                    plugin.setLocation("", location);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.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
    - 3.4K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

        }
    
        private MojoExecution newMojoExecution(Session session) {
            PluginDescriptor pd = new PluginDescriptor();
            pd.setArtifactId("my-plugin");
            pd.setGroupId("org.myco.plugins");
            pd.setVersion("1");
    
            DefaultArtifact artifact = new DefaultArtifact(
                    pd.getGroupId(),
                    pd.getArtifactId(),
                    pd.getVersion(),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                        if (relocation != null) {
                            if (relocation.getGroupId() != null) {
                                artifact.setGroupId(relocation.getGroupId());
                                relocatedArtifact = artifact;
                                project.setGroupId(relocation.getGroupId());
                            }
                            if (relocation.getArtifactId() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            //
            // We should get a whole slew of dependencies resolving this artifact transitively
            //
            Dependency d = new Dependency();
            d.setGroupId("org.apache.maven.its");
            d.setArtifactId("b");
            d.setVersion("0.1");
            d.setScope(Artifact.SCOPE_COMPILE);
            Artifact artifact = repositorySystem.createDependencyArtifact(d);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

                MavenProject project = session.getProjects().get(0);
    
                Dependency dependency = new Dependency();
                dependency.setArtifactId(INJECTED_ARTIFACT_ID);
                dependency.setGroupId("foo");
                dependency.setVersion("1.2.3");
                dependency.setScope("system");
                try {
                    dependency.setSystemPath(new File(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

            Build build = model.getBuild();
    
            if (build != null) {
                for (Extension extension : build.getExtensions()) {
                    Plugin plugin = new Plugin();
                    plugin.setGroupId(extension.getGroupId());
                    plugin.setArtifactId(extension.getArtifactId());
                    plugin.setVersion(extension.getVersion());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

                init( af );
            }
            */
        }
        // ------------------------------------------------------------------
        //    public void init( ArtifactMetadata af )
        //    {
        //        setGroupId( af.getGroupId() );
        //        setArtifactId( af.getArtifactId() );
        //        setVersion( af.getVersion() );
        //        setType( af.getType() );
        //        setScope( af.getScope() );
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.6K bytes
    - Viewed (0)
Back to top