Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 895 for new (0.01 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setModelSource(new FileModelSource(new File(
                    getClass().getResource("/poms/depmgmt/root-dep-first.xml").getFile())));
            request.setModelResolver(new BaseModelResolver() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

        @Test
        void testValidate() {
            Settings model = new Settings();
            Profile prof = new Profile();
            prof.setId("xxx");
            model.addProfile(prof);
            SimpleProblemCollector problems = new SimpleProblemCollector();
            validator.validate(model, problems);
            assertEquals(0, problems.messages.size());
    
            Repository repo = new Repository(org.apache.maven.api.settings.Repository.newInstance(false));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
            notActivated.setActivation(nonActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
            Activation defaultActivation = new Activation();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            ScopeManagerImpl scopeManager = new ScopeManagerImpl(Maven4ScopeManagerConfiguration.INSTANCE);
            session.setScopeManager(scopeManager);
            DependencyGraphTransformer transformer = new ConflictResolver(
                    new NearestVersionSelector(), new ManagedScopeSelector(scopeManager),
                    new SimpleOptionalitySelector(), new ManagedScopeDeriver(scopeManager));
            transformer =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            Map<String, String> envVarMap = new HashMap<>();
            envVarMap.put("testKey", "testValue");
            envVarMap.put("testSpecialCharactersKey", "<test&Value>");
            OperatingSystemUtils.setEnvVarSource(new TestEnvVarSource(envVarMap));
    
            toolchainBuilder = new DefaultToolchainsBuilder(
                    new org.apache.maven.internal.impl.DefaultToolchainsBuilder(
                            new DefaultInterpolator(), toolchainsXmlFactory),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

            return df.format(new Date());
        }
    
        @Test
        void gregorianCalendarIsUsed() {
            String dateBefore = gregorianDate();
    
            RemoteSnapshotMetadata metadata =
                    new RemoteSnapshotMetadata(new DefaultArtifact("a:b:1-SNAPSHOT"), new Date(), null);
            metadata.merge(new Metadata());
    
            String dateAfter = gregorianDate();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            project.setScm(new Scm());
            project.getScm().setConnection("scm-connection");
            project.addDependency(dependency1);
            project.addDependency(dependency2);
            project.setBuild(new Build());
    
            // Build up an artifactMap
            project.addArtifact(new Artifact("g0", "a0", "v0", "e0", "c0"));
            project.addArtifact(new Artifact("g1", "a1", "v1", "e1", "c1"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            StringReader sReader = new StringReader(serializedModel);
    
            MavenStaxReader modelReader = new MavenStaxReader();
            try {
                model = new Model(modelReader.read(sReader));
            } catch (XMLStreamException e) {
                throw new ModelInterpolationException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .createTestSuite();
      }
    
      private static String[] dedupe(String[] elements) {
        Set<String> tmp = new LinkedHashSet<>();
        Collections.addAll(tmp, elements);
        return tmp.toArray(new String[0]);
      }
    
      static <T> Comparator<T> arbitraryNullFriendlyComparator() {
        return new NullFriendlyComparator<>();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top