Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for namespace (0.17 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java

        }
    
        //
        // Infer modelVersion from namespace URI
        //
        void handleModelVersion(ModelTransformerContext context, Model model, Path pomFile, Model.Builder builder) {
            String namespace = model.getNamespaceUri();
            if (model.getModelVersion() == null && namespace != null && namespace.startsWith(NAMESPACE_PREFIX)) {
                builder.modelVersion(namespace.substring(NAMESPACE_PREFIX.length()));
            }
        }
    
        //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

         *
         * @return A map of lifecycles, indexed on id
         */
        public Map<String, Lifecycle> getPhaseToLifecycleMap() {
            // If people are going to make their own lifecycles then we need to tell people how to namespace them correctly
            // so that they don't interfere with internally defined lifecycles.
    
            Map<String, Lifecycle> phaseToLifecycleMap = new HashMap<>();
    
            for (Lifecycle lifecycle : getLifeCycles()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top