Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for webModule (0.19 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishWarProjectIntegTest.groovy

            def webModule = mavenRepo.module("org.gradle.test", "projectWeb", "1.9").withModuleMetadata()
            webModule.assertPublishedAsWebModule()
            webModule.parsedPom.scopes.isEmpty()
            webModule.parsedModuleMetadata.variant("master").dependencies.isEmpty()
    
            and:
            resolveArtifacts(webModule) { expectFiles "projectWeb-1.9.war" }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. maven-core/src/test/resources/projects/transform/after.pom

          <plugin>
            <artifactId>maven-ear-plugin</artifactId>
            <configuration>
              <modules>
                <webModule>
                  <groupId>artifactGroupId</groupId>
                  <artifactId>artifactId</artifactId>
                  <excluded>true</excluded>
                </webModule>
              </modules>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <profiles>
        <profile>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 07:51:37 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/projects/transform/before.pom

            <artifactId>maven-ear-plugin</artifactId>
            <configuration>
              <modules>
                <webModule>
                  <groupId>artifactGroupId</groupId>
                  <artifactId>artifactId</artifactId>
                  <excluded>true</excluded>
                </webModule>
              </modules>
            </configuration>
          </plugin>
        </plugins>
      </build>
    
      <profiles>
        <profile>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 07:51:37 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/ear/earCustomized/kotlin/ear/build.gradle.kts

    //      libraryDirectory = "APP-INF/lib"  // not needed, above libDirName setting does this
    //      module("my.jar", "java")  // won't deploy as my.jar isn't deploy dependency
    //      webModule("my.war", "/")  // won't deploy as my.war isn't deploy dependency
            securityRole("admin")
            securityRole("superadmin")
            withXml { // add a custom node to the XML
                asElement().apply {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/ear/earCustomized/groovy/ear/build.gradle

    //      libraryDirectory = "APP-INF/lib"  // not needed, above libDirName setting does this
    //      module("my.jar", "java")  // won't deploy as my.jar isn't deploy dependency
    //      webModule("my.war", "/")  // won't deploy as my.war isn't deploy dependency
            securityRole "admin"
            securityRole "superadmin"
            withXml { provider -> // add a custom node to the XML
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/EarTest.groovy

                initializeInOrder = true
                displayName = "My App"
                description = "My Application"
                libraryDirectory = "APP-INF/lib"
                module("my.jar", "java")
                webModule("my.war", "/")
                securityRole "admin"
                securityRole({ role ->
                    role.roleName = "superadmin"
                    role.description = "Super Admin Role"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 19:58:25 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/descriptor/internal/DefaultDeploymentDescriptorTest.groovy

            descriptor.displayName = "My App"
            descriptor.description = "My Application"
            descriptor.libraryDirectory = "APP-INF/lib"
            descriptor.module("my.jar", "java")
            descriptor.webModule("my.war", "/")
            descriptor.securityRole "admin"
            descriptor.securityRole({ role ->
                role.roleName = "superadmin"
                role.description = "Role of super admin"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 19 22:06:51 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  8. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/descriptor/DeploymentDescriptor.java

         * @param path
         *            The path of the module to add.
         * @param contextRoot
         *            The context root type of the web module.
         * @return this.
         */
        DeploymentDescriptor webModule(String path, String contextRoot);
    
        /**
         * List of security roles. Optional. Non-null and order-maintaining by default.
         */
        Set<EarSecurityRole> getSecurityRoles();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 19 22:06:51 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/descriptor/internal/DefaultDeploymentDescriptor.java

        @Override
        public DefaultDeploymentDescriptor module(String path, String type) {
            return module(new DefaultEarModule(path), type);
        }
    
        @Override
        public DefaultDeploymentDescriptor webModule(String path, String contextRoot) {
            modules.add(new DefaultEarWebModule(path, contextRoot));
            moduleTypeMappings.put(path, "web");
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 19 22:06:51 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  10. platforms/jvm/ear/src/integTest/groovy/org/gradle/plugins/ear/EarPluginIntegrationTest.groovy

    apply plugin: 'ear'
    apply plugin: 'war'
    
    dependencies {
        deploy files(tasks.war)
    }
    
    ear {
        deploymentDescriptor {
            applicationName = "OurAppName"
            webModule("root.war", "anywhere")
        }
    }
    
    """
            when:
            run 'assemble'
            and:
            file("build/libs/root.ear").unzipTo(file("unzipped"))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 17.2K bytes
    - Viewed (0)
Back to top