def plugins(self): """ List of artifact's plugins """ xmlnodes = POMReader.xpath(self.__doc, './pom:build/pom:plugins/pom:plugin') return [Plugin.from_xml_element(x) for x in xmlnodes]
def pluginManagement(self): """ List of plugins from plugin management section """ xmlnodes = POMReader.xpath( self.__doc, './pom:pluginManagement/pom:plugins/pom:plugin') return [Plugin.from_xml_element(x) for x in xmlnodes]
def plugins(self): """ List of plugins """ xmlnodes = POMReader.xpath(self._doc, "./pom:build/pom:plugins/pom:plugin") return [Plugin.from_xml_element(x) for x in xmlnodes]
def pluginManagement(self): """ List of plugins from plugin management section """ xmlnodes = POMReader.xpath(self._doc, "./pom:pluginManagement" "/pom:plugins/pom:plugin") return [Plugin.from_xml_element(x) for x in xmlnodes]