directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dineth Chalitha Basnayaka <dinethchali...@gmail.com>
Subject Build-failure in apacheds-parent
Date Fri, 28 Jul 2017 13:19:05 GMT
 I'm getting a build failure in apacheds-parent, CheckstyleException:


[INFO] Building ApacheDS 2.0.0-M24
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ apacheds-parent ---
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ apacheds-parent ---
[WARNING] Error injecting:
org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo
java.lang.UnsupportedClassVersionError:
com/puppycrawl/tools/checkstyle/api/AuditListener : Unsupported
major.minor version 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2595)
	at java.lang.Class.getDeclaredConstructors(Class.java:1914)
	at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
	at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
	at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:658)
	at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:882)
	at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:805)
	at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:282)
	at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:214)
	at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:1006)
	at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1038)
	at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1001)
	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
	at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
	at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
	at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
	at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
	at org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
	at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
	at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
	at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
	at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
	at org.eclipse.sisu.inject.Guice4$1.get(Guice4.java:162)
	at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
	at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:517)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	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:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ApacheDS ........................................... FAILURE [  0.552 s]
[INFO] ApacheDS I18n ...................................... SKIPPED
[INFO] ApacheDS Core Constants ............................ SKIPPED
[INFO] ApacheDS Core API .................................. SKIPPED
[INFO] ApacheDS Core Shared ............................... SKIPPED
[INFO] ApacheDS Interceptors .............................. SKIPPED
[INFO] ApacheDS AdministrativePoint Interceptor ........... SKIPPED
[INFO] ApacheDS Authentication Interceptor ................ SKIPPED
[INFO] ApacheDS Interceptor to increment numeric attributes SKIPPED
[INFO] ApacheDS Authorization Interceptor ................. SKIPPED
[INFO] ApacheDS ChangeLog Interceptor ..................... SKIPPED
[INFO] ApacheDS Collective Attribute Interceptor .......... SKIPPED
[INFO] ApacheDS Event Interceptor ......................... SKIPPED
[INFO] ApacheDS Exception Interceptor ..................... SKIPPED
[INFO] ApacheDS Journal Interceptor ....................... SKIPPED
[INFO] ApacheDS Normalization Interceptor ................. SKIPPED
[INFO] ApacheDS Operational Attribute Interceptor ......... SKIPPED
[INFO] ApacheDS Referral Interceptor ...................... SKIPPED
[INFO] ApacheDS Schema Interceptor ........................ SKIPPED
[INFO] ApacheDS Subtree Interceptor ....................... SKIPPED
[INFO] ApacheDS Triggers Interceptor ...................... SKIPPED
[INFO] ApacheDS Core ...................................... SKIPPED
[INFO] ApacheDS Core AVL .................................. SKIPPED
[INFO] ApacheDS Generalized (X) DBM Partition ............. SKIPPED
[INFO] ApacheDS LDIF Partition ............................ SKIPPED
[INFO] ApacheDS JDBM Partition ............................ SKIPPED
[INFO] ApacheDS Mavibot Partition ......................... SKIPPED
[INFO] ApacheDS Core Annotations .......................... SKIPPED
[INFO] ApacheDS Core JNDI ................................. SKIPPED
[INFO] ApacheDS Protocol Kerberos Codec ................... SKIPPED
[INFO] ApacheDS Interceptors for Kerberos ................. SKIPPED
[INFO] ApacheDS Protocol Dhcp ............................. SKIPPED
[INFO] ApacheDS Protocol Shared ........................... SKIPPED
[INFO] ApacheDS Protocol Dns .............................. SKIPPED
[INFO] ApacheDS Protocol Kerberos ......................... SKIPPED
[INFO] ApacheDS Protocol Ldap ............................. SKIPPED
[INFO] ApacheDS Protocol Ntp .............................. SKIPPED
[INFO] Apacheds Server Annotations ........................ SKIPPED
[INFO] ApacheDS Server Config ............................. SKIPPED
[INFO] ApacheDS Server JNDI ............................... SKIPPED
[INFO] ApacheDS Test Framework ............................ SKIPPED
[INFO] ApacheDS All ....................................... SKIPPED
[INFO] ApacheDS Logger Interceptor ........................ SKIPPED
[INFO] ApacheDS Password Hashing Interceptor .............. SKIPPED
[INFO] ApacheDS Core Integration .......................... SKIPPED
[INFO] ApacheDS Protocol Kerberos Test .................... 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] Apache Directory LDAP Client API test .............. SKIPPED
[INFO] kerberos-client .................................... SKIPPED
[INFO] ApacheDS Service ................................... SKIPPED
[INFO] ApacheDS Wrapper ................................... SKIPPED
[INFO] ApacheDS Installers Maven Plugin ................... SKIPPED
[INFO] ApacheDS Installers ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.359 s
[INFO] Finished at: 2017-07-25T12:03:19+05:30
[INFO] Final Memory: 47M/346M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (validate)
on project apacheds-parent: Execution validate of goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check failed: An
API incompatibility was encountered while executing
org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check:
java.lang.UnsupportedClassVersionError:
com/puppycrawl/tools/checkstyle/api/AuditListener : Unsupported
major.minor version 52.0




[image: dinethr.PNG]

Dineth Chalitha Basnayake.

Undergraduate in Computer Science & Technology,

Uva Wellassa University of Sri Lanka

dinethchalitha@gmail.com

[image: facebook.png] <https://www.facebook.com/dineth.basnayake>[image:
Linked in alt.png]
<https://www.linkedin.com/in/dineth-chalitha-basnayake-a79032ba/>[image:
github.png] <https://github.com/DinethUWU>

Mime
View raw message