org.apache.maven.lifecycle.LifecycleExecutionException: Bundle transformer returned warnings. Please fix manifest template at 'C:\netbeans_projects\spring-batch\spring-batch-infrastructure/template.mf' and try again.

Spring JIRA | Michael Pralow | 8 years ago
  1. 0

    latest HEAD from today (02.02.2009) with 'clean install' i get ------------------------------------------------------------------------ [ERROR]BUILD ERROR ------------------------------------------------------------------------ Bundle transformer returned warnings. Please fix manifest template at 'C:\netbeans_projects\spring-batch\spring-batch-infrastructure/template.mf' and try again. details with -e switch [DEBUG]Trace org.apache.maven.lifecycle.LifecycleExecutionException: Bundle transformer returned warnings. Please fix manifest template at 'C:\netbeans_projects\spring-batch\spring-batch-infrastructure/template.mf' and try again. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) 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.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Bundle transformer returned warnings. Please fix manifest template at 'C:\netbeans_projects\spring-batch\spring-batch-infrastructure/template.mf' and try again. at com.springsource.bundlor.maven.plugin.AbstractBundlorMojo.execute(AbstractBundlorMojo.java:212) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 16 more

    Spring JIRA | 8 years ago | Michael Pralow
    org.apache.maven.lifecycle.LifecycleExecutionException: Bundle transformer returned warnings. Please fix manifest template at 'C:\netbeans_projects\spring-batch\spring-batch-infrastructure/template.mf' and try again.
  2. 0

    latest HEAD from today (02.02.2009) with 'clean install' i get ------------------------------------------------------------------------ [ERROR]BUILD ERROR ------------------------------------------------------------------------ Bundle transformer returned warnings. Please fix manifest template at 'C:\netbeans_projects\spring-batch\spring-batch-infrastructure/template.mf' and try again. details with -e switch [DEBUG]Trace org.apache.maven.lifecycle.LifecycleExecutionException: Bundle transformer returned warnings. Please fix manifest template at 'C:\netbeans_projects\spring-batch\spring-batch-infrastructure/template.mf' and try again. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) 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.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Bundle transformer returned warnings. Please fix manifest template at 'C:\netbeans_projects\spring-batch\spring-batch-infrastructure/template.mf' and try again. at com.springsource.bundlor.maven.plugin.AbstractBundlorMojo.execute(AbstractBundlorMojo.java:212) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 16 more

    Spring JIRA | 8 years ago | Michael Pralow
    org.apache.maven.lifecycle.LifecycleExecutionException: Bundle transformer returned warnings. Please fix manifest template at 'C:\netbeans_projects\spring-batch\spring-batch-infrastructure/template.mf' and try again.
  3. 0

    Compilation issue with maven2 plugin

    Google Groups | 10 years ago | tim.clymer
    org.apache.maven.plugin.MojoExecutionException: 'C:\Program' is not recognized as an internal or external command, operable program or batch file.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.0.1:rpm (default-cli) on project inv-project

    Stack Overflow | 2 years ago | user001
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.0.1:rpm (default-cli) on project inv_project: RPM query for default vendor returned: '1' executing 'cmd.exe /X /C "rpm -E %{_host_vendor}"'
  6. 0

    Releasing LTS RC on "Java(TM) SE Runtime Environment (build 1.8.0_92-b14)" fails with: {noformat} [ERROR] Failed to execute goal org.codehaus.mojo:apt-maven-plugin:1.0-alpha-5:process (default) on project jenkins-core: Unable to locate the apt compiler in: [ERROR] /usr/lib/jvm/java-8-jdk/jre/../lib/tools.jar [ERROR] Please ensure you are using JDK 1.5 or above and [ERROR] not a JRE (the com.sun.tools.apt.Main class is required). [ERROR] In most cases you can change the location of your Java [ERROR] installation by setting the JAVA_HOME environment variable. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:apt-maven-plugin:1.0-alpha-5:process (default) on project jenkins-core: Unable to locate the apt compiler in: /usr/lib/jvm/java-8-jdk/jre/../lib/tools.jar Please ensure you are using JDK 1.5 or above and not a JRE (the com.sun.tools.apt.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to locate the apt compiler in: /usr/lib/jvm/java-8-jdk/jre/../lib/tools.jar Please ensure you are using JDK 1.5 or above and not a JRE (the com.sun.tools.apt.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. at org.codehaus.mojo.apt.AptUtils.getAptClass(AptUtils.java:220) at org.codehaus.mojo.apt.AptUtils.invoke(AptUtils.java:76) at org.codehaus.mojo.apt.AbstractAptMojo.executeApt(AbstractAptMojo.java:389) at org.codehaus.mojo.apt.AbstractAptMojo.executeImpl(AbstractAptMojo.java:277) at org.codehaus.mojo.apt.AbstractAptMojo.execute(AbstractAptMojo.java:254) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more {noformat}

    Jenkins JIRA | 4 months ago | Oliver Gond┼ża
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:apt-maven-plugin:1.0-alpha-5:process (default) on project jenkins-core: Unable to locate the apt compiler in: /usr/lib/jvm/java-8-jdk/jre/../lib/tools.jar Please ensure you are using JDK 1.5 or above and not a JRE (the com.sun.tools.apt.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.maven.plugin.MojoExecutionException

      Bundle transformer returned warnings. Please fix manifest template at 'C:\netbeans_projects\spring-batch\spring-batch-infrastructure/template.mf' and try again.

      at com.springsource.bundlor.maven.plugin.AbstractBundlorMojo.execute()
    2. com.springsource.bundlor
      AbstractBundlorMojo.execute
      1. com.springsource.bundlor.maven.plugin.AbstractBundlorMojo.execute(AbstractBundlorMojo.java:212)
      1 frame
    3. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
      1 frame
    4. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
      8 frames
    5. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. Plexus
      Launcher.main
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      4 frames