Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for hack (0.17 sec)

  1. maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                request.setActiveProfileIds(profileManager.getExplicitlyActivatedIds());
                request.setInactiveProfileIds(profileManager.getExplicitlyDeactivatedIds());
            } else {
                /*
                 * MNG-4900: Hack to workaround deficiency of legacy API which makes it impossible for plugins to access the
                 * global profile manager which is required to build a POM like a CLI invocation does. Failure to consider
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

                        }
                    }
                    result.addException(e);
                    throw new ArtifactDescriptorException(result);
                }
    
                Model model;
    
                // TODO hack: don't rebuild model if it was already loaded during reactor resolution
                final WorkspaceReader workspace = session.getWorkspaceReader();
                if (workspace instanceof MavenWorkspaceReader) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            List<Dependency> managedDependencies = null;
    
            List<ArtifactRepository> pomRepositories = null;
    
            Artifact pomArtifact;
    
            Artifact relocatedArtifact = null;
    
            // TODO hack: don't rebuild model if it was already loaded during reactor resolution
            RepositorySystemSession repositorySession = legacySupport.getRepositorySession();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java

        }
    
        /**
         * In order to reuse the glob matcher from the filesystem, we need
         * to create Path instances.  Those are only used with the toString method.
         * This hack works because the only system-dependent thing is the path
         * separator which should not be part of the groupId or artifactId.
         */
        private static Path createPathProxy(String value) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Aug 29 15:25:58 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                    if (resetArtifact.getVersion() == null && resetArtifact.getVersionRange() != null) {
    
                                        // go find the version. This is a total hack. See previous comment.
                                        List<ArtifactVersion> versions = resetArtifact.getAvailableVersions();
                                        if (versions == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            ArtifactFilter resolutionFilter = request.getResolutionFilter();
            RepositorySystemSession session = getSession(request.getLocalRepository());
    
            // TODO: hack because metadata isn't generated in m2e correctly and i want to run the maven i have in the
            // workspace
            if (source == null) {
                try {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                result = doExecute(request);
            } catch (OutOfMemoryError e) {
                result = addExceptionToResult(new DefaultMavenExecutionResult(), e);
            } catch (RuntimeException e) {
                // TODO Hack to make the cycle detection the same for the new graph builder
                if (e.getCause() instanceof ProjectCycleException) {
                    result = addExceptionToResult(new DefaultMavenExecutionResult(), e.getCause());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

        // -----------------------------------------------------------------------------------------------
    
        // TODO These two tests display a lack of symmetry with respect to the input which is a free form string and the
        //      mojo descriptor which comes back. All the free form parsing needs to be done somewhere else, this is
        //      really the function of the CLI, and then the pre-processing of that output still needs to be fed into
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

             * ended up with a magic value that is not compatible with the type of the configured mojo parameter (a string
             * could still be converted by the configurator so we leave those alone). If so, back off to evaluating the
             * expression from properties only.
             */
            if (value != null && type != null && !(value instanceof String) && !isTypeCompatible(type, value)) {
                value = null;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

         * from the information that is available at the point the problem occurs and as such merely serves as a best effort
         * to provide information to the user to track the problem back to its origin.
         *
         * @return The identifier of the model from which the problem originated or an empty string if unknown, never
         *         {@code null}.
         */
        String getModelId();
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top