Re: [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
Le 3/2/12 1:54 AM, Wang, Xunhua - wangxx a écrit : can you provide the test that fail in C:\tmp\apacheds\apacheds-trunk\apacheds\kerberos-test\target\surefire-reports? There are .txt files in this directory, and some of them will contain some info. All files in that directory are attached. Thanks. That's weird... The buidl works like a charm on Maxc OS.X, but fails on Ubuntu 11.10 (I just tested this morning, and got the same error). It seems to work on windows though... We are conducting some more tests. Keep tuned ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
Re: [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
On 2 mars 2012, at 12:11, Emmanuel Lécharny wrote: Le 3/2/12 1:54 AM, Wang, Xunhua - wangxx a écrit : can you provide the test that fail in C:\tmp\apacheds\apacheds-trunk\apacheds\kerberos-test\target\surefire-reports? There are .txt files in this directory, and some of them will contain some info. All files in that directory are attached. Thanks. That's weird... The buidl works like a charm on Maxc OS.X, but fails on Ubuntu 11.10 (I just tested this morning, and got the same error). It seems to work on windows though... We are conducting some more tests. I can confirm it works on Windows now. Sometimes, you may get a few errors while executing the tests, then restart the build and it will pass (seems like a concurrency problem on Windows). I have yet to test on Ubuntu. Regards, Pierre-Arnaud Keep tuned ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
Re: [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
Le 3/2/12 12:11 PM, Emmanuel Lécharny a écrit : Le 3/2/12 1:54 AM, Wang, Xunhua - wangxx a écrit : can you provide the test that fail in C:\tmp\apacheds\apacheds-trunk\apacheds\kerberos-test\target\surefire-reports? There are .txt files in this directory, and some of them will contain some info. All files in that directory are attached. Thanks. That's weird... The buidl works like a charm on Maxc OS.X, but fails on Ubuntu 11.10 (I just tested this morning, and got the same error). It seems to work on windows though... We are conducting some more tests. Ok, I know what's going on. The Kerberos test is passing fine if you use an old JVM (1.6.0-26 in my case), but due to some change in the sun.security.krb5.KrbKdcReq API, it breaks in Java 1.6.0-30 :/ I will try to get this test fixed now. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
Re: [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
Le 3/2/12 2:51 PM, Emmanuel Lécharny a écrit : Le 3/2/12 12:11 PM, Emmanuel Lécharny a écrit : Le 3/2/12 1:54 AM, Wang, Xunhua - wangxx a écrit : can you provide the test that fail in C:\tmp\apacheds\apacheds-trunk\apacheds\kerberos-test\target\surefire-reports? There are .txt files in this directory, and some of them will contain some info. All files in that directory are attached. Thanks. That's weird... The buidl works like a charm on Maxc OS.X, but fails on Ubuntu 11.10 (I just tested this morning, and got the same error). It seems to work on windows though... We are conducting some more tests. Ok, I know what's going on. The Kerberos test is passing fine if you use an old JVM (1.6.0-26 in my case), but due to some change in the sun.security.krb5.KrbKdcReq API, it breaks in Java 1.6.0-30 :/ I will try to get this test fixed now. I think the kerberos tests are now passing well on both Linux and Mac OSX. Can you give it a try with the latest trunk ? Thanks ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
RE: [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
Can you give it a try with the latest trunk ? Thanks ! It compiled well on both MS Windows and Ubuntu 10. Thank you. Steve From: Emmanuel Lécharny [elecha...@gmail.com] Sent: Friday, March 02, 2012 10:51 AM To: users@directory.apache.org Subject: Re: [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 Le 3/2/12 2:51 PM, Emmanuel Lécharny a écrit : Le 3/2/12 12:11 PM, Emmanuel Lécharny a écrit : Le 3/2/12 1:54 AM, Wang, Xunhua - wangxx a écrit : can you provide the test that fail in C:\tmp\apacheds\apacheds-trunk\apacheds\kerberos-test\target\surefire-reports? There are .txt files in this directory, and some of them will contain some info. All files in that directory are attached. Thanks. That's weird... The buidl works like a charm on Maxc OS.X, but fails on Ubuntu 11.10 (I just tested this morning, and got the same error). It seems to work on windows though... We are conducting some more tests. Ok, I know what's going on. The Kerberos test is passing fine if you use an old JVM (1.6.0-26 in my case), but due to some change in the sun.security.krb5.KrbKdcReq API, it breaks in Java 1.6.0-30 :/ I will try to get this test fixed now. I think the kerberos tests are now passing well on both Linux and Mac OSX. Can you give it a try with the latest trunk ? Thanks ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
RE: [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
Thank you. In my case, upgrading JDK to 1.6.0_30 does _not_ help. Still got the following error: + ERROR BEGINS + [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] org.apache.maven.lifecycle.LifecycleExecutionException: 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/) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) + ERROR ENDS + Adding -U to maven does not help either. Steve From: Emmanuel Lécharny [elecha...@gmail.com] Sent: Thursday, March 01, 2012 1:17 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... Le 3/1/12 6:42 PM, Wang, Xunhua - wangxx a écrit : Just downloaded mvn, checked out apacheds-trunk on Ubuntu 10 (with jdk 1.6.0_20), ran the following command, and got this error: 1.6.0_20 is *really* old. I just tested on Ubuntu 11.10, with Java 1.6.0-29, it builds. Note that I get a failure with Java 7 (the same than the one you've got). May I suggest you fill a JIRA describing the failure ? I think we should get rid of this shade-plugin error on windows... Thanks ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
Re: [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
Le 3/1/12 8:24 PM, Wang, Xunhua - wangxx a écrit : Thank you. In my case, upgrading JDK to 1.6.0_30 does _not_ help. Still got the following error: Can you give it a try with the latest trunk ? We have fixed some pom.xml, it might be better. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
RE: [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
Just tried and went much farther than before: + ERROR BEGINS + [INFO] [INFO] Reactor Summary: [INFO] [INFO] ApacheDS All .. SUCCESS [24.507s] [INFO] ApacheDS Logger Interceptor ... SUCCESS [5.476s] [INFO] ApacheDS Password Hashing Interceptor . SUCCESS [3.603s] [INFO] ApacheDS Core Integration . SUCCESS [16:44.523s] [INFO] ApacheDS Server Integration ... SUCCESS [7:26.849s] [INFO] ApacheDS DirectoryService-WebApp bridge ... SUCCESS [6.447s] [INFO] ApacheDS Jetty HTTP Server Integration SUCCESS [12.112s] [INFO] ApacheDS Service Builder .. SUCCESS [6.531s] [INFO] ApacheDS Protocol Kerberos Test ... FAILURE [5:13.429s] [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: 30:29.313s [INFO] Finished at: Thu Mar 01 18:06:41 EST 2012 [INFO] Final Memory: 62M/148M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project apacheds-kerberos-test: There are test fa ilures. [ERROR] [ERROR] Please refer to C:\tmp\apacheds\apacheds-trunk\apacheds\kerberos-test\target\surefire-reports for the individual test results. [ERROR] - [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :apacheds-kerberos-test + ERROR ENDS + Again which KDC server does apacheds-kerberos-test test? How can I pass the apacheds-kerberos-test to finish the whole process? Thank you. Steve From: Emmanuel Lécharny [elecha...@gmail.com] Sent: Thursday, March 01, 2012 6:36 PM To: users@directory.apache.org Subject: Re: [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 Le 3/1/12 8:24 PM, Wang, Xunhua - wangxx a écrit : Thank you. In my case, upgrading JDK to 1.6.0_30 does _not_ help. Still got the following error: Can you give it a try with the latest trunk ? We have fixed some pom.xml, it might be better. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
Re: [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
Le 3/2/12 12:50 AM, Wang, Xunhua - wangxx a écrit : Just tried and went much farther than before: + ERROR BEGINS + [INFO] [INFO] Reactor Summary: [INFO] [INFO] ApacheDS All .. SUCCESS [24.507s] [INFO] ApacheDS Logger Interceptor ... SUCCESS [5.476s] [INFO] ApacheDS Password Hashing Interceptor . SUCCESS [3.603s] [INFO] ApacheDS Core Integration . SUCCESS [16:44.523s] [INFO] ApacheDS Server Integration ... SUCCESS [7:26.849s] [INFO] ApacheDS DirectoryService-WebApp bridge ... SUCCESS [6.447s] [INFO] ApacheDS Jetty HTTP Server Integration SUCCESS [12.112s] [INFO] ApacheDS Service Builder .. SUCCESS [6.531s] [INFO] ApacheDS Protocol Kerberos Test ... FAILURE [5:13.429s] [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: 30:29.313s [INFO] Finished at: Thu Mar 01 18:06:41 EST 2012 [INFO] Final Memory: 62M/148M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project apacheds-kerberos-test: There are test fa ilures. [ERROR] [ERROR] Please refer to C:\tmp\apacheds\apacheds-trunk\apacheds\kerberos-test\target\surefire-reports for the individual test results. [ERROR] - [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvngoals -rf :apacheds-kerberos-test + ERROR ENDS + Again which KDC server does apacheds-kerberos-test test? It's the Apache DS KDC server. How can I pass the apacheds-kerberos-test to finish the whole process? can you provide the test that fail in C:\tmp\apacheds\apacheds-trunk\apacheds\kerberos-test\target\surefire-reports ? There are .txt files in this directory, and some of them will contain some info. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com