1)hi, I am facing the below error pom file of my custom plugin.
Unresolveable build extension: Plugin com.atlassian.maven.plugins:maven-jira-plugin:3.11 or one of its dependencies could not be resolved
how to resolve this dependency?
2)for the second custom plugin "import com.atlassian.jira.ComponentManager;" & other atlassian.jira. dependencies are not resolved. from where to get these libraries?
Community moderators have prevented the ability to post new answers.
Hi,
To resolve the error Unknown packaging: atlassian-plugin the AMPS plug-in has to be added to pom.xml.
See the following code snipped:
<build> <plugins> <!-- AMPS plug-in--> <plugin> <groupId>com.atlassian.maven.plugins</groupId> <artifactId>maven-amps-plugin</artifactId> <version>6.2.1</version> </plugin> </plugins> </build>
Cheers,
Ignat.
As I understand yo get these errors in elcipse. In this case you need to run:
atlas-mvn eclipse:eclipse
and then refresh your project.
You can build and run your plugin ignoring the errors by running appropriate atlas-maven commands: https://developer.atlassian.com/docs/developer-tools/working-with-the-sdk/command-reference
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.