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