예제 #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]