Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Using Maven 2.1.0.M1-RC17
      http://people.apache.org/~jdcasey/stage/current-maven-RC/ with Hudson fails due
      to not properly initialized instance of LifecycleExecutorInterceptor (for
      details please check the Maven user list
      http://www.nabble.com/Re%3A--PLEASE-TEST--Maven-2.0.10-RC11-p19207144.html ).

      The corresponding warning looks like these ones:

      [WARNING]

                            • WARNING ************

      This Maven runtime contains a LifecycleExecutor component with an incomplete
      configuration.

      LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor
      Missing component requirement: org.apache.maven.project.MavenProjectBuilder

      NOTE: This seems to be a third-party Maven derivative you are using. If so,
      please notify the developers for this derivative project of the problem. The
      Apache Maven team is not responsible for maintaining the integrity of
      third-party component overrides.

      [WARNING]

                            • WARNING ************

      This Maven runtime contains a LifecycleExecutor component with an incomplete
      configuration.

      LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor
      Missing component requirement:
      org.apache.maven.project.interpolation.ModelInterpolator

      NOTE: This seems to be a third-party Maven derivative you are using. If so,
      please notify the developers for this derivative project of the problem. The
      Apache Maven team is not responsible for maintaining the integrity of
      third-party component overrides.

      Cheers,
      Torsten

        Attachments

          Issue Links

            Activity

            Hide
            rdomingo rdomingo added a comment -

            In build 1.378 my mvn 2.1 projects aren't build correctly, phase 'prepare-package' isn't executed and I get:

            [WARNING]

                                  • WARNING ************

            This Maven runtime contains a LifecycleExecutor component with an incomplete configuration.

            LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor
            Missing component requirement: org.apache.maven.project.MavenProjectBuilder

            NOTE: This seems to be a third-party Maven derivative you are using. If so, please
            notify the developers for this derivative project of the problem. The Apache Maven team is not
            responsible for maintaining the integrity of third-party component overrides.

            Should 'prepare-package' already work in hudson 1.378 ? Is there any workaround for this ?

            Show
            rdomingo rdomingo added a comment - In build 1.378 my mvn 2.1 projects aren't build correctly, phase 'prepare-package' isn't executed and I get: [WARNING] WARNING ************ This Maven runtime contains a LifecycleExecutor component with an incomplete configuration. LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor Missing component requirement: org.apache.maven.project.MavenProjectBuilder NOTE: This seems to be a third-party Maven derivative you are using. If so, please notify the developers for this derivative project of the problem. The Apache Maven team is not responsible for maintaining the integrity of third-party component overrides. Should 'prepare-package' already work in hudson 1.378 ? Is there any workaround for this ?
            Hide
            kiechu kiechu added a comment -

            I received the same warning (underneath) with Hudson 1.381 and Maven 2.2.1 on Ubuntu 10.04.1 LTS with both Sun Java6 JDK and Open Java 6 JDK.

            [bo-main-portlet] $ /usr/lib/jvm/java-6-sun/bin/java -cp /opt/hudson/work/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.351.jar:/usr/share/maven2/boot/classworlds.jar hudson.maven.agent.Main /usr/share/maven2/ /opt/hudson/war/WEB-INF/lib/remoting-1.351.jar /opt/hudson/work/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.351.jar 37014
            <===[HUDSON REMOTING CAPACITY]===>���channel started
            Executing Maven: -B -f /opt/hudson/work/jobs/bo-main-portlet-new/workspace/web/portlets/bo-main-portlet/pom.xml integration-test
            [WARNING]

                                  • WARNING ************

            This Maven runtime contains a LifecycleExecutor component with an incomplete configuration.

            LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor
            Missing component requirement: org.apache.maven.project.MavenProjectBuilder

            NOTE: This seems to be a third-party Maven derivative you are using. If so, please
            notify the developers for this derivative project of the problem. The Apache Maven team is not
            responsible for maintaining the integrity of third-party component overrides.

            [WARNING]

                                  • WARNING ************

            This Maven runtime contains a LifecycleExecutor component with an incomplete configuration.

            LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor
            Missing component requirement: org.apache.maven.project.interpolation.ModelInterpolator

            NOTE: This seems to be a third-party Maven derivative you are using. If so, please
            notify the developers for this derivative project of the problem. The Apache Maven team is not
            responsible for maintaining the integrity of third-party component overrides.

            [WARNING]

                                  • WARNING ************

            This Maven runtime contains a LifecycleExecutor component with an incomplete configuration.

            LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor
            Missing component requirement: org.apache.maven.ConfigurationInterpolator

            NOTE: This seems to be a third-party Maven derivative you are using. If so, please
            notify the developers for this derivative project of the problem. The Apache Maven team is not
            responsible for maintaining the integrity of third-party component overrides.

            Show
            kiechu kiechu added a comment - I received the same warning (underneath) with Hudson 1.381 and Maven 2.2.1 on Ubuntu 10.04.1 LTS with both Sun Java6 JDK and Open Java 6 JDK. [bo-main-portlet] $ /usr/lib/jvm/java-6-sun/bin/java -cp /opt/hudson/work/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.351.jar:/usr/share/maven2/boot/classworlds.jar hudson.maven.agent.Main /usr/share/maven2/ /opt/hudson/war/WEB-INF/lib/remoting-1.351.jar /opt/hudson/work/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.351.jar 37014 <=== [HUDSON REMOTING CAPACITY] ===>���channel started Executing Maven: -B -f /opt/hudson/work/jobs/bo-main-portlet-new/workspace/web/portlets/bo-main-portlet/pom.xml integration-test [WARNING] WARNING ************ This Maven runtime contains a LifecycleExecutor component with an incomplete configuration. LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor Missing component requirement: org.apache.maven.project.MavenProjectBuilder NOTE: This seems to be a third-party Maven derivative you are using. If so, please notify the developers for this derivative project of the problem. The Apache Maven team is not responsible for maintaining the integrity of third-party component overrides. [WARNING] WARNING ************ This Maven runtime contains a LifecycleExecutor component with an incomplete configuration. LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor Missing component requirement: org.apache.maven.project.interpolation.ModelInterpolator NOTE: This seems to be a third-party Maven derivative you are using. If so, please notify the developers for this derivative project of the problem. The Apache Maven team is not responsible for maintaining the integrity of third-party component overrides. [WARNING] WARNING ************ This Maven runtime contains a LifecycleExecutor component with an incomplete configuration. LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor Missing component requirement: org.apache.maven.ConfigurationInterpolator NOTE: This seems to be a third-party Maven derivative you are using. If so, please notify the developers for this derivative project of the problem. The Apache Maven team is not responsible for maintaining the integrity of third-party component overrides.
            Hide
            lynggaard lynggaard added a comment -

            I am wondering about this line you have pasted:

            "[bo-main-portlet] $ /usr/lib/jvm/java-6-sun/bin/java -cp /opt/hudson/work/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.351.jar:/usr/share/maven2/boot/classworlds.jar hudson.maven.agent.Main /usr/share/maven2/ /opt/hudson/war/WEB-INF/lib/remoting-1.351.jar /opt/hudson/work/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.351.jar 37014"

            My concern is that the maven-interceptor and remoting jar files have a much older version number than 1.381. I checked my hudson_home and in there the version numbers match my hudson version 1.382.

            How have you installed hudson and maven, and in which container do you run hudson ?

            Show
            lynggaard lynggaard added a comment - I am wondering about this line you have pasted: " [bo-main-portlet] $ /usr/lib/jvm/java-6-sun/bin/java -cp /opt/hudson/work/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.351.jar:/usr/share/maven2/boot/classworlds.jar hudson.maven.agent.Main /usr/share/maven2/ /opt/hudson/war/WEB-INF/lib/remoting-1.351.jar /opt/hudson/work/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.351.jar 37014" My concern is that the maven-interceptor and remoting jar files have a much older version number than 1.381. I checked my hudson_home and in there the version numbers match my hudson version 1.382. How have you installed hudson and maven, and in which container do you run hudson ?
            Hide
            kutzi kutzi added a comment -

            No further info provided by reopener -> marking as Fixed again

            Show
            kutzi kutzi added a comment - No further info provided by reopener -> marking as Fixed again
            Hide
            linuxmaniac Victor Seva added a comment -

            system: Debian squeeze
            jenkins: 1.439 (deb package)
            tomcat: 6.0.28-9+squeeze1
            maven: 2.2.1-5
            openjdk-6-jdk: 6b18-1.8.9-0.1~squeeze1

            output:
            ---------------------------------------------------------------------------------------------------------------
            Parsing POMs
            [workspace] $ java -Xmx512m -XX:MaxPermSize=256m -Djava.util.prefs.systemRoot=~/.java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.2.jar:/usr/share/maven2/boot/classworlds.jar hudson.maven.agent.Main /usr/share/maven2 /var/lib/tomcat6/webapps/jenkins/WEB-INF/lib/remoting-2.11.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.2.jar 37455
            <===[JENKINS REMOTING CAPACITY]===>channel started
            Executing Maven: -B -f /var/lib/jenkins/jobs/jboss_cervantesvirtual-gestor/workspace/pom.xml clean gwt:compile package -Dmaven.test.skip=true
            [WARNING]

                                  • WARNING ************

            This Maven runtime contains a LifecycleExecutor component with an incomplete configuration.

            LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor
            Missing component requirement: org.apache.maven.project.MavenProjectBuilder

            NOTE: This seems to be a third-party Maven derivative you are using. If so, please
            notify the developers for this derivative project of the problem. The Apache Maven team is not
            responsible for maintaining the integrity of third-party component overrides.
            ---------------------------------------------------------------------------------------------------------------

            Do you need more info?

            Show
            linuxmaniac Victor Seva added a comment - system: Debian squeeze jenkins: 1.439 (deb package) tomcat: 6.0.28-9+squeeze1 maven: 2.2.1-5 openjdk-6-jdk: 6b18-1.8.9-0.1~squeeze1 output: --------------------------------------------------------------------------------------------------------------- Parsing POMs [workspace] $ java -Xmx512m -XX:MaxPermSize=256m -Djava.util.prefs.systemRoot=~/.java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.2.jar:/usr/share/maven2/boot/classworlds.jar hudson.maven.agent.Main /usr/share/maven2 /var/lib/tomcat6/webapps/jenkins/WEB-INF/lib/remoting-2.11.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.2.jar 37455 <=== [JENKINS REMOTING CAPACITY] ===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/jboss_cervantesvirtual-gestor/workspace/pom.xml clean gwt:compile package -Dmaven.test.skip=true [WARNING] WARNING ************ This Maven runtime contains a LifecycleExecutor component with an incomplete configuration. LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor Missing component requirement: org.apache.maven.project.MavenProjectBuilder NOTE: This seems to be a third-party Maven derivative you are using. If so, please notify the developers for this derivative project of the problem. The Apache Maven team is not responsible for maintaining the integrity of third-party component overrides. --------------------------------------------------------------------------------------------------------------- Do you need more info?

              People

              • Assignee:
                Unassigned
                Reporter:
                tjuerge tjuerge
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: