Why I still love Maven

| | bookmark | email
Being it maven or maven2 I continue to love it:
[INFO] Using default encoding to copy filtered resources.
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugins/4/maven-plugins-4.pom
[WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugins/4/maven-plugins-4.jar
[WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.maven:maven-plugins:jar:4

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.maven -DartifactId=maven-plugins \
          -Dversion=4 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.maven:maven-surefire-plugin:maven-plugin:2.3-SNAPSHOT
        2) org.apache.maven:maven-plugins:jar:4

----------
1 required artifact is missing.

for artifact:
  org.apache.maven:maven-surefire-plugin:maven-plugin:2.3-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  central (http://repo1.maven.org/maven2)
Isn't it sweet?