Just downloaded mvn, checked out apacheds-trunk on Ubuntu 10 (with jdk 
1.6.0_20), ran the following command, and got this error:

MAVEN_OPTS="-Xmx256m" mvn install

++++++++++++++++++++
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] ApacheDS Protocol Dns ............................. SUCCESS [9.815s]
[INFO] ApacheDS Protocol Kerberos ........................ SUCCESS [7.644s]
[INFO] ApacheDS Protocol Ldap ............................ SUCCESS [19.508s]
[INFO] ApacheDS Protocol Ntp ............................. SUCCESS [7.534s]
[INFO] Apacheds Server Annotations ....................... SUCCESS [13.434s]
[INFO] ApacheDS Server Config ............................ SUCCESS [8.952s]
[INFO] ApacheDS Server JNDI .............................. SUCCESS [6.008s]
[INFO] ApacheDS Server Replication Service ............... SUCCESS [0.869s]
[INFO] ApacheDS Test Framework ........................... SUCCESS [35.805s]
[INFO] ApacheDS Generalized (X) DBM Tools ................ SUCCESS [3.302s]
[INFO] ApacheDS All ...................................... FAILURE [0.809s]
[INFO] ApacheDS Logger Interceptor ....................... SKIPPED
[INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
[INFO] ApacheDS Core Integration ......................... SKIPPED
[INFO] ApacheDS Server Integration ....................... SKIPPED
[INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
[INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
[INFO] ApacheDS Service Builder .......................... SKIPPED
[INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
[INFO] Apache Directory LDAP Client API test ............. SKIPPED
[INFO] ApacheDS Service .................................. SKIPPED
[INFO] ApacheDS Wrapper .................................. SKIPPED
[INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
[INFO] ApacheDS Installers ............................... SKIPPED
[INFO] ApacheDS Manuals .................................. SKIPPED
[INFO] ApacheDS Build With Dependencies .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:56.312s
[INFO] Finished at: Thu Mar 01 09:36:06 PST 2012
[INFO] Final Memory: 110M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project apacheds-all: Could not resolve 
dependencies for project 
org.apache.directory.server:apacheds-all:jar:2.0.0-M7-SNAPSHOT: Could not find 
artifact org.apache.directory.jdbm:apacheds-jdbm2:bundle:2.0.0-M2-SNAPSHOT in 
apache.snapshots 
(https://repository.apache.org/content/repositories/snapshots/) -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :apacheds-all
++++++++++++++++++++++++++++++++++++++++++++++++

Any suggestions?

Thank you very much.

Steve
________________________________________
From: Emmanuel Lécharny [elecha...@gmail.com]
Sent: Thursday, March 01, 2012 11:08 AM
To: users@directory.apache.org
Subject: Re: [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-shade-plugin:1.5:shade (default) on project 
shared-all: Error creating shaded jar: error in opening zip file 
C:\tmp\apacheds\apacheds-trunk\shared\all\target\shared-all-1.0.0-M12-SNAPSHO...

Le 3/1/12 4:57 PM, Wang, Xunhua - wangxx a écrit :
> Thank you. That worked.
>
> Got another question:
>
> I checked out the apacheds-trunk (with the following command) and tried to 
> compile it under JDK 1.6.0_30 on Windows. I got the following error:

Any chance you can test the build on a decent OS, like Linux ? Or at
least, install Cygwin ?

It seems that there is a bug on window$, as this dumb OS (which is
basically a revamped MS-DOS 2.1 flavor) is not able to unzip empty files.

--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to