All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.integration.hub-atlassian-config.1.0.1.source-code.atlassian-plugin.xml Maven / Gradle / Ivy

<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2">
    <plugin-info>
        <description>${project.description}</description>
        <version>${project.version}</version>
        <vendor name="${project.organization.name}" url="${project.organization.url}" />
        <param name="plugin-icon">images/BlackDuckLogo.png</param>
        <param name="plugin-logo">images/BlackDuckLogo.png</param>
        <bundle-instructions>
			<Import-Package>
				com.atlassian.plugin.osgi.bridge.external,
		        com.atlassian.sal.api,
		        com.atlassian.sal.api.auth,
		        com.atlassian.sal.api.pluginsettings,
		        com.atlassian.sal.api.transaction,
		        com.atlassian.sal.api.user,
		        com.atlassian.templaterenderer;resolution:="optional",
		        com.atlassian.templaterenderer.velocity.one.six,
		        com.blackducksoftware.integration.build;resolution:="optional",
		        com.blackducksoftware.integration.build.extractor;resolution:="optional",
		        com.sun.net.httpserver;resolution:="optional",
		        com.thoughtworks.xstream;resolution:="optional",
		        com.thoughtworks.xstream.io;resolution:="optional",
		        com.thoughtworks.xstream.io.xml;resolution:="optional",
		        javax.crypto;resolution:="optional",
		        javax.net.ssl;resolution:="optional",
		        javax.security.auth.x500;resolution:="optional",
		        javax.servlet;resolution:="optional",
		        javax.servlet.http;resolution:="optional",
		        javax.ws.rs;resolution:="optional",
		        javax.ws.rs.core;resolution:="optional",
		        javax.xml.bind.annotation;resolution:="optional",
		        javax.xml.namespace;resolution:="optional",
		        javax.xml.parsers;resolution:="optional",
		        javax.xml.transform;resolution:="optional",
		        javax.xml.transform.sax;resolution:="optional",
		        javax.xml.transform.stream;resolution:="optional",
		        javax.xml.xpath;resolution:="optional",
		        org.w3c.dom;resolution:="optional",
		        org.w3c.dom.ls;resolution:="optional",
		        org.xml.sax;resolution:="optional",
		        org.xml.sax.ext;resolution:="optional",
		        org.xml.sax.helpers;resolution:="optional",
		        sun.misc;resolution:="optional"
			</Import-Package>
		</bundle-instructions>
    </plugin-info>
    
    <!-- publish our component -->
    <component key="bdHubRefApp" class="com.blackducksoftware.integration.atlassian.BdHubRefAppImpl" public="true">
        <interface>com.blackducksoftware.integration.atlassian.BdHubRefApp</interface>
    </component>
    
    <!-- import from the product container -->
    <component-import key="applicationProperties" interface="com.atlassian.sal.api.ApplicationProperties" />
    
    <component-import key="userManager" interface="com.atlassian.sal.api.user.UserManager" />
	<component-import key="loginUriProvider" interface="com.atlassian.sal.api.auth.LoginUriProvider" />
	<component-import key="renderer" interface="com.atlassian.templaterenderer.velocity.one.six.VelocityTemplateRenderer" />
 
	<servlet key="admin-servlet" class="com.blackducksoftware.integration.atlassian.HubAdminServlet">
  		<url-pattern>/hub-integration/admin</url-pattern>
	</servlet>
	
	<resource type="i18n" name="i18n" location="com.blackducksoftware.integration.atlassian.i18n" />
	
	<web-resource name="Admin Web Resources" key="hub-atlassian-config-admin-resources"> 
  		<dependency>com.atlassian.auiplugin:ajs</dependency> 
  		<resource type="download" name="js/hub-admin.js" location="js/hub-admin.js"/> 
  		<resource type="download" name="hub-atlassian-config.css" location="/css/hub-atlassian-config.css"/>
  		<resource type="download" name="fonts/" location="/font-awesome-4.5.0/fonts"/>
        <resource type="download" name="font-awesome.min.css" location="/font-awesome-4.5.0/css/font-awesome.min.css"/>
  		 <context>hub-atlassian-config</context>
	</web-resource>
	
	<component-import key="pluginSettingsFactory" interface="com.atlassian.sal.api.pluginsettings.PluginSettingsFactory" />
	<component-import key="transactionTemplate" interface="com.atlassian.sal.api.transaction.TransactionTemplate" />

	<rest key="rest" path="/hub-integration" version="1.0">
	  <description>Provides REST resources for the admin UI.</description>
	</rest>
	
	<web-item key="jira-menu-item" name="Hub Admin" section="system.admin/globalsettings" weight="10" application="jira">
	  <description>Link to hub admin page.</description> 
	  <label key="hub.integration.admin.label" /> 
	  <link linkId="hub-admin-link">/plugins/servlet/hub-integration/admin</link> 
	</web-item>
	<web-item key="bamboo-menu-item" name="Hub Admin" section="system.admin/plugins" weight="10" application="bamboo"> 
	  <description>Link to hub admin page.</description> 
	  <label key="hub.integration.admin.label" /> 
	  <link linkId="hub-admin-link">/plugins/servlet/hub-integration/admin</link> 
	</web-item>
	<web-item key="refapp-menu-item" name="Hub Admin" section="system.admin/general" weight="10" application="refapp"> 
	  <description>Link to hub admin page.</description> 
	  <label key="hub.integration.admin.label" /> 
	  <link linkId="hub-admin-link">/plugins/servlet/hub-integration/admin</link> 
	</web-item>
</atlassian-plugin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy