PageRenderTime 36ms CodeModel.GetById 20ms app.highlight 6ms RepoModel.GetById 3ms app.codeStats 0ms

/maven-3-tests/pom.xml

https://bitbucket.org/mmeinhold/amps
XML | 147 lines | 137 code | 7 blank | 3 comment | 0 complexity | b1b3d5bb2408a726142edbf2e9dd7488 MD5 | raw file
  1<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">
  2    <modelVersion>4.0.0</modelVersion>
  3    <parent>
  4        <groupId>com.atlassian.amps</groupId>
  5        <artifactId>atlassian-amps-parent</artifactId>
  6        <version>4.1.6-SNAPSHOT</version>
  7    </parent>
  8
  9    <groupId>com.atlassian.amps</groupId>
 10    <artifactId>maven-3-tests</artifactId>
 11    <packaging>pom</packaging>
 12
 13    <name>AMPS Maven Plugin - Maven 3 tests</name>
 14
 15    <properties>
 16        <maven3.version>3.0.3</maven3.version>
 17    </properties>
 18
 19    <dependencies>
 20        <dependency>
 21            <groupId>com.atlassian.maven.plugins</groupId>
 22            <artifactId>maven-amps-plugin</artifactId>
 23            <version>${project.version}</version>
 24            <type>maven-plugin</type>
 25        </dependency>
 26        <dependency>
 27            <groupId>org.apache.maven</groupId>
 28            <artifactId>apache-maven</artifactId>
 29            <version>${maven3.version}</version>
 30            <type>tar.gz</type>
 31            <classifier>bin</classifier>
 32        </dependency>
 33
 34        <!-- These artifacts need to be in the local repo before
 35              the integration tests run. Add them as dependencies
 36              to ensure that they're fetched. -->
 37        <dependency>
 38            <groupId>com.atlassian.refapp</groupId>
 39            <artifactId>atlassian-platform</artifactId>
 40            <version>${refapp.version}</version>
 41            <type>pom</type>
 42        </dependency>
 43        <dependency>
 44            <groupId>com.atlassian.refapp</groupId>
 45            <artifactId>atlassian-refapp</artifactId>
 46            <version>${refapp.version}</version>
 47            <type>war</type>
 48        </dependency>
 49        <dependency>
 50            <groupId>com.atlassian.labs.httpservice</groupId>
 51            <artifactId>httpservice-bridge</artifactId>
 52            <version>0.6.1</version>
 53        </dependency>
 54        <dependency>
 55            <groupId>com.atlassian.devrel</groupId>
 56            <artifactId>developer-toolbox-plugin</artifactId>
 57            <version>2.0.5</version>
 58        </dependency>
 59        <dependency>
 60            <groupId>com.atlassian.labs</groupId>
 61            <artifactId>fastdev-plugin</artifactId>
 62            <version>2.0</version>
 63        </dependency>
 64        <dependency>
 65            <groupId>com.atlassian.plugins</groupId>
 66            <artifactId>plugin-data-editor</artifactId>
 67            <version>1.2</version>
 68        </dependency>
 69        <dependency>
 70            <groupId>org.apache.tomcat</groupId>
 71            <artifactId>apache-tomcat</artifactId>
 72            <version>6.0.20</version>
 73            <type>zip</type>
 74        </dependency>
 75        <dependency>
 76            <groupId>org.twdata.maven</groupId>
 77            <artifactId>cargo-maven2-plugin</artifactId>
 78            <version>1.0-beta-2-db2</version>
 79        </dependency>
 80        <dependency>
 81            <groupId>com.atlassian.studio</groupId>
 82            <artifactId>studio-parent</artifactId>
 83            <version>108.2</version>
 84            <type>pom</type>
 85        </dependency>
 86    </dependencies>
 87
 88    <build>
 89        <plugins>
 90            <plugin>
 91                <groupId>org.apache.maven.plugins</groupId>
 92                <artifactId>maven-dependency-plugin</artifactId>
 93                <executions>
 94                    <execution>
 95                        <id>unpack</id>
 96                        <phase>generate-resources</phase>
 97                        <goals>
 98                            <goal>unpack</goal>
 99                        </goals>
100                        <configuration>
101                            <artifactItems>
102                                <artifactItem>
103                                    <groupId>org.apache.maven</groupId>
104                                    <artifactId>apache-maven</artifactId>
105                                    <version>${maven3.version}</version>
106                                    <type>tar.gz</type>
107                                    <classifier>bin</classifier>
108                                    <outputDirectory>${project.build.directory}</outputDirectory>
109                                </artifactItem>
110                            </artifactItems>
111                        </configuration>
112                    </execution>
113                </executions>
114            </plugin>
115        </plugins>
116    </build>
117
118    <profiles>
119        <profile>
120            <id>shitty</id>
121            <build>
122                <plugins>
123                    <plugin>
124                        <artifactId>maven-invoker-plugin</artifactId>
125                        <configuration>
126                            <mavenHome>${project.build.directory}/apache-maven-${maven3.version}</mavenHome>
127                            <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
128                            <localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath>
129                            <settingsFile>src/it/settings.xml</settingsFile>
130                            <pomIncludes>
131                                <pomInclude>*</pomInclude>
132                            </pomIncludes>
133                        </configuration>
134                        <executions>
135                            <execution>
136                                <goals>
137                                    <goal>install</goal>
138                                    <goal>run</goal>
139                                </goals>
140                            </execution>
141                        </executions>
142                    </plugin>
143                </plugins>
144            </build>
145        </profile>
146    </profiles>
147</project>