directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wang, Xunhua - wangxx" <wan...@jmu.edu>
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...
Date Thu, 01 Mar 2012 18:05:11 GMT
For your question #2 on Maven version:

$ mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 00:44:56-0800)
Maven home: /home/MYNAME/apache-maven-3.0.4
Java version: 1.6.0_20, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.35-32-generic", arch: "i386", family: "unix"

For your question #1 on firewall:

The Ubuntu box is behind a NAT, which also runs iptables. However there is no restriction
for outgoing connections (or the corresponding incoming responses). From the Ubuntu 10 box,
I can browse https://repository.apache.org/content/repositories/snapshots/

Note that on that machine, I also used svn to check out the apacheds-trunk.

Thanks,

Steve
________________________________________
From: Pierre-Arnaud Marcelot [pajbam@gmail.com] on behalf of Pierre-Arnaud Marcelot [pa@marcelot.net]
Sent: Thursday, March 01, 2012 12:53 PM
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...

Are you behind a firewall?

What version of Maven are you using?

Regards,
Pierre-Arnaud

On 1 mars 2012, at 18:42, Wang, Xunhua - wangxx wrote:

> 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 [elecharny@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
>


Mime
View raw message