Uploaded image for project: 'CAL10N'
  1. CAL10N
  2. CAL-17

Cal10n Maven message verifier plugin fails with Maven 3

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • None
    • None

    Description

      [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

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            pmuir Pete Muir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: