You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Hui Lin Sim <te...@yahoo.com> on 2007/05/17 09:36:13 UTC

help request for unresolved maven and jetty artifacts during jetty set-up

Hi, I have trouble setting up jetty 6.1.3 using Maven
2.0.6. When I run 'mvn clean install' in the top
directory of jetty, I get the following message:

//////////////////////////////////////////////////////////////////////////
D:\jetty-6.1.3>mvn clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Jetty Server Project
[INFO]   Servlet Specification 2.5 API
[INFO]   Jetty Utilities
[INFO]   Jetty Server
[INFO]   Glassfish Jasper API
[INFO]   Glassfish Jasper
[INFO]   JSP 2.0 API dependencies
[INFO]   JSP 2.0 Jasper dependencies
[INFO]   Jetty Management
[INFO]   Jetty start jar
[INFO]   Jetty Naming
[INFO]   Jetty Plus
[INFO]   Servlet Annotations
[INFO]   Maven Jetty Plugin
[INFO]   Maven Jetty JSPC Plugin
[INFO]   Jetty HTML
[INFO]   Jetty Servlet Tester
[INFO]   Jetty XBean
[INFO]   cometd servlet
[INFO]   Jetty Spring
[INFO]   Jetty Grizzly
[INFO]   Jetty SSLEngine
[INFO]   Jetty AJP
[INFO]   Jetty SetUID
[INFO]   Jetty Win32 Service - Java
[INFO]   Jetty Java5 Threadpool
[INFO]   Jetty Test Webapp
[INFO]   Jetty Test JAAS Webapp
[INFO]   Jetty JNDI Test Webapp
[INFO]   Embedded examples
[INFO]   cometd demo
[INFO]   extra tests
Downloading:
http://snapshots.repository.codehaus.org/org/apache/maven/wagon/wag
on-ssh-external/1.0-alpha-6/wagon-ssh-external-1.0-alpha-6.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh-exte
rnal/1.0-alpha-6/wagon-ssh-external-1.0-alpha-6.pom
Downloading:
http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus
-utils/1.1/plexus-utils-1.1.pom
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/
plexus-utils-1.1.pom
Downloading:
http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus
-utils/1.1/plexus-utils-1.1.jar
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/
plexus-utils-1.1.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.codehaus.plexus:plexus-utils:jar:1.1

  Try downloading the file manually from the project
website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.codehaus.plexus -DartifactId=plexus
-utils \
          -Dversion=1.1 -Dpackaging=jar
-Dfile=/path/to/file

  Path to dependency:
        1) org.mortbay.jetty:project:pom:6.1.3
        2) org.codehaus.plexus:plexus-utils:jar:1.1

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

for artifact:
  org.mortbay.jetty:project:pom:6.1.3

from the specified remote repositories:
  codehaus.org
(http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e
switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Thu May 17 14:37:49 GMT 2007
[INFO] Final Memory: 3M/5M
[INFO]
------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////

After getting the files plexus-utils-1.1.jar and
project-6.1.3.pom.xml from the repositories I ran the
following command 
D:\jetty-6.1.3>mvn install:install-file
-DgroupId=org.codehaus.plexus -Dartifact
Id=plexus.utils\-Dversion=1.1 -Dpackaging=jar
-Dfile=D:\jetty-6.1.3\plexus-utils
-1.1.jar

and get yet another message:

////////////////////////////////////////////////////////////////////////
D:\jetty-6.1.3>mvn install:install-file
-DgroupId=org.codehaus.plexus -Dartifact
Id=plexus.utils\-Dversion=1.1 -Dpackaging=jar
-Dfile=D:\jetty-6.1.3\plexus-utils
-1.1.jar
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Jetty Server Project
[INFO]   Servlet Specification 2.5 API
[INFO]   Jetty Utilities
[INFO]   Jetty Server
[INFO]   Glassfish Jasper API
[INFO]   Glassfish Jasper
[INFO]   JSP 2.0 API dependencies
[INFO]   JSP 2.0 Jasper dependencies
[INFO]   Jetty Management
[INFO]   Jetty start jar
[INFO]   Jetty Naming
[INFO]   Jetty Plus
[INFO]   Servlet Annotations
[INFO]   Maven Jetty Plugin
[INFO]   Maven Jetty JSPC Plugin
[INFO]   Jetty HTML
[INFO]   Jetty Servlet Tester
[INFO]   Jetty XBean
[INFO]   cometd servlet
[INFO]   Jetty Spring
[INFO]   Jetty Grizzly
[INFO]   Jetty SSLEngine
[INFO]   Jetty AJP
[INFO]   Jetty SetUID
[INFO]   Jetty Win32 Service - Java
[INFO]   Jetty Java5 Threadpool
[INFO]   Jetty Test Webapp
[INFO]   Jetty Test JAAS Webapp
[INFO]   Jetty JNDI Test Webapp
[INFO]   Embedded examples
[INFO]   cometd demo
[INFO]   extra tests
[INFO] Searching repository for plugin with prefix:
'install'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin
'org.apache.maven.plugins:maven-compiler-plugin' does
not exis
t or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e
switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu May 17 15:29:28 GMT 2007
[INFO] Final Memory: 3M/5M
[INFO]
------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////

I've tried configuring my proxy but I still get the
same message. Can anyone pls help me resolve this
problem? Thanks





		
____________________________________________________ 
Yahoo! Singapore Answers 
Real people. Real questions. Real answers. Share what you know at http://answers.yahoo.com.sg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org