[cal10n-dev] [JIRA] Created: (CAL-17) Cal10n Maven message verifier plugin fails with Maven 3

Pete Muir (JIRA) noreply-jira at qos.ch
Thu May 20 14:37:16 CEST 2010


Cal10n Maven message verifier plugin fails with Maven 3
-------------------------------------------------------

                 Key: CAL-17
                 URL: http://jira.qos.ch/browse/CAL-17
             Project: CAL10N
          Issue Type: Bug
            Reporter: Pete Muir
            Assignee: Ceki Gulcu


[ERROR] Failed to execute goal ch.qos.cal10n.plugins:maven-cal10n-plugin:0.7:verify (verify-messages) on project weld-core: Failed to instantiate MessageKeyVerifier class: InvocationTargetException: Failed to find enum class [org.jboss.weld.logging.messages.BeanManagerMessage] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal ch.qos.cal10n.plugins:maven-cal10n-plugin:0.7:verify (verify-messages) on project weld-core: Failed to instantiate MessageKeyVerifier class
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:141)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:77)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:69)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.singleThreadedBuild(DefaultLifecycleExecutor.java:218)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:190)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:246)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:95)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:124)
	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)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to instantiate MessageKeyVerifier class
	at ch.qos.cal10n.plugins.VerifyMojo.getMessageKeyVerifierInstance(VerifyMojo.java:154)
	at ch.qos.cal10n.plugins.VerifyMojo.execute(VerifyMojo.java:90)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:133)
	... 19 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at ch.qos.cal10n.plugins.VerifyMojo.getMessageKeyVerifierInstance(VerifyMojo.java:146)
	... 22 more
Caused by: java.lang.IllegalStateException: Failed to find enum class [org.jboss.weld.logging.messages.BeanManagerMessage]
	at ch.qos.cal10n.verifier.MessageKeyVerifier.<init>(MessageKeyVerifier.java:63)
	... 27 more
Caused by: java.lang.ClassNotFoundException: org.jboss.weld.logging.messages.BeanManagerMessage
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at ch.qos.cal10n.verifier.MessageKeyVerifier.<init>(MessageKeyVerifier.java:61)
	... 27 more


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cal10n-dev mailing list