Antibrumm / copy-maven-plugin

Maven plugin for file copy / move and replacing content
12 stars 3 forks source link

dependency on plexus utils missing? #7

Open line-o opened 1 year ago

line-o commented 1 year ago

I had to add the plexus utils dependency in a POM that uses copy-maven-plugin

Before I got

[ERROR] Failed to execute goal ch.mfrey.maven.plugin:copy-maven-plugin:1.0.0:copy (autodeploy-expath-pkgs-for-appassembler) on project exist-distribution: Execution autodeploy-expath-pkgs-for-appassembler of goal ch.mfrey.maven.plugin:copy-maven-plugin:1.0.0:copy failed: A required class was missing while executing ch.mfrey.maven.plugin:copy-maven-plugin:1.0.0:copy: org/codehaus/plexus/util/FileUtils

Adding

 <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-utils</artifactId>
       <version>1.1</version>
   </dependency>

Did solve the issue. I do wonder which version of plexus-utils would be optimal and also why this dependency is not declared.