Skip to content

Commit 51956d8

Browse files
authored
docs: Correct XML formatting for Maven configuration in Large Messages utility docs
1 parent 8a898f9 commit 51956d8

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

docs/utilities/large_messages.md

+35-35
Original file line numberDiff line numberDiff line change
@@ -105,44 +105,44 @@ Depending on your version of Java (either Java 1.8 or 11+), the configuration sl
105105
=== "Maven Java 11+"
106106
```xml hl_lines="3-7 16 18 24-27"
107107
<dependencies>
108-
...
109-
<dependency>
110-
<groupId>software.amazon.lambda</groupId>
111-
<artifactId>powertools-large-messages</artifactId>
112-
<version>{{ powertools.version }}</version>
113-
</dependency>
114-
...
108+
...
109+
<dependency>
110+
<groupId>software.amazon.lambda</groupId>
111+
<artifactId>powertools-large-messages</artifactId>
112+
<version>{{ powertools.version }}</version>
113+
</dependency>
114+
...
115115
</dependencies>
116116
...
117117
<!-- configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambda-powertools-java aspects into your project -->
118118
<build>
119-
<plugins>
120-
...
121-
<plugin>
122-
<groupId>dev.aspectj</groupId>
123-
<artifactId>aspectj-maven-plugin</artifactId>
124-
<version>1.13.1</version>
125-
<configuration>
126-
<source>11</source> <!-- or higher -->
127-
<target>11</target> <!-- or higher -->
128-
<complianceLevel>11</complianceLevel> <!-- or higher -->
129-
<aspectLibraries>
130-
<aspectLibrary>
131-
<groupId>software.amazon.lambda</groupId>
132-
<artifactId>powertools-large-messages</artifactId>
133-
</aspectLibrary>
134-
</aspectLibraries>
135-
</configuration>
136-
<executions>
137-
<execution>
138-
<goals>
139-
<goal>compile</goal>
140-
</goals>
141-
</execution>
142-
</executions>
143-
</plugin>
144-
...
145-
</plugins>
119+
<plugins>
120+
...
121+
<plugin>
122+
<groupId>dev.aspectj</groupId>
123+
<artifactId>aspectj-maven-plugin</artifactId>
124+
<version>1.13.1</version>
125+
<configuration>
126+
<source>11</source> <!-- or higher -->
127+
<target>11</target> <!-- or higher -->
128+
<complianceLevel>11</complianceLevel> <!-- or higher -->
129+
<aspectLibraries>
130+
<aspectLibrary>
131+
<groupId>software.amazon.lambda</groupId>
132+
<artifactId>powertools-large-messages</artifactId>
133+
</aspectLibrary>
134+
</aspectLibraries>
135+
</configuration>
136+
<executions>
137+
<execution>
138+
<goals>
139+
<goal>compile</goal>
140+
</goals>
141+
</execution>
142+
</executions>
143+
</plugin>
144+
...
145+
</plugins>
146146
</build>
147147
```
148148

@@ -416,4 +416,4 @@ If you need to customize this `S3Client`, you can leverage the `LargeMessageConf
416416
It gives more control, especially when dealing with partial failures with SQS (see the batch module).
417417
- The new module only provides an annotation, an equivalent to the `SqsUtils` class is not available anymore in this new version.
418418

419-
Finally, if you are still using the `powertools-sqs` library for batch processing, consider moving to `powertools-batch` at the same time to remove the dependency on this library completely; it has been deprecated and will be removed in v2.
419+
Finally, if you are still using the `powertools-sqs` library for batch processing, consider moving to `powertools-batch` at the same time to remove the dependency on this library completely; it has been deprecated and will be removed in v2.

0 commit comments

Comments
 (0)