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