Merge branch 'develop' into stable
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -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>
|
||||
|
||||
|
@@ -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() {
|
||||
|
Reference in New Issue
Block a user