Commit aa120eae authored by Brian Long's avatar Brian Long
Browse files

allow AMP with warning

parent c9f56d71
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -247,7 +247,7 @@ public class AmpMojo extends AbstractMojo implements ArtifactResolutionCallback
    		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() {