Skip to content

Dependency error in aem-maven-plugin when running maven 3.9+#19

Open
SWiggels wants to merge 1 commit into
unic:masterfrom
SWiggels:update-dependencies-for-maven-3.9+
Open

Dependency error in aem-maven-plugin when running maven 3.9+#19
SWiggels wants to merge 1 commit into
unic:masterfrom
SWiggels:update-dependencies-for-maven-3.9+

Conversation

@SWiggels

@SWiggels SWiggels commented Aug 7, 2023

Copy link
Copy Markdown

Remove org.codehaus.plexus.util dependencies and replace with StringUtils and Stream-API.

Reason:
Maven 3.9.0 removed dependency backward compatibility to plexus-utils (see maven-3.9.0/release-notes)

Possible workaround for 2.0.16 is to define:

<groupId>com.unic.maven.plugins</groupId>
                    <artifactId>aem-maven-plugin</artifactId>
                    <version>2.0.16</version>
                    <dependencies>
                        <dependency>
                            <groupId>org.codehaus.plexus</groupId>
                            <artifactId>plexus-utils</artifactId>
                            <version>3.5.1</version>
                        </dependency>
                    </dependencies>
</plugin>

…tils and Stream API.

Reason: Maven 3.9.0 removed dependency backward compatibility to plexus-utils (see maven-3.9.0/release-notes)
@CLAassistant

CLAassistant commented Aug 7, 2023

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@SWiggels SWiggels changed the title Dependency error in aem-maven-plugin when runnig maven 3.9+ Dependency error in aem-maven-plugin when running maven 3.9+ Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants