Hello!
I have difficulties installing my plugin to Butbucket Server v7.6.0.
I have a plugin with CSE (button). I have built it with:
npm run-script build:prod
atlas-package
bitbucket-maven-plugin is configured as the following:
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>bitbucket-maven-plugin</artifactId>
<version>${amps.version}</version>
<extensions>true</extensions>
<configuration>
<compressJs>false</compressJs>
<compressCss>false</compressCss>
<enableQuickReload>true</enableQuickReload>
<products>
<product>
<id>bitbucket</id>
<instanceId>bitbucket</instanceId>
<version>${bitbucket.version}</version>
<dataVersion>${bitbucket.data.version}</dataVersion>
</product>
</products>
<pluginDependencies>
<pluginDependency>
<groupId>com.atlassian.plugins</groupId>
<artifactId>atlassian-clientside-extensions-page-bootstrapper</artifactId>
</pluginDependency>
</pluginDependencies>
<instructions>
<Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key>
<Atlassian-Scan-Folders>META-INF/plugin-descriptors</Atlassian-Scan-Folders>
<Import-Package>
com.atlassian.plugin.clientsideextensions;version="${cse.version}",
com.atlassian.plugin.osgi.bridge.external,
*
</Import-Package>
<Spring-Context>*</Spring-Context>
</instructions>
<pluginArtifacts>
<pluginArtifact>
<groupId>com.atlassian.plugins</groupId>
<artifactId>atlassian-clientside-extensions-page-bootstrapper</artifactId>
<version>${cse.version}</version>
</pluginArtifact>
</pluginArtifacts>
</configuration>
</plugin>
...
<properties>
<atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
<frontend.maven.plugin.version>1.6</frontend.maven.plugin.version>
<frontend.maven.plugin.install.directory>${project.build.directory}</frontend.maven.plugin.install.directory>
<nodeVersion>v12.13.0</nodeVersion>
<fe.cmd.install>install --no-progress</fe.cmd.install>
<fe.cmd.build>build:prod</fe.cmd.build>
<fe.cmd.build.dev>build:dev</fe.cmd.build.dev>
<frontend.working.directory>src/main/bpmn-diff-bitbucket-plugin</frontend.working.directory>
<cse.version>1.2.0</cse.version>
<sal.version>4.0.0</sal.version>
<spring.version>5.0.10.RELEASE</spring.version>
<atlassian.spring.scanner.version>2.1.9</atlassian.spring.scanner.version>
<atlassian.plugins.version>5.2.1</atlassian.plugins.version>
<amps.version>8.0.0</amps.version>
<soy.version>5.0.0</soy.version>
<webfragments.version>5.1.0</webfragments.version>
<webresources.version>4.1.3</webresources.version>
<jsonapi.version>0.11</jsonapi.version>
<gson.libversion>2.3.1</gson.libversion>
<bitbucket.version>7.4.0</bitbucket.version>
<bitbucket.data.version>${bitbucket.version}</bitbucket.data.version>
<bitbucket.osgi.version>7.0.0</bitbucket.osgi.version>
<bitbucket.api.version>7.2.2</bitbucket.api.version>
<atr.version>4.0.0</atr.version>
<quick.reload.version>3.0.0</quick.reload.version>
</properties>
I have “Atlassian Plugins - Client-side Extensions - Runtime” system app installed (Version: 1.2.0) with all 4 modules enabled.
I have “Atlassian Plugins - Client-side Extensions - Page Bootstrapper” user-installed app installed (Version: 1.2.3) with all 5 modules enabled.
And I have my plugin installed with all modules enabled. I can see all the apps on the Manage apps page.
Everything looks fine except I don’t see the expected CSE button. And I don’t see any errors or warning in the server logs.
I can see the button when I run my plugin locally. So I was wondering what is the correct way to install it? Or is there a problem with the way I build the plugin artifact? Or is there a problem with plugin setting or versions?