private void indexPluginArtifact ( ) throws IOException { dependencyZips = new ArrayList <> ( ) ; Enumeration < ? extends ZipEntry > entries = this . pluginArtifactZip . entries ( ) ; while ( entries . hasMoreElements ( ) ) { ZipEntry zipEntry = entries . nextElement ( ) ; if ( zipEntry . getName ( ) . startsWith ( "WEB-INF/lib/" ) && zipEntry . getName ( ) . toLowerCase ( ) . endsWith ( ".jar" ) ) { ZipFile dependencyZipFile = extractDependency ( zipEntry ) ; if ( dependencyZipFile != null ) { dependencyZips . add ( dependencyZipFile ) ; } } } }
Indexes the content of the plugin artifact . This includes discovering all of the dependency JARs as well as any configuration resources such as plugin definitions .