Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for parameters (0.16 sec)

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

            if (mojoDescriptor.getParameters() != null) {
                for (Parameter parameter : mojoDescriptor.getParameters()) {
                    XmlNode parameterConfiguration = executionConfiguration.getChild(parameter.getName());
    
                    if (parameterConfiguration == null) {
                        parameterConfiguration = executionConfiguration.getChild(parameter.getAlias());
                    }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            List<ProjectBuildingResult> result = projectBuilder.build(Collections.singletonList(file), true, configuration);
            MavenProject project = result.get(0).getProject();
            // verify a few typical parameters are not duplicated
            assertEquals(1, project.getTestCompileSourceRoots().size());
            assertEquals(1, project.getCompileSourceRoots().size());
            assertEquals(1, project.getMailingLists().size());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  3. api/maven-api-model/src/main/mdo/maven.mdo

          <name>Profile</name>
          <superClass>ModelBase</superClass>
          <version>4.0.0+</version>
          <description>Modifications to the build process which is activated based on environmental
            parameters or command line arguments.</description>
          <fields>
            <field>
              <name>id</name>
              <required>true</required>
              <version>4.0.0+</version>
              <type>String</type>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  4. maven-api-impl/src/test/remote-repo/org/apache/maven/its/plugins/maven-it-plugin/0.1/maven-it-plugin-0.1.jar

    the License. */ import org.apache.maven.plugin.AbstractMojo; /** * Does nothing. * * @goal java * @phase generate-sources * * @author Benjamin Bentmann */ public class AMojo extends AbstractMojo { /** @parameter expression="${version}" default-value="1.0" */ private String version; /** @parameter */ private String[] models; public void execute() { } } src/main/java/org/apache/maven/plugins/coreit/BMojo.java src/main/java/org/apache/maven/plugins/coreit/BMojo.java package org.apache.maven.plugin.coreit;...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                return;
            }
    
            List<Parameter> invalidParameters = new ArrayList<>();
    
            for (Parameter parameter : mojoDescriptor.getParameters()) {
                if (!parameter.isRequired()) {
                    continue;
                }
    
                Object value = null;
    
                PlexusConfiguration config = configuration.getChild(parameter.getName(), false);
                if (config != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * in which case there is one key per sub-directory.
         *
         * <p>This map may contain null values if the constructor was invoked with {@code resolve}
         * parameter set to false. This is more efficient when only the module existence needs to
         * be tested, and module descriptors are not needed.</p>
         *
         * @see #getModuleNames()
         */
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

        /**
         * Gets the user properties to use for interpolation and profile activation. The user properties have been
         * configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command
         * line.
         *
         * @return The user properties, never {@code null}.
         */
        Map<String, String> getUserProperties();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        @Nonnull
        SessionData getData();
    
        /**
         * Returns immutable user properties to use for interpolation. The user properties have been configured directly
         * by the user, e.g. via the {@code -Dkey=value} parameter on the command line.
         *
         * @return the user properties, never {@code null}
         */
        @Nonnull
        Map<String, String> getUserProperties();
    
        /**
    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)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

         * @param algorithms  The checksum algorithms to use, must not be {@code null}.
         * @return The calculated checksums, indexed by algorithms, never {@code null}.
         * @throws NullPointerException if passed in any parameter is {@code null}.
         */
        @Nonnull
        Map<ChecksumAlgorithm, String> calculate(@Nonnull byte[] data, @Nonnull Collection<ChecksumAlgorithm> algorithms);
    
        /**
         * Calculates checksums for specified data.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * This annotation will mark your class as a Mojo (ie. goal in a Maven plugin).
     * The mojo can be annotated with {@code jakarta.inject.*} annotations.
     * The {@link Parameter} annotation can be added on fields to inject data
     * from the plugin configuration or from other components.
     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top