- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 184 for baseDir (0.04 sec)
-
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
public File getFile() { return file; } public void setFile(File file) { this.file = file; this.basedir = file != null ? file.getParentFile() : null; } /** * Sets project {@code file} without changing project {@code basedir}. * * @since 3.2.4 */ public void setPomFile(File file) { this.file = file; } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Aug 29 12:47:20 UTC 2025 - 67K bytes - Viewed (0) -
impl/maven-core/lifecycle-executor.txt
<remoteArtifactRepositories implementation="java.util.List">${project.remoteArtifactRepositories}</remoteArtifactRepositories> <appendedResourcesDirectory implementation="java.io.File">${basedir}/src/main/appended-resources</appendedResourcesDirectory> <excludeScope implementation="java.lang.String" default-value="">${excludeScope}</excludeScope>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
new AbstractValueSource(false) { @Override public Object getValue(String expression) { if (projectDir != null && "basedir".equals(expression)) { return projectDir.getAbsolutePath(); } return null; } },
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 13.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
"should use a variable instead of a hard-coded path " + sysPath, dependency); } else if (sysPath.contains("${basedir}") || sysPath.contains("${project.basedir}")) { addViolation( problems, Severity.WARNING, Version.V20,
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 03 15:06:05 UTC 2025 - 66.8K bytes - Viewed (0) -
apache-maven/src/assembly/maven/bin/mvn.cmd
:checkMCmd if not exist "%MAVEN_HOME%\bin\mvn.cmd" goto error @REM ==== END VALIDATION ==== :init set "CLASSWORLDS_CONF=%MAVEN_HOME%\bin\m2.conf" @REM Find the project basedir, i.e., the directory that contains the directory ".mvn". @REM Fallback to current working directory if not found. set "EXEC_DIR=%CD%" set "WDIR=%EXEC_DIR%"
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 10 16:40:06 UTC 2025 - 10.7K bytes - Viewed (3) -
impl/maven-core/src/site/apt/offline-mode.apt
** Maven-Artifact This is wholly dependent on Maven-Wagon, above. We could possibly use a flag on a particular Wagon to see whether it supports offline mode, and then test to see if the file-based basedir for an artifact repository works...if it doesn't work, we can mark that repository offline... OTOH, all offline-mode checks can probably be run from Wagon-based APIs. ** Maven-SCM
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 10.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
// Base directory /** * @deprecated use {@link #setTopDirectory(Path)} instead */ @Deprecated MavenExecutionRequest setBaseDirectory(File basedir); /** * @deprecated use {@link #getTopDirectory()} instead */ @Deprecated String getBaseDirectory(); // Timing (remove this) @DeprecatedRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Dec 12 11:02:17 UTC 2024 - 18.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
} @Test void testBasedirExtractionWithMissingProject() throws Exception { ExpressionEvaluator ee = createExpressionEvaluator(null, null, new Properties()); Object value = ee.evaluate("${basedir}"); assertEquals(System.getProperty("user.dir"), value); } @Test void testValueExtractionFromSystemPropertiesWithMissingProject() throws Exception {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* meaning that the {@link #getRootDirectory()} and {@link #getBasedir()} * points to the same directory, and that either {@link Model#isRoot()} * is {@code true} or that {@code basedir} contains a {@code .mvn} child * directory. * * @return {@code true} if the project is the root project * @see Model#isRoot() */ boolean isRootProject(); /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 15.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
throw new ExitException(1); } File basedir = new File(basedirProperty); try { cliRequest.multiModuleProjectDirectory = basedir.getCanonicalFile(); } catch (IOException e) { cliRequest.multiModuleProjectDirectory = basedir.getAbsoluteFile(); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 78.1K bytes - Viewed (0)