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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by MoShe
, 9 months ago
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
via Stack Overflow by user001
, 1 year ago
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}"'
via GitHub by DT-Priyanka
, 1 year ago
Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.5:attached-rpm (generate-rpm) on project datatorrent-rts: Unable to parse configuration of mojo org.codehaus.mojo:rpm-maven-plugin:2.1.5:attached-rpm for parameter passphrase: Cannot set 'passphrase' in class org.codehaus.mojo.rpm.Passphrase
via GitHub by kurtseebauer
, 1 year ago
Failed to execute goal com.akathist.maven.plugins.launch4j:launc h4j-maven-plugin:1.5.2:launch4j (default-cli) on project xxx: The parameters 'headerType', 'jre' for goal com .akathist.maven.plugins.launch4j:launch4j-maven-plugin:1.5.1:launch4j are missing or invalid
via GitHub by skHollywood
, 7 months ago
Failed to execute goal com.orctom.mojo:was-maven-plugin:1.0.11:deploy (default-cli) on project mmis-um-deploy: The parameters 'wasHome' for goal com.orctom.mojo:was-maven-plugin:1.0.11:deploy are missing or invalid
via gmane.org by Unknown author, 1 year ago
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli) on project aws-java-sdk-core: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java are missing or invalid
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
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:584)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
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:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
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:497)
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)

Users with the same issue

3 times, 1 year ago
3 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.