Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for m2_home (0.22 sec)

  1. .teamcity/mvnw

        fi
      done
    
      saveddir=`pwd`
    
      M2_HOME=`dirname "$PRG"`/..
    
      # make it fully qualified
      M2_HOME=`cd "$M2_HOME" && pwd`
    
      cd "$saveddir"
      # echo Using m2 at $M2_HOME
    fi
    
    # For Cygwin, ensure paths are in UNIX format before anything is touched
    if $cygwin ; then
      [ -n "$M2_HOME" ] &&
        M2_HOME=`cygpath --unix "$M2_HOME"`
      [ -n "$JAVA_HOME" ] &&
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/M2Installation.groovy

                globalMavenDirectory = userHomeDir.createDir("m2_home")
                globalSettingsFile = globalMavenDirectory.file("conf/settings.xml")
                println "M2 home: " + userHomeDir
    
                initialized = true
            }
        }
    
        void assertNoLeftoverState() {
            assert System.getenv("M2_HOME") == null
            assert System.getProperty("maven.repo.local") == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/util/internal/MavenUtil.java

        }
    
        @Nullable
        public static File getGlobalMavenDir() {
            String m2Home = System.getenv("M2_HOME");
            if (m2Home == null) {
                return null;
            }
            return new File(m2Home);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 24 10:34:35 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.pom

              <systemProperties>
                <property>
                  <name>JAVA_HOME</name>
                  <value>${JAVA_HOME}</value>
                </property>
                <property>
                  <name>M2_HOME</name>
                  <value>${M2_HOME}</value>
                </property>
              </systemProperties>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <scm>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.pom

              <systemProperties>
                <property>
                  <name>JAVA_HOME</name>
                  <value>${JAVA_HOME}</value>
                </property>
                <property>
                  <name>M2_HOME</name>
                  <value>${M2_HOME}</value>
                </property>
              </systemProperties>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <scm>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Nov 09 12:45:14 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenInstallation.groovy

            home.isDirectory() && mvn.isFile()
        }
    
        static String probeVersion(File home) {
            def mvn = findMvnExecutable(home)
            def env = System.getenv().findAll { it.key != "M2" && it.key != "M2_HOME" }.collect { "${it.key}=${it.value}" }
            env += "JAVA_HOME=${System.getProperty("java.home")}"
            def process = [mvn.absolutePath, "--version"].execute(env, home)
            def exitValue = process.waitFor()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/RepositoryHandler.java

         * <li>The value of element &lt;localRepository&gt; of <code>~/.m2/settings.xml</code> if this file exists and element is set;</li>
         * <li>The value of element &lt;localRepository&gt; of <code>$M2_HOME/conf/settings.xml</code> (where <code>$M2_HOME</code> is the value of the environment variable with that name) if this file exists and element is set;</li>
         * <li>The path <code>~/.m2/repository</code>.</li>
         * </ol>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 03:42:11 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenHttpRepoResolveIntegrationTest.groovy

            projectB.artifact.expectGet()
    
            and:
            executer.withEnvironmentVars(M2_HOME: m2Home.absolutePath)
            run 'retrieve'
    
            then:
            file('libs').assertHasDescendants('projectA-1.0.jar', 'projectB-1.0.jar')
            def snapshot = file('libs/projectA-1.0.jar').snapshot()
    
            when:
            server.resetExpectations()
            and:
            run 'retrieve'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  9. .teamcity/mvnw.cmd

    @REM ----------------------------------------------------------------------------
    @REM Maven Start Up Batch script
    @REM
    @REM Required ENV vars:
    @REM JAVA_HOME - location of a JDK home dir
    @REM
    @REM Optional ENV vars
    @REM M2_HOME - location of maven2's installed home dir
    @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
    @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    ../pom/pom.xml 4.0.0 plexus-utils Plexus Common Utilities 1.4.5 http://plexus.codehaus.org/plexus-utils maven-compiler-plugin 1.3 1.3 maven-surefire-plugin true org/codehaus/plexus/util/FileBasedTestCase.java **/Test*.java JAVA_HOME ${JAVA_HOME} M2_HOME ${M2_HOME} scm:svn:http://svn.codehaus.org/plexus/plexus-utils/tags/plexus-utils-1.4.5 scm:svn:https://svn.codehaus.org/plexus/plexus-utils/tags/plexus-utils-1.4.5 http://fisheye.codehaus.org/browse/plexus/plexus-utils/tags/plexus-utils-1.4.5 maven-javadoc-plugin...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 200.2K bytes
    - Viewed (0)
Back to top