Description
pom.xml files for Maven releases prior to Fecru 3.8 were complete and contained all the metadata, including entire list of dependencies. Here is an example of pom.xml from Maven release 3.7.0-20150127093303:
<project> <parent> <groupId>com.atlassian.fisheye</groupId> <artifactId>atlassian-fisheye-root</artifactId> <version>3.7.0-20150127093303</version> <relativePath>../../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>fisheye-jar</artifactId> <packaging>jar</packaging> <dependencies> <dependency> <groupId>com.atlassian.fisheye</groupId> <artifactId>atlassian-fisheye-dependencies</artifactId> <type>pom</type> </dependency> <!-- the fisheye-api is not a dependency of the main fisheye pom, because it is built from source in the fisheye project as part of the fisheye build, but fisheye-jar does depend on it. --> <dependency> <groupId>com.atlassian.fisheye</groupId> <artifactId>atlassian-fisheye-api</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <configuration> <packaging>jar</packaging> </configuration> </plugin> </plugins> </build> </project>
<project> <parent> <groupId>com.atlassian.fisheye</groupId> <artifactId>atlassian-fisheye-root</artifactId> <version>3.7.0-20150127093303</version> <relativePath>../../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>atlassian-fisheye-api</artifactId> <properties> <build.sal.version>${SAL_VERSION}</build.sal.version> <build.atlassian.event.version>${ATLASSIAN_EVENT_VERSION}</build.atlassian.event.version> <atlassian.plugins.version>${ATLASSIAN_PLUGINS_VERSION}</atlassian.plugins.version> <atlassian.plugins.webfragment.version>${ATLASSIAN_PLUGINS_WEBFRAGMENT}</atlassian.plugins.webfragment.version> </properties> <dependencies> <dependency> <groupId>com.atlassian.event</groupId> <artifactId>atlassian-event</artifactId> <version>${build.atlassian.event.version}</version> <exclusions> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> </exclusion> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> </exclusion> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> <exclusion> <groupId>xerces</groupId> <artifactId>xmlParserAPIs</artifactId> </exclusion> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> </exclusions> </dependency> <!-- JAXB annotations --> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> <version>2.1.10</version> </dependency> <!-- atlassian-plugins deps --> <dependency> <groupId>com.atlassian.plugins</groupId> <artifactId>atlassian-plugins-webfragment</artifactId> <version>${atlassian.plugins.webfragment.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.atlassian.plugins.rest</groupId> <artifactId>atlassian-rest-common</artifactId> <version>${ATLASSIAN_REST_VERSION}</version> <exclusions> <exclusion> <groupId>com.atlassian.sal</groupId> <artifactId>sal-api</artifactId> </exclusion> <exclusion> <groupId>com.atlassian.sal</groupId> <artifactId>sal-core</artifactId> </exclusion> </exclusions> </dependency> <!-- trusted apps --> <dependency> <groupId>com.atlassian.security.auth.trustedapps</groupId> <artifactId>atlassian-trusted-apps-core</artifactId> <version>${ATLASSIAN_TRUSTED_APPS_VERSION}</version> <exclusions> <exclusion> <groupId>bouncycastle</groupId> <artifactId>bcprov-jdk14</artifactId> <!-- we include 15 explicitly --> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <!-- we include 15 explicitly --> </exclusion> </exclusions> </dependency> <!-- filed under 'misc' --> <dependency> <groupId>opensymphony</groupId> <artifactId>oscore</artifactId> <version>2.2.7</version> </dependency> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${GUAVA_VERSION}</version> <exclusions> <exclusion> <groupId>org.ow2.asm</groupId> <artifactId>asm-all</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> </dependency> <dependency> <groupId>com.atlassian.guava</groupId> <artifactId>guava</artifactId> </dependency> <dependency> <groupId>com.atlassian.renderer</groupId> <artifactId>atlassian-renderer</artifactId> </dependency> <dependency> <groupId>com.atlassian.extras</groupId> <artifactId>atlassian-extras</artifactId> </dependency> <dependency> <groupId>com.atlassian.applinks</groupId> <artifactId>applinks-api</artifactId> <version>${APPLINKS_VERSION}</version> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>${source.level}</source> <target>${source.level}</target> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestEntries> <Specification-Title>FishEye/Crucible Java API</Specification-Title> <Specification-Version>${project.version}</Specification-Version> <Specification-Vendor>Atlassian</Specification-Vendor> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <configuration> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <version>${project.version}</version> <packaging>jar</packaging> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <configuration> <packaging>jar</packaging> </configuration> </plugin> </plugins> </build> </project>
And here is how pom.xml looks for new releases (this is an example, all poms seem to look the same for 5.8 and 5.9 releases):
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.atlassian.fisheye</groupId>
<artifactId>atlassian-fisheye-api</artifactId>
<version>3.9.0-m01</version>
</project>