Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 185 for name (0.2 sec)

  1. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            assertNotNull(paths);
            assertEquals(10, paths.size());
            assertEquals("test-extension-1.jar", paths.get(0).getFileName().toString());
    
            // JUnit has an "Automatic-Module-Name", so it appears on the module path.
            Map<PathType, List<Path>> dispatched = session.resolveDependencies(
                    coord, PathScope.TEST_COMPILE, Arrays.asList(JavaPathType.CLASSES, JavaPathType.MODULES));
    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)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

            private final String name;
            private final List<Plugin> plugins;
            private final List<Lifecycle.Phase> phases;
    
            DefaultPhase(String name, List<Plugin> plugins, List<Lifecycle.Phase> phases) {
                this.name = name;
                this.plugins = plugins;
                this.phases = phases;
            }
    
            @Override
            public String name() {
                return name;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Type extends ExtensibleEnum {
        /**
         * Artifact type name for a POM file.
         */
        String POM = "pom";
    
        /**
         * Artifact type name for a BOM file.
         */
        String BOM = "bom";
    
        /**
         * Artifact type name for a JAR file that can be placed either on the class-path or on the module-path.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

                    activation.property(org.apache.maven.api.model.ActivationProperty.newBuilder()
                            .name(settingsProp.getName())
                            .value(settingsProp.getValue())
                            .location("name", toLocation(settingsProp.getLocation("name")))
                            .location("value", toLocation(settingsProp.getLocation("value")))
                            .build());
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

    @Retention(RetentionPolicy.RUNTIME)
    @Target({ElementType.FIELD, ElementType.METHOD})
    @Inherited
    public @interface Parameter {
        /**
         * name of the bean property used to get/set the field: by default, field name is used.
         * @return the name of the bean property
         */
        @Nonnull
        String name() default "";
    
        /**
         * alias supported to get parameter value.
         * @return the alias
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/Utils.java

            return t;
        }
    
        static <T> T nonNull(T t, String name) {
            if (t == null) {
                throw new IllegalArgumentException(name + " cannot be null");
            }
            return t;
        }
    
        static <T> T cast(Class<T> clazz, Object o, String name) {
            if (!clazz.isInstance(o)) {
                throw new IllegalArgumentException(name + " is not an instance of " + clazz.getName());
            }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            }
        }
    
        /**
         * Wraps an object, providing reflective access to the object graph of which the
         * supplied object is the root. Expressions like 'child.name' will translate into
         * 'rootObject.getChild().getName()' for non-boolean properties, and
         * 'rootObject.getChild().isName()' for boolean properties.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            Map<String, String> userProperties = new HashMap<>(request.getUserProperties());
            if (!userProperties.containsKey(ProfileActivationContext.PROPERTY_NAME_PACKAGING)) {
                userProperties.put(ProfileActivationContext.PROPERTY_NAME_PACKAGING, model.getPackaging());
            }
            context.setUserProperties(userProperties);
            context.setProjectDirectory(model.getProjectDirectory());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

            unknownParameters = getUnknownParameters(mojoExecution, parametersNamesAll);
    
            unknownParameters.forEach(name -> {
                MessageBuilder messageBuilder = messageBuilderFactory
                        .builder()
                        .warning("Parameter '")
                        .warning(name)
                        .warning("' is unknown for plugin '")
                        .warning(mojoExecution.getArtifactId())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            getModel().setArtifactId(artifactId);
        }
    
        public String getArtifactId() {
            return getModel().getArtifactId();
        }
    
        public void setName(String name) {
            getModel().setName(name);
        }
    
        public String getName() {
            // TODO this should not be allowed to be null.
            if (getModel().getName() != null) {
                return getModel().getName();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
Back to top