Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minify fails when using maven4 #174

Open
plitter opened this issue Dec 10, 2021 · 3 comments
Open

minify fails when using maven4 #174

plitter opened this issue Dec 10, 2021 · 3 comments

Comments

@plitter
Copy link

plitter commented Dec 10, 2021

I got help from here and it seems to be an easy fix where you add dependency on plexus-utils. Sample test is the foobar.zip.
https://issues.apache.org/jira/browse/MNG-7355

@blutorange
Copy link

blutorange commented Feb 15, 2023

This also now happens with Maven 3.9, where plexus-utils was removed #176

Quick fix is to add a dependency to the plugin like this:

				<plugin>
					<groupId>com.samaxes.maven</groupId>
					<artifactId>minify-maven-plugin</artifactId>
					<version>${minify-maven-plugin.version}</version>
					<dependencies>
						<!-- https://github.com/samaxes/minify-maven-plugin/pull/176 -->
						<dependency>
							<groupId>org.codehaus.plexus</groupId>
							<artifactId>plexus-utils</artifactId>
							<version>${plexus-utils.version}</version>
						</dependency>
					</dependencies>
				</plugin>

sasuw pushed a commit to sevenprinciplesmobility/minify-maven-plugin that referenced this issue Mar 27, 2023
…maven-plugin#174) by adding plexus-utils Maven dependency

- updated other Maven dependencies
@dsueltenfuss
Copy link

Is there a release timeline for this fix?

@sasuw
Copy link

sasuw commented May 23, 2023

For people stumbling upon this error and looking for a quick solution:

<plugin>
    <groupId>com.7p-group</groupId>
    <artifactId>minify-maven-plugin</artifactId>
    <version>1.7.8</version>
</plugin>

This issue is fixed in the forked repo https://github.com/sevenprinciples/minify-maven-plugin

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

No branches or pull requests

4 participants