Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for if (0.13 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/internal/PluginDependenciesResolver.java

         * @param session The repository session to use for resolving the plugin's main artifact, must not be {@code null}.
         * @return The resolved plugin artifact, never {@code null}.
         * @throws PluginResolutionException If the plugin artifact could not be resolved.
         */
        Artifact resolve(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session)
                throws PluginResolutionException;
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            assertEquals("junit-4.13.1.jar", modules.get(0).getFileName().toString());
            assertTrue(paths.containsAll(classes));
            assertTrue(paths.containsAll(modules));
    
            // If caller wants only a classpath, JUnit shall move there.
            dispatched = session.resolveDependencies(coord, PathScope.TEST_COMPILE, Arrays.asList(JavaPathType.CLASSES));
            classes = dispatched.get(JavaPathType.CLASSES);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  3. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                throws ArtifactResolutionException, ArtifactNotFoundException {
            if (artifact == null) {
                return;
            }
    
            if (Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                File systemFile = artifact.getFile();
    
                if (systemFile == null) {
    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)
  4. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                if (!dependency.getVersion().equals(newVersion)) {
                    modified.set(dependency.withVersion(newVersion));
                }
    
                if (modelPool != null) {
                    Model model = modelPool.get(dependency.getGroupId(), dependency.getArtifactId(), newVersion);
    
                    if (model != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultLocalRepositoryManager.java

                InternalSession session, LocalRepository local) {
            org.eclipse.aether.repository.LocalRepository repository = session.toRepository(local);
            if ("enhanced".equals(repository.getContentType())) {
                repository = new org.eclipse.aether.repository.LocalRepository(repository.getBasePath(), "");
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultBuilderProblem.java

            if (getSource() != null && !getSource().isEmpty()) {
                buffer.append(getSource());
            }
            if (getLineNumber() > 0) {
                if (!buffer.isEmpty()) {
                    buffer.append(", ");
                }
                buffer.append("line ").append(getLineNumber());
            }
            if (getColumnNumber() > 0) {
                if (!buffer.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            StringBuilder path = new StringBuilder(128);
    
            if (!metadata.getGroupId().isEmpty()) {
                path.append(metadata.getGroupId().replace('.', '/')).append('/');
    
                if (!metadata.getArtifactId().isEmpty()) {
                    path.append(metadata.getArtifactId()).append('/');
    
                    if (!metadata.getVersion().isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            this.mavenSession = session;
            this.mavenRepositorySystem = mavenRepositorySystem;
            this.runtimeInformation = runtimeInformation;
        }
    
        public MavenSession getMavenSession() {
            if (mavenSession == null) {
                throw new IllegalArgumentException("Found null mavenSession on session " + this);
            }
            return mavenSession;
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java

     * of sessions, use {@link CloseableSession#close()} method on built instance(s).
     * <p>
     * Extend this class and override methods to customize, if needed.
     *
     * @since 4.0.0
     */
    public class MavenSessionBuilderSupplier implements Supplier<SessionBuilder> {
        protected final RepositorySystem repositorySystem;
        protected final InternalScopeManager scopeManager;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException {
            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top