Merge branch 'develop' into stable

This commit is contained in:
2022-04-25 21:46:12 -04:00
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.inteligr8.alfresco</groupId>
<artifactId>amp-plugin</artifactId>
<artifactId>amp-maven-plugin</artifactId>
<version>1.0.7</version>
<packaging>maven-plugin</packaging>

View File

@@ -245,9 +245,9 @@ public class AmpMojo extends AbstractMojo implements ArtifactResolutionCallback
for (FileSet fileset : this.libDirectories)
libcount += this.zipFileset(zstream, fileset, "lib");
if (libcount == 0)
throw new IllegalStateException("There are no external libraries to include, making an AMP pointless");
this.getLog().warn("There are no external libraries to include; an AMP is not recommended");
}
private List<String> getExclusions() {