首页 新闻 会员 周边

启动项目NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository

0
[待解决问题]

[INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in your local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - com.sinosoft.ebusiness:wap:war:5.07.01-SNAPSHOT
[INFO] task-segment: [jetty:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing jetty:run
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 84 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.maven:maven-plugin-tools-api:jar:2.0

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-plugin-tools-api -Dversion=2.0 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.maven -DartifactId=maven-plugin-tools-api -Dversion=2.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.26
2) org.apache.maven:maven-plugin-tools-api:jar:2.0

2) org.mortbay.jetty:jetty-plus:jar:6.1.26

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.mortbay.jetty -DartifactId=jetty-plus -Dversion=6.1.26 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.mortbay.jetty -DartifactId=jetty-plus -Dversion=6.1.26 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.26
2) org.mortbay.jetty:jetty-plus:jar:6.1.26

3) org.mortbay.jetty:jetty-naming:jar:6.1.26

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.mortbay.jetty -DartifactId=jetty-naming -Dversion=6.1.26 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.mortbay.jetty -DartifactId=jetty-naming -Dversion=6.1.26 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.26
2) org.mortbay.jetty:jetty-naming:jar:6.1.26

4) org.mortbay.jetty:jetty-management:jar:6.1.26

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.mortbay.jetty -DartifactId=jetty-management -Dversion=6.1.26 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.mortbay.jetty -DartifactId=jetty-management -Dversion=6.1.26 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.26
2) org.mortbay.jetty:jetty-management:jar:6.1.26

5) org.mortbay.jetty:jetty-annotations:jar:6.1.26

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.mortbay.jetty -DartifactId=jetty-annotations -Dversion=6.1.26 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.mortbay.jetty -DartifactId=jetty-annotations -Dversion=6.1.26 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.26
2) org.mortbay.jetty:jetty-annotations:jar:6.1.26

6) org.mortbay.jetty:start:jar:6.1.26

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.mortbay.jetty -DartifactId=start -Dversion=6.1.26 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.mortbay.jetty -DartifactId=start -Dversion=6.1.26 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.26
2) org.mortbay.jetty:start:jar:6.1.26

----------
6 required artifacts are missing.

for artifact:
org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.26

from the specified remote repositories:
alfresco (http://maven.alfresco.com/nexus/content/repositories/activiti),
java.net (http://download.java.net/maven/2/),
codehaus-snapshots (http://snapshots.repository.codehaus.org/),
repository.jboss.org (https://maven.atlassian.com/content/repositories/jboss-releases),
JBOSS (http://repository.jboss.org/maven2),
offical (http://repo1.maven.org/maven2),
central (http://repo1.maven.org/maven2),
nexus (http://9.226.1.20:8081/nexus/content/groups/public),
springside (http://springside.googlecode.com/svn/repository),
codehaus.org (http://snapshots.repository.codehaus.org),
apache.nexus (https://repository.apache.org/content/groups/staging/),
beabuild (http://maven-beabuild-plugin.googlecode.com/svn/maven2/releases)

 

NOTE: Maven is executing in offline mode. Any artifacts not already in your local
repository will be inaccessible.


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Fri May 13 19:05:14 CST 2016
[INFO] Final Memory: 40M/495M
[INFO] ------------------------------------------------------------------------

三哥大龙的主页 三哥大龙 | 初学一级 | 园豆:74
提问于:2016-05-13 19:10
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册