Help with Amazon Q Transform set up failures

0

Hey everyone, I am trying to test Amazon Q Transform to update an incredibly simple Java app from Java8 to Java17

The POM file is really simple for the purpose of a test (omitted common lines):

...
 <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
  </properties>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
      <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
        <version>2.7.5</version>
      </dependency>
  </dependencies>
...

However I've been having big issues along the way, I am currently stuck at this error: Enter image description here

Failed to execute maven - which is impossible as the project is incredibly simple and has 2 dependencies and I built it already. And after I wait for the transform job to finish I got at the end this: Enter image description here

Can someone please assist me this should be incredibly easy, I just want to see Amazon Q Transform in action. 🙏

Antonio
asked 5 months ago259 views
1 Answer
0

Update: I managed to get a transformation going with the VSCode plugin, even though I am getting the same maven error. It looks like the VSCode plugin attempts to continue with the transformation unlike the IntelliJ one. You can see the errors on the right. Enter image description here

The errors are:

Failed to execute Maven. It is possible that the upload does not include all dependencies. We will still attempt to complete the transformation.

and

IAM Identity Center (...) returned no roles. Ensure the user is assigned to an account with a Permission Set.
Antonio
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions