Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for baseUri (0.1 sec)

  1. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/repository-with-basedir-expression.xml

      <repositories>
        <repository>
          <id>repo</id>
          <url>file://${basedir}/target/remote-repo</url>
        </repository>
        <repository>
          <id>repo-project-basedir</id>
          <url>file://${project.basedir}/sdk/maven/repo</url>
        </repository>
        <repository>
          <id>repo-project-baseUri</id>
          <url>${project.baseUri}/sdk/maven/repo</url>
        </repository>
      </repositories>
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

                                if ("baseUri".equals(expression)) {
                                    return projectDir.toAbsolutePath().toUri().toASCIIString();
                                } else if (expression.startsWith("baseUri.")) {
                                    URI baseUri = projectDir.toAbsolutePath().toUri();
                                    return new ObjectBasedValueSource(baseUri)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/site/apt/index.apt

    *----+------+------+
    | <<<project.basedir>>>\
    <<<pom.basedir>>> (<deprecated>)\
    <<<basedir>>> (<deprecated>) | the directory containing the <<<pom.xml>>> file | <<<$\{project.basedir\}>>> |
    *----+------+------+
    | <<<project.baseUri>>>\
    <<<pom.baseUri>>> (<deprecated>) | the directory containing the <<<pom.xml>>> file as URI | <<<$\{project.baseUri\}>>> |
    *----+------+------+
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            assertCollectorState(0, 1, 0, collector);
            assertEquals(
                    "Resolving expression: '${basedir}': Detected the following recursive expression cycle in 'basedir': [basedir]",
                    collector.getErrors().get(0));
        }
    
        @Test
        public void shouldIgnorePropertiesWithPomPrefix() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                    new AbstractValueSource(false) {
    
                        public Object getValue(String expression) {
                            if (projectDir != null && "baseUri".equals(expression)) {
                                return projectDir.getAbsoluteFile().toPath().toUri().toASCIIString();
                            }
                            return null;
                        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    // only allow ${basedir}, ${project.basedir} or ${project.baseUri}
                    Matcher m = EXPRESSION_NAME_PATTERN.matcher(repository.getUrl());
                    while (m.find()) {
                        if (!("basedir".equals(m.group(1))
                                || "project.basedir".equals(m.group(1))
                                || "project.baseUri".equals(m.group(1)))) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/resources/poms/validation/basedir-system-path.xml

          <artifactId>a</artifactId>
          <version>0.2</version>
          <scope>system</scope>
          <systemPath>${basedir}/lib/a.jar</systemPath>
        </dependency>
        <dependency>
          <groupId>test</groupId>
          <artifactId>b</artifactId>
          <version>0.1</version>
          <scope>system</scope>
          <systemPath>${project.basedir}/lib/b.jar</systemPath>
        </dependency>
      </dependencies>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java

         * @param basedir The base directory to resolve relative paths against, may be {@code null}.
         * @param request The model building request that holds further settings, must not be {@code null}.
         * @deprecated Use {@link #alignToBaseDirectory(Model, Path, ModelBuildingRequest)} instead.
         */
        @Deprecated
        void alignToBaseDirectory(Model model, File basedir, ModelBuildingRequest request);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java

         * @param basedir The base directory to resolve relative paths against, may be {@code null}.
         * @return The resolved path or {@code null} if the input path was {@code null}.
         * @deprecated Use {@link #alignToBaseDirectory(String, Path)} instead.
         */
        @Deprecated
        String alignToBaseDirectory(String path, File basedir);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.0.xml

        <resources>
          <resource>
            <directory>${project.basedir}/src/main/resources</directory>
          </resource>
          <resource>
            <directory>${project.basedir}/src/main/resources-filtered</directory>
            <filtering>true</filtering>
          </resource>
        </resources>
        <testResources>
          <testResource>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top