Hi ,
I m developing a sample Active Object plugin ,Regarding this I configure the pom.xml file as follows
(jira version 5.0 )
I got the Build error ( Error building POM (may not be this project's POM)), i m confusing where the mistake has been done
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<br< a="">> <modelVersion>4.0.0</modelVersion>
<groupId>com.atlassian.tutorial.ao.todo</groupId>
<artifactId>aotodo</artifactId>
<version>1.0</version>
<organization>
<name>Example Company</name>
<url>http://www.example.com/</url>
</organization>
<name>aotodo</name>
<description>This is the com.atlassian.tutorial.ao.todo:aotodo plugin for Atlassian Refapp.</description>
<packaging>atlassian-plugin</packaging>
<...
try with this
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.atlassian.maven.plugins</groupId> <artifactId>maven-refapp-plugin</artifactId> <version>3.11</version> <organization> <name>Example Company</name> <url>http://www.example.com/</url> </organization> <name>maven-refapp-plugin</name> <description>This is the com.atlassian.maven.plugins:maven-refapp-plugin plugin for Atlassian JIRA.</description> <packaging>atlassian-plugin</packaging> <dependencies> <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-api</artifactId> <version>${jira.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <scope>test</scope> </dependency> <dependency> <groupId>com.atlassian.activeobjects</groupId> <artifactId>activeobjects-plugin</artifactId> <version>${ao.version}</version> <scope>provided</scope> </dependency> <!-- SAL, the Active Objects plugin uses SAL's API for transactions --> <dependency> <groupId>com.atlassian.sal</groupId> <artifactId>sal-api</artifactId> <version>2.4.1</version> <scope>provided</scope> </dependency> <!-- Google Collections, useful utilities for manipulating collections --> <dependency> <groupId>com.google.collections</groupId> <artifactId>google-collections</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> <!-- We're going to write a simple servlet --> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> <scope>provided</scope> </dependency> <!-- WIRED TEST RUNNER DEPENDENCIES --> <dependency> <groupId>com.atlassian.plugins</groupId> <artifactId>atlassian-plugins-osgi-testrunner</artifactId> <version>${plugin.testrunner.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>javax.ws.rs</groupId> <artifactId>jsr311-api</artifactId> <version>1.1.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.2.2-atlassian-1</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>com.atlassian.maven.plugins</groupId> <artifactId>maven-jira-plugin</artifactId> <version>${amps.version}</version> <extensions>true</extensions> <configuration> <productVersion>${jira.version}</productVersion> <productDataVersion>${jira.version}</productDataVersion> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>com.atlassian.maven.plugins</groupId> <artifactId>maven-refapp-plugin</artifactId> <version>${amps.version}</version> <extensions>true</extensions> <configuration> <pluginArtifacts> <pluginArtifact> <groupId>com.atlassian.activeobjects</groupId> <artifactId>activeobjects-plugin</artifactId> <version>${ao.version}</version> </pluginArtifact> <pluginArtifact> <groupId>com.atlassian.activeobjects</groupId> <artifactId>activeobjects-refapp-spi</artifactId> <version>${ao.version}</version> </pluginArtifact> </pluginArtifacts> <productVersion>${refapp.version}</productVersion> </configuration> </plugin> </plugins> </build> <properties> <refapp.version>2.12.0</refapp.version> <jira.version>5.1.8</jira.version> <amps.version>4.1.4</amps.version>//change it to the your installed sdk version <plugin.testrunner.version>1.1</plugin.testrunner.version> </properties> </project>
Today only! Share what you’re the most excited about for Team ‘25 or just dance out the beginning of a new quarter with us.
Comment the postOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.