安装完maven之后第一次构件报错

解压apache-maven-3.0.5-bin.zip 压缩包,配置好M2_HOME和path之后,我写了一个简单地pom.xml和helloworld,

但是,执行mvn clean complile 时,报错:

E:\NA52QXHQ\software\maven\demo\hello-world>mvn clean complile

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Maven Hello World Project 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 0.123s

[INFO] Finished at: Fri Jun 21 14:33:22 CST 2013

[INFO] Final Memory: 1M/15M

[INFO] ------------------------------------------------------------------------

[ERROR] Unknown lifecycle phase "complile". You must specify a valid lifecycle phase or a goal in the format <plugin-pre

fix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validat

e, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, gener

ate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-clas

ses, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, dep

loy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException

E:\NA52QXHQ\software\maven\demo\hello-world>

E:\NA52QXHQ\software\maven\demo\hello-world>

 

根据他的错误信息,应该是maven不认识"complile",或者说maven还没有安装"complile"插件。

 

于是我执行mvn install

E:\NA52QXHQ\software\maven\demo\hello-world>mvn install

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Maven Hello World Project 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plu

gin-2.5.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plug

in-2.5.pom (7 KB at 4.4 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/19/maven-plugins-19.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/19/maven-plugins-19.pom (11 KB at

 12.4 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/19/maven-parent-19.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/19/maven-parent-19.pom (25 KB at 6.7 KB/se

c)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plu

gin-2.5.jar

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plug

in-2.5.jar (26 KB at 10.2 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plu

gin-2.3.2.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plug

in-2.3.2.pom (8 KB at 6.7 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom (0 B at 0

.0 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom (0 B at 0.0 KB/sec)

 

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plu

gin-2.3.2.jar

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plug

in-2.3.2.jar (29 KB at 19.4 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plug

in-2.10.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plugi

n-2.10.pom (11 KB at 7.3 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.10/surefire-2.10.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.10/surefire-2.10.pom (12 KB at 8.5

KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/20/maven-parent-20.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/20/maven-parent-20.pom (0 B at 0.0 KB/sec)

 

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plug

in-2.10.jar

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plugi

n-2.10.jar (30 KB at 17.5 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.2/maven-jar-plugin-2.3.2.

pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.2/maven-jar-plugin-2.3.2.p

om (6 KB at 10.3 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/21/maven-plugins-21.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/21/maven-plugins-21.pom (0 B at 0

.0 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.2/maven-jar-plugin-2.3.2.

jar

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.2/maven-jar-plugin-2.3.2.j

ar (32 KB at 22.9 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugi

n-2.3.1.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin

-2.3.1.pom (0 B at 0.0 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugi

n-2.3.1.jar

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin

-2.3.1.jar (0 B at 0.0 KB/sec)

[INFO]

[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ hello-world2 ---

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.pom (4 KB at 5

.2 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0.6/plexus-2.0.6.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0.6/plexus-2.0.6.pom (17 KB at 16.5 KB/sec)

 

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/1.0/maven-filtering-1.0.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/1.0/maven-filtering-1.0.pom (6 K

B at 9.0 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/16/maven-shared-compone

nts-16.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/16/maven-shared-componen

ts-16.pom (9 KB at 14.2 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/1.0/maven-filtering-1.0.jar

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/1.0/maven-filtering-1.0.jar (42

KB at 14.5 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar (218 KB at

 38.5 KB/sec)

[debug] execute contextualize

[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!

[INFO] skip non existing resourceDirectory E:\NA52QXHQ\software\maven\demo\hello-world\src\main\resources

[INFO]

[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ hello-world2 ---

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/1.0/maven-toolchain-1.0.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/1.0/maven-toolchain-1.0.pom (4 KB at 5.

5 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.8.1/plexus-compiler-api-1.8.1

.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.8.1/plexus-compiler-api-1.8.1.

pom (805 B at 1.3 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/1.8.1/plexus-compiler-1.8.1.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/1.8.1/plexus-compiler-1.8.1.pom (4 K

B at 6.0 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.18/plexus-components-1.1.18.p

om

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.18/plexus-components-1.1.18.po

m (6 KB at 9.0 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0.7/plexus-2.0.7.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0.7/plexus-2.0.7.pom (17 KB at 28.7 KB/sec)

 

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.5/plexus-utils-1.5.5.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.5/plexus-utils-1.5.5.pom (6 KB at 8

.4 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.8.1/plexus-compiler-manag

er-1.8.1.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.8.1/plexus-compiler-manage

r-1.8.1.pom (713 B at 1.2 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.8.1/plexus-compiler-javac-1

.8.1.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.8.1/plexus-compiler-javac-1.

8.1.pom (710 B at 0.8 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/1.8.1/plexus-compilers-1.8.1.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/1.8.1/plexus-compilers-1.8.1.pom (2

 KB at 2.0 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.8.1/plexus-compiler-api-1.8.1

.jar

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.8.1/plexus-compiler-manag

er-1.8.1.jar

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.8.1/plexus-compiler-javac-1

.8.1.jar

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.8.1/plexus-compiler-api-1.8.1.

jar (20 KB at 22.1 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.8.1/plexus-compiler-manage

r-1.8.1.jar (6 KB at 5.8 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.8.1/plexus-compiler-javac-1.

8.1.jar (13 KB at 8.4 KB/sec)

[WARNING] File encoding has not been set, using platform encoding GBK, i.e. build is platform dependent!

[INFO] Compiling 1 source file to E:\NA52QXHQ\software\maven\demo\hello-world\target\classes

[INFO]

[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ hello-world2 ---

[debug] execute contextualize

[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!

[INFO] skip non existing resourceDirectory E:\NA52QXHQ\software\maven\demo\hello-world\src\test\resources

[INFO]

[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ hello-world2 ---

[INFO] No sources to compile

[INFO]

[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ hello-world2 ---

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.9/maven-plugin-api-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.9/maven-plugin-api-2.0.9.pom (2 KB

 at 2.4 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven/2.0.9/maven-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven/2.0.9/maven-2.0.9.pom (19 KB at 20.5 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/8/maven-parent-8.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/8/maven-parent-8.pom (24 KB at 27.1 KB/sec

)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.10/surefire-booter-2.10.pom

 

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.10/surefire-booter-2.10.pom

(3 KB at 3.8 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.10/surefire-api-2.10.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.10/surefire-api-2.10.pom (3 KB

at 3.7 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.10/maven-surefire-com

mon-2.10.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.10/maven-surefire-comm

on-2.10.pom (4 KB at 6.5 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/2.1/plexus-utils-2.1.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/2.1/plexus-utils-2.1.pom (4 KB at 6.9 K

B/sec)

Downloading: http://repo.maven.apache.org/maven2/org/sonatype/spice/spice-parent/16/spice-parent-16.pom

Downloaded: http://repo.maven.apache.org/maven2/org/sonatype/spice/spice-parent/16/spice-parent-16.pom (9 KB at 14.0 KB/

sec)

Downloading: http://repo.maven.apache.org/maven2/org/sonatype/forge/forge-parent/5/forge-parent-5.pom

Downloaded: http://repo.maven.apache.org/maven2/org/sonatype/forge/forge-parent/5/forge-parent-5.pom (9 KB at 13.6 KB/se

c)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.9/maven-artifact-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact/2.0.9/maven-artifact-2.0.9.pom (2 KB at

2.6 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.9/maven-project-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.0.9/maven-project-2.0.9.pom (3 KB at 4.

3 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-settings/2.0.9/maven-settings-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-settings/2.0.9/maven-settings-2.0.9.pom (3 KB at

3.4 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.9/maven-model-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.0.9/maven-model-2.0.9.pom (4 KB at 5.1 KB

/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.9/maven-profile-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.0.9/maven-profile-2.0.9.pom (3 KB at 2.

9 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.9/maven-artifact-manager-2.

0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-artifact-manager/2.0.9/maven-artifact-manager-2.0

.9.pom (3 KB at 4.3 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.9/maven-repository-metad

ata-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-repository-metadata/2.0.9/maven-repository-metada

ta-2.0.9.pom (2 KB at 3.2 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-registry/2.0.9/maven-plugin-registry-2.0.

9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-registry/2.0.9/maven-plugin-registry-2.0.9

.pom (2 KB at 3.3 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-core/2.0.9/maven-core-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-core/2.0.9/maven-core-2.0.9.pom (8 KB at 10.3 KB/

sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.0.9/maven-plugin-p

arameter-documenter-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.0.9/maven-plugin-pa

rameter-documenter-2.0.9.pom (2 KB at 3.0 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-ap

i-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api

-2.0.9.pom (2 KB at 2.8 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.9/maven-reporting-2.0.9.

pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.9/maven-reporting-2.0.9.p

om (2 KB at 2.4 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-error-diagnostics/2.0.9/maven-error-diagnostics-

2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-error-diagnostics/2.0.9/maven-error-diagnostics-2

.0.9.pom (2 KB at 2.8 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-descriptor/2.0.9/maven-plugin-descriptor-

2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-descriptor/2.0.9/maven-plugin-descriptor-2

.0.9.pom (3 KB at 3.3 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-monitor/2.0.9/maven-monitor-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-monitor/2.0.9/maven-monitor-2.0.9.pom (2 KB at 2.

1 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.0.9/maven-toolchain-2.0.9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.0.9/maven-toolchain-2.0.9.pom (4 KB a

t 5.7 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-

artifact-filters-1.3.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-a

rtifact-filters-1.3.pom (4 KB at 6.2 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/12/maven-shared-compone

nts-12.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/12/maven-shared-componen

ts-12.pom (10 KB at 16.4 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-Container-default/1.0-alpha-9/plexus-contain

er-default-1.0-alpha-9.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-containe

r-default-1.0-alpha-9.pom (2 KB at 2.1 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.10/surefire-api-2.10.jar

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-

artifact-filters-1.3.jar

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/2.1/plexus-utils-2.1.jar

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.10/surefire-booter-2.10.jar

 

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.10/maven-surefire-com

mon-2.10.jar

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-api/2.10/surefire-api-2.10.jar (158 K

B at 88.9 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-ap

i-2.0.9.jar

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-a

rtifact-filters-1.3.jar (31 KB at 12.9 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api

-2.0.9.jar (10 KB at 17.0 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-booter/2.10/surefire-booter-2.10.jar

(34 KB at 13.0 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.10/maven-surefire-comm

on-2.10.jar (60 KB at 20.5 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/2.1/plexus-utils-2.1.jar (220 KB at 25.

5 KB/sec)

[INFO] No tests to run.

[INFO] Surefire report directory: E:\NA52QXHQ\software\maven\demo\hello-world\target\surefire-reports

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit3/2.10/surefire-junit3-2.10.pom

 

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit3/2.10/surefire-junit3-2.10.pom

(2 KB at 2.8 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-providers/2.10/surefire-providers-2.

10.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-providers/2.10/surefire-providers-2.1

0.pom (3 KB at 3.7 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit3/2.10/surefire-junit3-2.10.jar

 

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit3/2.10/surefire-junit3-2.10.jar

(26 KB at 28.1 KB/sec)

 

-------------------------------------------------------

 T E S T S

-------------------------------------------------------

 

Results :

 

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

 

[INFO]

[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ hello-world2 ---

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-archiver/2.4.2/maven-archiver-2.4.2.pom

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-archiver/2.4.2/maven-archiver-2.4.2.pom (4 KB at

6.6 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/2.0.1/plexus-archiver-2.0.1.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/2.0.1/plexus-archiver-2.0.1.pom (3 K

B at 4.7 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/sonatype/spice/spice-parent/17/spice-parent-17.pom

Downloaded: http://repo.maven.apache.org/maven2/org/sonatype/spice/spice-parent/17/spice-parent-17.pom (7 KB at 10.9 KB/

sec)

Downloading: http://repo.maven.apache.org/maven2/org/sonatype/forge/forge-parent/10/forge-parent-10.pom

Downloaded: http://repo.maven.apache.org/maven2/org/sonatype/forge/forge-parent/10/forge-parent-10.pom (14 KB at 21.4 KB

/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.pom (4 KB at 6.8 K

B/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.0.1/plexus-io-2.0.1.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.0.1/plexus-io-2.0.1.pom (2 KB at 2.9 KB/

sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.19/plexus-components-1.1.19.p

om

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.19/plexus-components-1.1.19.po

m (3 KB at 4.5 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/3.0.1/plexus-3.0.1.pom

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/3.0.1/plexus-3.0.1.pom (19 KB at 20.1 KB/sec)

 

Downloading: http://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.pom

Downloaded: http://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.pom (10 KB at 16.4 KB/sec

)

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-archiver/2.4.2/maven-archiver-2.4.2.jar

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.0.1/plexus-io-2.0.1.jar

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/2.0.1/plexus-archiver-2.0.1.jar

Downloading: http://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.jar

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.0.1/plexus-io-2.0.1.jar (57 KB at 42.0 K

B/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-archiver/2.4.2/maven-archiver-2.4.2.jar (20 KB at

 9.5 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/2.0.1/plexus-archiver-2.0.1.jar (176

 KB at 31.8 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar (221 KB at 33.

6 KB/sec)

Downloaded: http://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.jar (203 KB at 23.9 KB/se

c)

[INFO] Building jar: E:\NA52QXHQ\software\maven\demo\hello-world\target\hello-world2-1.0-SNAPSHOT.jar

[INFO]

[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ hello-world2 ---

[INFO] Installing E:\NA52QXHQ\software\maven\demo\hello-world\target\hello-world2-1.0-SNAPSHOT.jar to C:\Users\huangwei\

.m2\repository\com\juvenxu\mvnbook\hello-world2\1.0-SNAPSHOT\hello-world2-1.0-SNAPSHOT.jar

[INFO] Installing E:\NA52QXHQ\software\maven\demo\hello-world\pom.xml to C:\Users\huangwei\.m2\repository\com\juvenxu\mv

nbook\hello-world2\1.0-SNAPSHOT\hello-world2-1.0-SNAPSHOT.pom

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1:23.944s

[INFO] Finished at: Fri Jun 21 14:36:41 CST 2013

[INFO] Final Memory: 7M/17M

[INFO] ------------------------------------------------------------------------

E:\NA52QXHQ\software\maven\demo\hello-world>

 

 

然后再执行mvn compiler:compile

E:\NA52QXHQ\software\maven\demo\hello-world>mvn compiler:compile

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Maven Hello World Project 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-compiler-plugin:2.3.2:compile (default-cli) @ hello-world2 ---

[WARNING] File encoding has not been set, using platform encoding GBK, i.e. build is platform dependent!

[INFO] Compiling 1 source file to E:\NA52QXHQ\software\maven\demo\hello-world\target\classes

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1.102s

[INFO] Finished at: Fri Jun 21 14:49:17 CST 2013

[INFO] Final Memory: 5M/15M

[INFO] ------------------------------------------------------------------------

E:\NA52QXHQ\software\maven\demo\hello-world>

 

时间: 2016-05-10

安装完maven之后第一次构件报错的相关文章

使用install:file命令安装第三方jar到maven本地仓库,报错no pom

问题描述 使用install:file命令安装第三方jar到maven本地仓库,报错no pom 问题补充: 项目中要用到一个分词的jar包.于是我在晚上下了一个,本来是这样IK Analyzer 2012FF_hf1.jar, 为了符合maven install命令的规范,我随意加了一个版本号变为这样IK Analyzer 2012FF_1.0.1.然后切换到jar包所在文件夹,执行如图命令,爆出如图错误.查了百度,有说缺少pom.xml文件的,难道随便一个jar包安装到本地仓库,都要手写po

oracle11g-linux安装oracle11 rac集群,报错,请专家帮忙解释下是哪里问题,感谢

问题描述 linux安装oracle11 rac集群,报错,请专家帮忙解释下是哪里问题,感谢 解决方案 图太小,看不清,建议参考:http://blog.chinaunix.net/uid-14779297-id-1988248.html 解决方案二: http://wenku.baidu.com/link?url=DpFOy89l9FBzJo0qul70p81mRk9vXwjlNNgISVaKRSSyPKGy9Yoq389lRVG9sXLeRaWl7j71IGIhRnYt9SJlOKtpT22

安装jpeg.tar.gz的时候报错

make: Nothing to be done for `unix';./libtool: Command not found make: *** [jcapimin.lo] Error 127问题 安装jpeg.tar.gz的时候报错 [root@localhost src]# make ./libtool --mode=compile gcc -O2  -I. -c ./jcapimin.c make: ./libtool: Command not found make: *** [jca

android adb-mac下用Android adb命令安装apk文件到真机报错

问题描述 mac下用Android adb命令安装apk文件到真机报错 MacdeMacBook-Pro:~ mac$ adb devices List of devices attached 0021e8d2e115e57a device MacdeMacBook-Pro:~ mac$ adb install -r ~/downloads/app-release.apk failed to copy '/Users/mac/downloads/app-release.apk' to '/dat

vb6 0-用VB6.0开发的软件,安装完后,运行QQ时报错

问题描述 用VB6.0开发的软件,安装完后,运行QQ时报错 公司用VB6.0开发的软件,给客户安装完后,部分电脑上会出现各式各样的错误,有的会提示iertutil.dll错误,有的会提示"无法定位程序输入点memcpy_s于动态链接库+msvcrt.dll",太纠结了...有的人说是QQ2013搞的鬼,都不清楚具体的解决办法.求大神解答!!!小弟不胜感激!!! 解决方案 iertutil.dll 是系统文件,出现丢失一般由于中毒,木马,或者360之类的删掉了, msvcrt.dll是个

修改jre后 maven的pom就报错

问题描述 修改jre后 maven的pom就报错 请教各位高手问题是:SVN上拉下来一个项目,本来没问题,但是在build path里把jre从1.5改成1.6后,maven的pom文件就报错,所有依赖的jar包都找不到了(jar包我本地仓库里都有,也排除了lastUpdated的问题),不知道怎么办,求大神帮忙备注:IDE:eclipse 解决方案 忘了说了,在项目的Library里的maven dependencies里面,那些jar包都在......................

git-关于版本的问题,如maven的pom.xml报错,你如果判断是版本问题导致的。

问题描述 关于版本的问题,如maven的pom.xml报错,你如果判断是版本问题导致的. 1:我觉得版本就是类似于svn和cvs,git那种版本记录的工具,可以记录每次项目的代码更改,但是今天我遇到一个问题,我的项目报错,我居然想不到是可能是版本导致的,是不是我对版本的理解还有待提高. 解决方案 算你运气好,我手里面的项目 都是 maven 管理.如果 pom 报错,首先你要看 是哪里报错, 一般的 IDE 都会有提示 信息的. 关于版本问题,给你个建议,把所有的版本都放 到一个 parent

IdeaPad Y400&amp;Y500 安装Windows XP过程中蓝屏报错0X000000A5或自动断电黑屏

  故障现象: IdeaPad Y400 Y500 安装windows XP 中会出现蓝屏报错0X000000A5报错,或者安装过程中黑屏,断电等问题,安装Windows 7.Windows 8正常. 原因分析: 需要在安装过程中按F7关闭XP的ACPI功能.因为XP系统较老, XP的ACPI不支持BIOS中的一些特殊功能. 解决方案: 1. 将[BIOS]-[configuration]-[sata controller mode]修改为[compatible],修改硬盘兼容模式. 2. 通过

在mac osx10.6下安装mysql后,启动总是报错ERROR 2002 (HY000): Can&amp;#039;t connect to local MySQL ser

问题描述 要在mac10.6下安装mysql以便rails开发,装了两天都没有成功.之前没用过mac或linux开发,一直用windows,所以希望高手们能指点一下.我在安装时参考了以下文章:http://beike.iteye.com/blog/617341http://hqman.iteye.com/blog/258979下面是我的安装过程及错误:安装和初始化mysqlport search mysqlsudo port install mysql5-server解决方案二: 解决方案三: