If I am inside myBlock1
and i do a mvn jetty:run
I get the error pasted below:
what does it mean? why should i download files manually?
--------------------
Missing:
----------
1) org.mortbay.jetty:jetty-util:jar:2.4.1
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-util -Dversion=
2.4.1 -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-util -Dversion=
2.4.1 -Dpackaging=jar -Dfile=/path/to/f
ile -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.5
2) org.mortbay.jetty:jetty:jar:6.1.5
3) org.mortbay.jetty:jetty-util:jar:2.4.1
2) org.mortbay.jetty:servlet-api-2.5:jar:2.4.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.mortbay.jetty -DartifactId=
servlet-api-2.5 -Dversion=2.4.1 -Dpackaging=jar -Dfile=/pa
th/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.mortbay.jetty -DartifactId=
servlet-api-2.5 -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path
/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.5
2) org.mortbay.jetty:jetty:jar:6.1.5
3) org.mortbay.jetty:servlet-api-2.5:jar:2.4.1
3) org.mortbay.jetty:jsp-api-2.0:jar:2.4.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.mortbay.jetty -DartifactId=
jsp-api-2.0 -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/t
o/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.mortbay.jetty -DartifactId=
jsp-api-2.0 -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/
file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.5
2) org.mortbay.jetty:jsp-2.0:pom:6.1.5
3) org.mortbay.jetty:jsp-api-2.0:jar:2.4.1
----------
3 required artifacts are missing.
for artifact:
org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.5
from the specified remote repositories:
codehaus.org (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.m2.incubator (http://people.apache.org/repo/m2-snapshot-repository/
)