Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for mvn (0.14 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

    import org.apache.maven.api.services.model.*;
    
    @Named
    public class DefaultRootLocator implements RootLocator {
    
        public boolean isRootDirectory(Path dir) {
            if (Files.isDirectory(dir.resolve(".mvn"))) {
                return true;
            }
            // we're too early to use the modelProcessor ...
            Path pom = dir.resolve("pom.xml");
            try (InputStream is = Files.newInputStream(pom)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/api/services/model/RootLocator.java

     *
     * The default implementation will look for a {@code .mvn} child directory
     * or a {@code pom.xml} containing the {@code root="true"} attribute.
     */
    public interface RootLocator {
    
        String UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE = "Unable to find the root directory. "
                + "Create a .mvn directory in the root directory or add the root=\"true\""
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java

                    + "      mvn install:install-file -DgroupId=aGroupId -DartifactId=anArtifactId -Dversion=aVersion "
                    + "-Dclassifier=aClassifier -Dpackaging=jar -Dfile=/path/to/file" + LS + LS
                    + "  Alternatively, if you host your own repository you can deploy the file there: " + LS
                    + "      mvn deploy:deploy-file -DgroupId=aGroupId -DartifactId=anArtifactId"
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

    /**
     */
    class DefaultExceptionHandlerTest {
        /**
         * Running Maven under JDK7 may cause connection issues because IPv6 is used by default.
         * <p>
         * e.g running mvn site:run will cause Jetty to fail.
         * </p>
         * <p>
         * The resolution is to add -Djava.net.preferIPv4Stack=true to the command line as documented in
         * http://cwiki.apache.org/confluence/display/MAVEN/ConnectException
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * 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();
    
        /**
         * Gets the root directory of the project, which is the parent directory
         * containing the {@code .mvn} directory or flagged with {@code root="true"}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                    goal = "";
                }
    
                // This is the case where someone has executed a single goal from the command line
                // of the form:
                //
                // mvn remote-resources:process
                //
                // From the metadata stored on the server which has been created as part of a standard
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                sb.append(LS);
                sb.append(indentation);
                sb.append("Then, install it using the command: ");
                sb.append(LS);
                sb.append(indentation);
                sb.append("    mvn install:install-file -DgroupId=");
                sb.append(groupId);
                sb.append(" -DartifactId=");
                sb.append(artifactId);
                sb.append(" -Dversion=");
                sb.append(version);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.1K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

        @Test
        void testCalculationOfBuildPlanWithIndividualTaskWherePluginIsSpecifiedInThePom() throws Exception {
            // We are doing something like "mvn resources:resources" where no version is specified but this
            // project we are working on has the version specified in the POM so the version should come from there.
            File pom = getProject("project-basic");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                        LOGGER.warn(
                                "File '{}' is more recent than the packaged artifact for '{}', "
                                        + "please run a full `mvn package` build",
                                relativizeOutputFile(outputFile),
                                project.getArtifactId());
                        return true;
                    }
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

                        ? project.getGroupId() + ":" + project.getArtifactId()
                        : project.getArtifactId();
                currentThread.setName("mvn-builder-" + threadNameSuffix);
    
                try {
                    // muxer.associateThreadWithProjectSegment( projectBuild );
                    lifecycleModuleBuilder.buildProject(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 9.4K bytes
    - Viewed (0)
Back to top