Beispiel #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]
Beispiel #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]
Beispiel #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]
Beispiel #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]
Beispiel #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]