An anormal error ocourred after a digited: mvn package install
-Dmaven.test.skip=true.
The error is show above...

Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alp
ha-1/plexus-io-1.0-alpha-1.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.maven:maven-archiver:jar:2.3

  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-arc
hiver -Dversion=2.3 -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-archi
ver -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryI
d=[id]

  Path to dependency:
        1) org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.2
        2) org.apache.maven:maven-archiver:jar:2.3

2) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9

  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
-archiver -Dversion=1.0-alpha-9 -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.codehaus.plexus -DartifactId=plexus-a
rchiver -Dversion=1.0-alpha-9 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -
DrepositoryId=[id]

  Path to dependency:
        1) org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.2
        2) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9

3) org.codehaus.plexus:plexus-io:jar:1.0-alpha-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
-io -Dversion=1.0-alpha-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.codehaus.plexus -DartifactId=plexus-i
o -Dversion=1.0-alpha-1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepos
itoryId=[id]

  Path to dependency:
        1) org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.2
        2) org.codehaus.plexus:plexus-io:jar:1.0-alpha-1

----------
3 required artifacts are missing.

for artifact:
  org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  jasig-repository (http://developer.ja-sig.org/maven2),
  jasig-snapshot (http://developer.ja-sig.org/maven2-snapshot)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 minutes 4 seconds
[INFO] Finished at: Wed Feb 18 15:38:05 BRST 2009
[INFO] Final Memory: 17M/30M
[INFO] ------------------------------------------------------------------------


-----------------------------------------------------------------------------------------------------------------
I tried to make the first dependecy. I downloaded
httpclient-4.0-beta2.jar and moved the jar file to CAS_HOME folder.
After all, I put into command line:

mvn install:install-file -DgroupId=org.apache.maven -DartifactId=maven-arc
hiver -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file


-----------------------------------------------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   JA-SIG Central Authentication Service
[INFO]   JA-SIG CAS Core
[INFO]   JA-SIG CAS Generic Support
[INFO]   JA-SIG CAS JDBC Support
[INFO]   JA-SIG CAS LDAP Support
[INFO]   JA-SIG CAS Legacy Support
[INFO]   JA-SIG CAS OpenId Support
[INFO]   JA-SIG CAS RADIUS Support
[INFO]   JA-SIG CAS SPNEGO/NTLM Support
[INFO]   JA-SIG CAS Trusted User Support
[INFO]   JA-SIG CAS X.509 Client Certificate Support
[INFO]   JA-SIG CAS JBoss Cache Integration
[INFO]   JA-SIG CAS BerkeleyDB Integration
[INFO]   JA-SIG CAS Memcached Integration
[INFO]   JA-SIG CAS Restlet Integration
[INFO]   JA-SIG CAS Web Application
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri
eved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-enforcer-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: 23 seconds
[INFO] Finished at: Wed Feb 18 15:41:35 BRST 2009
[INFO] Final Memory: 2M/5M
[INFO] ------------------------------------------------------------------------



How can I solve this?

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to