How to resolve errors after running "mvn compile" in a guava-libraries project?

I checked the guava libraries and tried to build it using the "mvn compile".

A mysterious error appeared, and I could not find a solution. But "mvn package" or "mvn install" succeeded without errors.

Is "compiling" an invalid maven life cycle for guava libraries?

Below is the main error message for your reference. Thanks for any help in advance.

[INFO] Unpacking /home/xxx/guava-libraries/guava/target/classes to /home/xxx/guava-libraries/guava-gwt/target/guava-sources with includes "" and excludes "META-INF/MANIFEST.MF" org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory. at org.codehaus.plexus.archiver.AbstractUnArchiver.validate(AbstractUnArchiver.java:185) at org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:118) at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:258) 

Note: the paths in the error message are correct.

+4
source share
1 answer

You have encountered an MDEP-98 maven-dependency plugin error that executes during the build of guava-gwt. Unfortunately, there is no solution to solve this problem other than using mvn compile , but mvn package or mvn install .

+8
source

All Articles