Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for group (0.14 sec)

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

            Parent parent = new Parent();
    
            parent.setGroupId("test-group");
            parent.setVersion("1000");
            parent.setArtifactId("test-artifact");
    
            Model model = new Model();
    
            model.setParent(parent);
            model.setArtifactId("real-artifact");
    
            MavenProject project = new MavenProject(model);
    
            assertEquals("test-group", project.getGroupId(), "groupId proto-inheritance failed.");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 8K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

                if (prevHyphen > 0) {
                    Matcher m = Artifact.VERSION_FILE_PATTERN.matcher(version);
                    if (m.matches()) {
                        return m.group(1) + "-" + Artifact.SNAPSHOT_VERSION;
                    }
                }
            }
            return version;
        }
    
        public static String versionlessKey(Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

        @Inject
        private ArtifactFactory artifactFactory;
    
        private ArtifactSpec projectArtifact;
    
        private Source source;
    
        private static final String GROUP_ID = "test";
    
        @BeforeEach
        void setUp() throws Exception {
            source = new Source();
    
            projectArtifact = createArtifactSpec("project", "1.0", null);
        }
    
        @Test
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            ArtifactMetadataSource source = getContainer().lookup(ArtifactMetadataSource.class, "maven");
            ResolutionGroup group = source.retrieve(m, localRepository(), new ArrayList<>());
            List<ArtifactRepository> repositories = group.getResolutionRepositories();
            assertEquals(1, repositories.size(), "There should be one repository!");
            ArtifactRepository repository = repositories.get(0);
    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)
  5. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    if (matcher.matches()) {
                        Snapshot snapshot = new Snapshot();
                        snapshot.setTimestamp(matcher.group(2));
                        try {
                            snapshot.setBuildNumber(Integer.parseInt(matcher.group(3)));
                            artifact.addMetadata(new SnapshotArtifactRepositoryMetadata(artifact, snapshot));
                        } catch (NumberFormatException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginValidator.java

            if (!pluginArtifact.getGroupId().equals(pluginDescriptor.getGroupId())) {
                errors.add("Plugin's descriptor contains the wrong group ID: " + pluginDescriptor.getGroupId());
            }
    
            if (!pluginArtifact.getArtifactId().equals(pluginDescriptor.getArtifactId())) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java

     * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is
     * formed by a combination of group id, artifact id, version and tag. The first three components generally refer to the
     * identity of a model. The tag allows for further classification of the associated data on the sole discretion of the
     * model builder.
     *
     */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

             module-c
             └─── module-c-1
                  module-c-2        (depends on module-b)
             module-d               (packaging is bom)
         */
        private static final String GROUP_ID = "unittest";
        private static final String PARENT_MODULE = "module-parent";
        private static final String INDEPENDENT_MODULE = "module-independent";
        private static final String MODULE_A = "module-a";
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 27.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

     * </p>
     */
    public class MavenProject implements Cloneable {
    
        private static final Logger LOGGER = LoggerFactory.getLogger(MavenProject.class);
    
        public static final String EMPTY_PROJECT_GROUP_ID = "unknown";
    
        public static final String EMPTY_PROJECT_ARTIFACT_ID = "empty-project";
    
        public static final String EMPTY_PROJECT_VERSION = "0";
    
        private Model model;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  10. 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)
Back to top