Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
72e7e48e1b | ||
|
|
de21f4fc0d | ||
|
|
aa120eae1b | ||
|
|
c9f56d7187 |
@@ -7,8 +7,8 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.inteligr8.alfresco</groupId>
|
||||
<artifactId>amp-plugin</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<artifactId>amp-maven-plugin</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<packaging>maven-plugin</packaging>
|
||||
|
||||
<name>A Maven plugin to generate AMP files</name>
|
||||
|
||||
@@ -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