org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.3:rpm (generate-rpm) on project TestRpmAndDocker: The parameters 'sourceEncoding' for goal org.codehaus.mojo:rpm-maven-plugin:2.1.3:rpm are missing or invalid

Stack Overflow | MoShe | 2 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd and rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Change the <configuration> in pom.xml to use xml parameters instead of the <arguments> list.
  2. 0
    samebug tip
    Try to run your project from where the Application class is, instead of trying to run it from root.
  3. 0

    The parameters 'sourceEncoding' rpm-maven-plugin are missing or invalid

    Stack Overflow | 2 years ago | MoShe
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.3:rpm (generate-rpm) on project TestRpmAndDocker: The parameters 'sourceEncoding' for goal org.codehaus.mojo:rpm-maven-plugin:2.1.3:rpm are missing or invalid
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 21#247663740

    GitHub | 7 months ago | otheus
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.5:version (default-version) on project blazegraph-rpm: Execution default-version of goal org.codehaus.mojo:rpm-maven-plugin:2.1.5:version failed: Unable to load the mojo 'version' (or one of its required components) from the plugin 'org.codehaus.mojo:rpm-maven-plugin:2.1.5'
  6. 0

    Graylog build and package

    Google Groups | 3 months ago | Rayees Namathponnan
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.5:rpm (default-cli) on project graylog-parent: The parameters 'group' for goal org.codehaus.mojo:rpm-maven-plugin:2.1.5:rpm are missing or invalid
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.PluginParameterException

    The parameters 'sourceEncoding' for goal org.codehaus.mojo:rpm-maven-plugin:2.1.3:rpm are missing or invalid

    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields()
  2. Maven Core
    DefaultMavenPluginManager.getConfiguredMojo
    1. org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:584)
    2. org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:537)
    2 frames
  3. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:120)
    1 frame
  4. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
    9 frames
  5. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
    3 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  7. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    4 frames