Author: kwin
Date: Wed Apr 12 07:16:41 2017
New Revision: 1791076

URL: http://svn.apache.org/viewvc?rev=1791076&view=rev
Log:
fix regular expression matching for maven artifact ids

Modified:
    sling/site/trunk/lib/view.pm

Modified: sling/site/trunk/lib/view.pm
URL: 
http://svn.apache.org/viewvc/sling/site/trunk/lib/view.pm?rev=1791076&r1=1791075&r2=1791076&view=diff
==============================================================================
--- sling/site/trunk/lib/view.pm (original)
+++ sling/site/trunk/lib/view.pm Wed Apr 12 07:16:41 2017
@@ -141,7 +141,7 @@ sub downloads {
                 $artifactLabel = "Web Application";
                } elsif ($classifier eq "-app") {
                 $artifactLabel = "Java Application";
-               } elsif ($artifact =~/^maven-/) {
+               } elsif ($artifact =~/^maven-.*-plugin|.*-maven-plugin/) {
                        $target = \$maven;
                 $artifactLabel = "Maven Plugin";
                } else {


Reply via email to