Пример #1
0
 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]
Пример #2
0
 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]
Пример #3
0
 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]
Пример #4
0
 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]
Пример #5
0
 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]