Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for systemPath (0.09 sec)

  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>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (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>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (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>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (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 (systemPath == null || systemPath.isEmpty()) {
                    addViolation(
                            problems,
                            Severity.ERROR,
                            Version.BASE,
                            prefix + "systemPath",
                            d.getManagementKey(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

                    "'dependencies.dependency.scope' for test:a:jar declares usage of deprecated 'system' scope");
            assertContains(
                    result.getWarnings().get(1),
                    "'dependencies.dependency.systemPath' for test:a:jar should use a variable instead of a hard-coded path");
            assertContains(
                    result.getWarnings().get(2),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            File basedir = new File("/test/path");
            Model model = Model.newBuilder()
                    .dependencies(Collections.singletonList(Dependency.newBuilder()
                            .systemPath("${basedir}/artifact.jar")
                            .build()))
                    .build();
    
            ModelInterpolator interpolator = createInterpolator();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. 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>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top