Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for Profiles2 (0.04 sec)

  1. schema/relationship_test.go

    	type Profile struct {
    		gorm.Model
    		Name      string
    		UserRefer uint
    	}
    
    	type User struct {
    		gorm.Model
    		Profiles  []Profile `gorm:"many2many:user_profiles;ForeignKey:Refer;JoinForeignKey:UserReferID;References:UserRefer;JoinReferences:ProfileRefer"`
    		Profiles2 []Profile `gorm:"many2many:user_profiles2;ForeignKey:refer;JoinForeignKey:user_refer_id;References:user_refer;JoinReferences:profile_refer"`
    		Refer     uint
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/mdo/profiles.mdo

      xml.namespace="http://maven.apache.org/PROFILES/${version}"
      xml.schemaLocation="http://maven.apache.org/xsd/profiles-${version}.xsd">
      <id>profiles</id>
      <name>Profiles</name>
      <description><![CDATA[
        <b>Deprecated</b> Project-local overrides to the build process based on detected or user-provided environmental parameters.
        This is the model specification for <code>${basedir}/profiles.xml</code>.
      ]]></description>
      <defaults>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. tests/associations_test.go

    	}
    
    	member.Profile = Profile{}
    	DB.Model(&member).Update("Refer", 100)
    
    	var profile2 Profile
    	if err := DB.First(&profile2, "id = ?", profile.ID).Error; err != nil {
    		t.Fatalf("failed to find profile, got error: %v", err)
    	} else if profile2.MemberID != 100 {
    		t.Fatalf("member id is not equal: expects: %v, got: %v", 100, profile2.MemberID)
    	}
    
    	if r := DB.Delete(&member); r.Error != nil || r.RowsAffected != 1 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

                    problems.messages.get(0), "'profiles.profile[default].repositories.repository.id' must not be 'local'");
            assertContains(
                    problems.messages.get(1),
                    "'profiles.profile[default].repositories.repository.url' for local is missing");
            assertContains(
                    problems.messages.get(2),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            File testPom = getTestFile("src/test/resources/projects/pom-with-profiles/pom.xml");
    
            try (FileSystem fs = Jimfs.newFileSystem(fsName, fsConfig)) {
                Path path = fs.getPath("projects", "pom-with-profiles", "pom.xml");
                Files.createDirectories(path.getParent());
                Files.copy(testPom.toPath(), path);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

    /**
     * Calculates the active profiles among a given collection of profiles.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ProfileSelector {
    
        /**
         * Determines the profiles which are active in the specified activation context. Active profiles will eventually be
         * injected into the model.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

    /**
     * Container for storing the request from the user to activate or de-activate certain profiles and optionally fail the
     * build if those profiles do not exist.
     */
    public class ProfileActivation {
        private final Map<String, ActivationSettings> activations = new HashMap<>();
    
        /**
         * Mimics the pre-Maven 4 "active profiles" list.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

        private ProfilesConversionUtils() {}
    
        public static Profile convertFromProfileXmlProfile(org.apache.maven.profiles.Profile profileXmlProfile) {
            Profile profile = new Profile();
    
            profile.setId(profileXmlProfile.getId());
    
            profile.setSource("profiles.xml");
    
            org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation();
    
            if (profileActivation != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    import org.apache.maven.model.profile.activation.ProfileActivator;
    
    /**
     * Calculates the active profiles among a given collection of profiles.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultProfileSelector implements ProfileSelector {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

            if (profiles == null) {
                profiles = new ArrayList<>();
            }
    
            return profiles;
        }
    
        @Override
        public DefaultModelBuildingRequest setProfiles(List<Profile> profiles) {
            if (profiles != null) {
                this.profiles = new ArrayList<>(profiles);
            } else {
                this.profiles = null;
            }
    
            return this;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top