4 Commits
Author SHA1 Message Date
brian.long 72e7e48e1b v1.1.0 pom 2022-04-25 21:46:38 -04:00
brian.long de21f4fc0d Merge branch 'develop' into stable 2022-04-25 21:46:12 -04:00
brian.long aa120eae1b allow AMP with warning 2022-04-25 21:44:19 -04:00
brian.long c9f56d7187 renamed artifact to amp-maven-plugin 2022-04-25 21:44:06 -04:00
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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() {