Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for if (0.73 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

            if (executionIdx > 0) {
                goal = goal.substring(0, executionIdx);
            }
    
            injectPluginDeclarationFromProject(plugin, project);
    
            // If there is no version to be found then we need to look in the repository metadata for
            // this plugin and see what's specified as the latest release.
            //
            if (plugin.getVersion() == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            lifecycleDebugLogger.debugProjectPlan(project, executionPlan);
    
            if (session.getRequest().getDegreeOfConcurrency() > 1
                    && session.getProjects().size() > 1) {
                final Set<Plugin> unsafePlugins = executionPlan.getNonThreadSafePlugins();
                if (!unsafePlugins.isEmpty()) {
                    for (String s : MultilineMessageHelper.format(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * {@link Project}, never returns {@code null} as if context not present, creates it.
         *
         * <strong>Implementation note:</strong> while this method return type is {@link Map}, the
         * returned map instance implements {@link java.util.concurrent.ConcurrentMap} as well.
         *
         * @throws org.apache.maven.api.services.MavenException if not called from the within a mojo execution
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            if (repository == null || repository.getBasedir() == null) {
                return session;
            }
    
            if (session != null) {
                LocalRepositoryManager lrm = session.getLocalRepositoryManager();
                if (lrm != null && lrm.getRepository().getBasedir().equals(new File(repository.getBasedir()))) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                throws ArtifactResolutionException, InvalidVersionSpecificationException {
            ScopeArtifactFilter filter;
            if (Artifact.SCOPE_PROVIDED.equals(expectedScope)) {
                filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
            } else if (Artifact.SCOPE_SYSTEM.equals(expectedScope)) {
                filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
            } else {
    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)
  6. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

         *         <code>null</code>. If it is <code>null</code>, the specified version range's recommended
         *         version is used (provided it is non-<code>null</code>). If no recommended version can be
         *         obtained, the returned version range's recommended version is set to <code>null</code>.
         *         </p>
         * @throws NullPointerException if the specified <code>VersionRange</code> is
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                for (ResolutionNode node : nodes) {
                    if (!node.equals(root) && node.isActive()) {
                        Artifact artifact = node.getArtifact();
    
                        try {
                            if (node.filterTrail(filter)) {
                                // If it was optional and not a direct dependency,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            String retValue = null;
    
            if (protocol.equalsIgnoreCase("file")) {
                retValue = url.substring(protocol.length() + 1);
                retValue = decode(retValue);
                // special case: if omitted // on protocol, keep path as is
                if (retValue.startsWith("//")) {
                    retValue = retValue.substring(2);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            if (Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                return;
            }
    
            ArtifactRepository localRepo = request.getLocalRepository();
    
            File localFile = new File(localRepo.getBasedir(), localRepo.pathOf(artifact));
    
            artifact.setFile(localFile);
    
            if (!localFile.exists()) {
                if (request.getRemoteRepositories().isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

     } private static Class<?> matchableClass(Class<?> expectedClass) { if (boolean.class.equals(expectedClass)) return Boolean.class; if (byte.class.equals(expectedClass)) return Byte.class; if (char.class.equals(expectedClass)) return Character.class; if (double.class.equals(expectedClass)) return Double.class; if (float.class.equals(expectedClass)) return Float.class; if (int.class.equals(expectedClass)) return Integer.class; if (long.class.equals(expectedClass)) return Long.class; if (short.clas...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
Back to top