Plugin execution not covered by lifecycle configuration com.atlassian.maven

Hello team
Im new here , i try to develop my first pluginn , after installing my environment :slight_smile:These kind of error appear.

plugin execution not covered by lifecycle configuration com.atlassian.maven -plugin 8.0.0 (execution: default ,phase: process-resources)

plugin execution not covered by lifecycle configuration com.atlassian.maven -plugin 8.0.0compress (execution: default generate rest doc: process-classes)

plugin execution not covered by lifecycle configuration com.atlassian.maven -plugin 8.0.0compress (execution: default ,filter plugin descriptor, phase proces test ressources: process-resources)

plugin execution not covered by lifecycle configuration com.atlassian.maven -plugin 8.0.0filter (execution: default ,phase: process-resources)

1 Like
  1. Could you share the contents of your pom.xml file?
  2. What action are you taking exactly where you see these errors appear in the output?

I am also facing the Same Issue

This is my Pom file

<?xml version=“1.0” encoding=“UTF-8”?>

<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">
<modelVersion>4.0.0</modelVersion>
<groupId>com.demo.plugin</groupId>
<artifactId>second-hook</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>atlassian-plugin</packaging>
<name>second-hook</name>
<description>This is the com.demo.plugin:second-hook plugin for Atlassian Bitbucket Server.</description>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<amps.version>8.0.2</amps.version>
<bitbucket.version>5.16.0</bitbucket.version>
<bitbucket.data.version>${bitbucket.version}</bitbucket.data.version>
<!-- This property ensures consistency between the key in atlassian-plugin.xml and the OSGi bundle’s key. -->
<atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
<atlassian.spring.scanner.version>1.2.13</atlassian.spring.scanner.version>
<javax.inject.version>1</javax.inject.version>
<jsr311.version>1.1.1</jsr311.version>
<plugin.testrunner.version>2.0.1</plugin.testrunner.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.atlassian.bitbucket.server</groupId>
<artifactId>bitbucket-parent</artifactId>
<version>${bitbucket.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.atlassian.bitbucket.server</groupId>
<artifactId>bitbucket-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.bitbucket.server</groupId>
<artifactId>bitbucket-spi</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.plugin</groupId>
<artifactId>atlassian-spring-scanner-annotation</artifactId>
<version>${atlassian.spring.scanner.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.sal</groupId>
<artifactId>sal-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>${javax.inject.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
<version>${jsr311.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.plugins</groupId>
<artifactId>atlassian-plugins-osgi-testrunner</artifactId>
<version>${plugin.testrunner.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.8.5</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>bitbucket-maven-plugin</artifactId>
<version>${amps.version}</version>
<extensions>true</extensions>
<configuration>
<products>
<product>
<id>bitbucket</id>
<instanceId>bitbucket</instanceId>
<version>${bitbucket.version}</version>
<dataVersion>${bitbucket.data.version}</dataVersion>
</product>
</products>
<instructions>
<Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key>
<!-- Add package to export here -->
<Export-Package>com.demo.plugin.hook.api,</Export-Package>
<!-- Add package import here -->
<Import-Package>org.springframework.osgi.;resolution:=“optional”, org.eclipse.gemini.blueprint.;resolution:=“optional”, </Import-Package>
<!-- Ensure plugin is Spring powered -->
<Spring-Context>
</Spring-Context>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>com.atlassian.plugin</groupId>
<artifactId>atlassian-spring-scanner-maven-plugin</artifactId>
<version>${atlassian.spring.scanner.version}</version>
<executions>
<execution>
<goals>
<goal>atlassian-spring-scanner</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
<configuration>
<scannedDependencies>
<dependency>
<groupId>com.atlassian.plugin</groupId>
<artifactId>atlassian-spring-scanner-external-jar</artifactId>
</dependency>
</scannedDependencies>
<verbose>false</verbose>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<releases>
<enabled>true</enabled>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
<id>atlassian-public</id>
<url>https://maven.atlassian.com/content/repositories/atlassian-public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases>
<enabled>true</enabled>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<updatePolicy>never</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
<id>atlassian-public</id>
<url>https://maven.atlassian.com/content/repositories/atlassian-public</url>
</pluginRepository>
</pluginRepositories>
</project>

Giving this error at

Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration: com.atlassian.maven.plugins:bitbucket-maven-plugin:8.0.2:filter-plugin-descriptor (execution: default-filter-plugin-descriptor, phase: process-resources)
- Plugin execution not covered by lifecycle configuration: com.atlassian.maven.plugins:bitbucket-maven-plugin:8.0.2:filter-test-plugin-descriptor (execution: default-filter-test-plugin-descriptor, phase: process-test-
resources)
- Plugin execution not covered by lifecycle configuration: com.atlassian.maven.plugins:bitbucket-maven-plugin:8.0.2:compress-resources (execution: default-compress-resources, phase: process-resources)
- Plugin execution not covered by lifecycle configuration: com.atlassian.maven.plugins:bitbucket-maven-plugin:8.0.2:generate-rest-docs (execution: default-generate-rest-docs, phase: process-classes)