Source

atlassian-oauth / pom.xml

Full commit
<?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>
    <parent>
        <groupId>com.atlassian.pom</groupId>
        <artifactId>atlassian-public-pom</artifactId>
        <version>28</version>
    </parent>
    <groupId>com.atlassian.oauth</groupId>
    <artifactId>atlassian-oauth</artifactId>
    <version>1.3.3</version>
    <name>Atlassian OAuth</name>
    <description>Plugin to provide support for OAuth in our RESTful APIs</description>
    <packaging>pom</packaging>
  
    <modules>
        <module>api</module>
        <module>test-utils</module>
        <module>bridge</module>
        <module>shared</module>
        <module>consumer-plugin</module>
        <module>consumer-spi</module>
        <module>consumer-core</module>
        <module>consumer-sal-plugin</module>
        <module>service-provider-spi</module>
        <module>service-provider-plugin</module>
        <module>service-provider-sal-plugin</module>
        <module>service-provider-testdata-plugin</module>
        <module>admin-plugin</module>
        <module>signature-generator-plugin</module>
        <module>integration-tests</module>
    </modules>
       
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>maven-amps-plugin</artifactId>
                    <version>${amps.version}</version>
                    <extensions>true</extensions>
                    <configuration>
                        <httpPort>${httpPort}</httpPort>
                        <contextPath>${contextPath}</contextPath>
                        <pluginArtifacts>
                            <pluginArtifact>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>atlassian-oauth-api</artifactId>
                                <version>${project.version}</version>
                            </pluginArtifact>
                            <pluginArtifact>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>atlassian-oauth-service-provider-spi</artifactId>
                                <version>${project.version}</version>
                            </pluginArtifact>
                            <pluginArtifact>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>atlassian-oauth-consumer-spi</artifactId>
                                <version>${project.version}</version>
                            </pluginArtifact>
                            <pluginArtifact>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>atlassian-oauth-service-provider-plugin</artifactId>
                                <version>${project.version}</version>
                            </pluginArtifact>
                            <pluginArtifact>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>atlassian-oauth-service-provider-sal-plugin</artifactId>
                                <version>${project.version}</version>
                            </pluginArtifact>
                            <pluginArtifact>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>atlassian-oauth-consumer-plugin</artifactId>
                                <version>${project.version}</version>
                            </pluginArtifact>
                            <pluginArtifact>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>atlassian-oauth-consumer-sal-plugin</artifactId>
                                <version>${project.version}</version>
                            </pluginArtifact>
                            <pluginArtifact>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>atlassian-oauth-admin-plugin</artifactId>
                                <version>${project.version}</version>
                            </pluginArtifact>
                            <pluginArtifact>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>atlassian-oauth-signature-generator-plugin</artifactId>
                                <version>${project.version}</version>
                            </pluginArtifact>
                        </pluginArtifacts>
                        <products>
                            <product>
                                <id>bamboo</id>
                                <version>${bamboo.version}</version>
                            </product>
                            <product>
                                <id>confluence</id>
                                <version>${confluence.version}</version>
                            </product>
                            <product>
                                <id>fecru</id>
                                <version>${fecru.version}</version>
                            </product>
                            <product>
                                <id>jira</id>
                                <version>${jira.version}</version>
                            </product>
                            <product>
                                <id>refapp</id>
                                <version>${refapp.version}</version>
                            </product>
                        </products>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.4.2</version>
                    <configuration>
                        <includes>
                            <include>**/*Test.java</include>
                        </includes>
                        <excludes>
                            <exclude>it/**/*</exclude>
                            <exclude>**/*$*</exclude>
                        </excludes>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.twdata.maven</groupId>
                    <artifactId>cargo-maven2-plugin</artifactId>
                    <version>1.0-beta-2-db2</version>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <aggregate>true</aggregate>
                    <excludePackageNames>*.internal:com.atlassian.gadgets.refimpl:com.atlassian.gadgets.test:com.atlassian.gadgets.util</excludePackageNames>
                    <links>
                        <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
                    </links>
                </configuration>
            </plugin>
        </plugins>
    </reporting>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit-dep</artifactId>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-all</artifactId>
        </dependency>
        <dependency>
            <groupId>net.sourceforge.findbugs</groupId>
            <artifactId>jsr305</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.5.2</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-nop</artifactId>
            <version>1.5.2</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>net.jcip</groupId>
                <artifactId>jcip-annotations</artifactId>
                <version>1.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>net.sourceforge.findbugs</groupId>
                <artifactId>jsr305</artifactId>
                <version>1.3.2</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-io</groupId>
                <artifactId>commons-io</artifactId>
                <version>1.4</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>net.oauth.core</groupId>
                <artifactId>oauth</artifactId>
                <version>20090617</version>
            </dependency>
            <dependency>
                <groupId>net.oauth.core</groupId>
                <artifactId>oauth-provider</artifactId>
                <version>20090531</version>
            </dependency>
            <dependency>
                <groupId>net.oauth.core</groupId>
                <artifactId>oauth-httpclient4</artifactId>
                <version>20090617</version>
            </dependency>

            <!-- Provided, non-bundled dependencies -->
            <dependency>
                <groupId>com.atlassian.bundles</groupId>
                <artifactId>google-collections</artifactId>
                <version>1.0</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.templaterenderer</groupId>
                <artifactId>atlassian-template-renderer-api</artifactId>
                <version>${template.renderer.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.templaterenderer</groupId>
                <artifactId>atlassian-template-renderer-velocity1.6-plugin</artifactId>
                <version>${template.renderer.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.velocity.htmlsafe</groupId>
                <artifactId>velocity-htmlsafe</artifactId>
                <version>${velocity.htmlsafe.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.sal</groupId>
                <artifactId>sal-api</artifactId>
                <version>${sal.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-lang</groupId>
                <artifactId>commons-lang</artifactId>
                <version>2.4</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>commons-codec</groupId>
                <artifactId>commons-codec</artifactId>
                <version>1.3</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
                <version>2.5</version>
                <scope>provided</scope>
            </dependency>

            <!-- Test-only dependencies -->
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit-dep</artifactId>
                <version>4.5</version>
                <scope>test</scope>
                <exclusions>
                    <exclusion>
                        <groupId>org.hamcrest</groupId>
                        <artifactId>hamcrest-core</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-core</artifactId>
                <version>1.6</version>
                <scope>test</scope>
                <exclusions>
                    <exclusion>
                        <groupId>org.hamcrest</groupId>
                        <artifactId>hamcrest-core</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-all</artifactId>
                <version>1.2</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>net.sourceforge.htmlunit</groupId>
                <artifactId>htmlunit</artifactId>
                <version>2.5</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>atlassian-oauth-test-utils</artifactId>
                <version>${project.version}</version>
                <scope>test</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <properties>
        <contextPath>/oauth</contextPath>
        <httpPort>3200</httpPort>
        <jdkLevel>1.6</jdkLevel>
        <amps.version>3.4</amps.version>
        <bamboo.version>3.1</bamboo.version>
        <confluence.version>4.0-beta1</confluence.version>
        <fecru.version>2.5.4.studio-6-20110512165950</fecru.version>
        <jira.version>4.4-rc1</jira.version>
        <refapp.version>2.11.0</refapp.version>
        <sal.version>2.2.0</sal.version>
        <template.renderer.version>1.0</template.renderer.version>
        <velocity.htmlsafe.version>1.1.beta1</velocity.htmlsafe.version>
    </properties>

    <scm>
        <connection>scm:git:ssh://git@bitbucket.org/atlassian/atlassian-oauth.git</connection>
        <developerConnection>scm:git:ssh://git@bitbucket.org/atlassian/atlassian-oauth.git</developerConnection>
        <url>https://bitbucket.org/atlassian/atlassian-oauth</url>
    </scm>

    <issueManagement>
        <system>jira</system>
        <url>https://studio.atlassian.com/browse/OAUTH</url>
    </issueManagement>

</project>