Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 340 for Model (0.13 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            String artifactId = "maven-model";
    
            Dependency dep = new Dependency();
    
            dep.setGroupId( groupId );
            dep.setArtifactId( artifactId );
            dep.setVersion( "2.0-alpha-3" );
    
            Model model = new Model();
    
            model.addDependency( dep );
    
            MavenProject project = new MavenProject( model, repositorySystem );
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. utils/tests/models.go

    	Active    bool
    }
    
    type Account struct {
    	gorm.Model
    	UserID sql.NullInt64
    	Number string
    }
    
    type Pet struct {
    	gorm.Model
    	UserID *uint
    	Name   string
    	Toy    Toy `gorm:"polymorphic:Owner;"`
    }
    
    type Toy struct {
    	gorm.Model
    	Name      string
    	OwnerID   string
    	OwnerType string
    }
    
    type Tools struct {
    	gorm.Model
    	Name     string
    	CustomID string
    	Type     string
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/api/services/model/DependencyManagementImporter.java

     */
    package org.apache.maven.api.services.model;
    
    import java.util.List;
    
    import org.apache.maven.api.model.DependencyManagement;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.ModelBuilderRequest;
    import org.apache.maven.api.services.ModelProblemCollector;
    
    /**
     * Handles the import of dependency management from other models into the target model.
     *
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultPluginConfigurationExpander.java

    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.model.Build;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Plugin;
    import org.apache.maven.api.model.PluginManagement;
    import org.apache.maven.api.model.ReportPlugin;
    import org.apache.maven.api.model.Reporting;
    import org.apache.maven.api.services.ModelBuilderRequest;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java

            private volatile boolean set;
            private volatile Model model;
    
            Holder() {}
    
            Holder(Model model) {
                this.model = Objects.requireNonNull(model);
                this.set = true;
            }
    
            public static Model deref(Holder holder) {
                return holder != null ? holder.get() : null;
            }
    
            public Model get() {
                if (!set) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java

                @Override
                public Model getRawModel(Path from, String gId, String aId) {
                    Model model = findRawModel(from, gId, aId);
                    if (model != null) {
                        context.modelByGA.put(new GAKey(gId, aId), new Holder(model));
                        context.modelByPath.put(model.getPomFile(), new Holder(model));
                    }
                    return model;
                }
    
                @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformerContext.java

        String getUserProperty(String key);
    
        /**
         * Get the model based on the path when resolving the parent based on relativePath.
         *
         * @param from    the requiring model
         * @param pomFile the path to the pomFile
         * @return the model, otherwise {@code null}
         */
        Model getRawModel(Path from, Path pomFile);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/api/services/model/LifecycleBindingsInjector.java

        /**
         * Injects plugin executions induced by lifecycle bindings into the specified model. The model has already undergone
         * injection of plugin management so any plugins that are injected by lifecycle bindings and are not already present
         * in the model's plugin section need to be subjected to the model's plugin management.
         *
         * @param model The model into which to inject the default plugin executions for its packaging, must not be
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelUrlNormalizer.java

         *
         * @param model The model whose URLs should be normalized, may be {@code null}.
         * @param request The model building request that holds further settings, must not be {@code null}.
         */
        Model normalize(Model model, ModelBuilderRequest request);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformer.java

        /**
         * @param context the context, cannot be null
         * @param model   the model to transform
         * @param path    the pom file, cannot be null
         * @throws ModelTransformerException if the transformation fails
         */
        @Nonnull
        Model transform(@Nonnull ModelTransformerContext context, @Nonnull Model model, @Nonnull Path path)
                throws ModelTransformerException;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top