Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setLicenses (0.1 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

            Model target = new Model();
            Model source = new Model();
            target.setLicenses(new ArrayList<License>());
            License lic1 = new License();
            License lic2 = new License();
            target.getLicenses().add(lic1);
            source.setLicenses(new ArrayList<License>());
            source.getLicenses().add(lic2);
    
            new MavenMerger().mergeModel(target, source, false, null);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

            if (prerequisites != null) {
                properties.put("prerequisites.maven", prerequisites.getMaven());
            }
    
            List<License> licenses = model.getLicenses();
            properties.put("license.count", licenses.size());
            for (int i = 0; i < licenses.size(); i++) {
                License license = licenses.get(i);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top