[ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 127 (Exit value: 127)
I'm facing this below error while running mvn package
[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.
=== Unhandled exception ===
Please report this issue to the team.
Issue tracker: github.com/aws-cloudformation/cloudformation-cli/issues
Please include the log file 'rpdk.log'
[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 127 (Exit value: 127)
My dependency in pom.xml file
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.basedir}/target/generated-sources/rpdk</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
I'm trying to build this project in GNU/Linux
Getting the same error
this could be lack on python 3.11 support (which was just added) or lack of including the java plugin. Can you please provide a small self contained repo to see if we can help investigate this further?
I had the same error. I run this command(from README file) and it was resolved. pip install cloudformation-cli cloudformation-cli-java-plugin cloudformation-cli-go-plugin cloudformation-cli-python-plugin cloudformation-cli-typescript-plugin