Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for systemPath (0.07 seconds)

  1. compat/maven-model-builder/src/test/resources/poms/validation/basedir-system-path.xml

          <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>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/resources/poms/validation/hard-coded-system-path.xml

          <version>0.2</version>
          <scope>system</scope>
          <systemPath>should-use-variables-and-not-hard-code-this-path</systemPath>
        </dependency>
        <dependency>
          <groupId>test</groupId>
          <artifactId>b</artifactId>
          <version>0.1</version>
          <scope>system</scope>
          <systemPath>${java.home}/lib/good.jar</systemPath>
        </dependency>
      </dependencies>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                return addDependency(groupId, artifactId, version, scope, systemPath, null);
            }
    
            public ProjectBuilder addDependency(
                    String groupId,
                    String artifactId,
                    String version,
                    String scope,
                    String systemPath,
                    Exclusion exclusion) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/projects/project-dependencies-resolver/it0063/pom.xml

      <dependencies>
        <dependency>
          <groupId>com.sun</groupId>
          <artifactId>tools</artifactId>
          <version>1.4.2</version>
          <scope>system</scope>
          <systemPath>${jre.home}/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.its.plugins</groupId>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            }
    
            if ("system".equals(d.getScope())) {
                String systemPath = d.getSystemPath();
    
                if (StringUtils.isEmpty(systemPath)) {
                    addViolation(
                            problems,
                            Severity.ERROR,
                            Version.BASE,
                            prefix + "systemPath",
                            d.getManagementKey(),
                            "is missing.",
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            Model model = new Model(org.apache.maven.api.model.Model.newBuilder()
                    .dependencies(Collections.singletonList(org.apache.maven.api.model.Dependency.newBuilder()
                            .systemPath("${basedir}/artifact.jar")
                            .build()))
                    .build());
    
            ModelInterpolator interpolator = createInterpolator();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                    org = dependency.getScope();
                    val = interpolate(org);
                    if (org != val) {
                        dependency.setScope(val);
                    }
                    // SystemPath
                    org = dependency.getSystemPath();
                    val = interpolate(org);
                    if (org != val) {
                        dependency.setSystemPath(val);
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertContains(
                    result.getWarnings().get(0),
                    "'dependencies.dependency.systemPath' for test:a:jar should not point at files within the project directory");
            assertContains(
                    result.getWarnings().get(1),
                    "'dependencies.dependency.systemPath' for test:b:jar should not point at files within the project directory");
    
            SimpleProblemCollector result31 =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  9. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

            if (src != null) {
                if (sourceDominant || target.getSystemPath() == null) {
                    target.setSystemPath(src);
                    target.setLocation("systemPath", source.getLocation("systemPath"));
                }
            }
        }
    
        protected void mergeDependency_Optional(
                Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

                | TODO: how can we document it?
                |-->
              <!-- defaultValue>compile</defaultValue -->
            </field>
            <field>
              <name>systemPath</name>
              <version>4.0.0+</version>
              <description>
                <![CDATA[
                FOR SYSTEM SCOPE ONLY. Note that use of this property is <b>discouraged</b>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 17 09:48:21 GMT 2026
    - 133.5K bytes
    - Click Count (0)
Back to Top