25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

336 satır
11KB

  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/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>org.glassfish.corba</groupId>
  5. <artifactId>glassfish-corba</artifactId>
  6. <version>4.2.4</version>
  7. </parent>
  8. <artifactId>glassfish-corba-tests</artifactId>
  9. <name>Functional Tests</name>
  10. <packaging>pom</packaging>
  11. <properties>
  12. <debug.args>-Ddebug=ignored</debug.args>
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.glassfish.gmbal</groupId>
  17. <artifactId>gmbal</artifactId>
  18. <version>${gmbal-version}</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>${project.groupId}</groupId>
  22. <artifactId>glassfish-corba-csiv2-idl</artifactId>
  23. <version>${project.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>${project.groupId}</groupId>
  27. <artifactId>idlj</artifactId>
  28. <version>${project.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>${project.groupId}</groupId>
  32. <artifactId>glassfish-corba-omgapi</artifactId>
  33. <version>${project.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>${project.groupId}</groupId>
  37. <artifactId>glassfish-corba-orb</artifactId>
  38. <version>${project.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.glassfish.pfl</groupId>
  42. <artifactId>pfl-basic</artifactId>
  43. <version>${pfl-version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.glassfish.pfl</groupId>
  47. <artifactId>pfl-basic-tools</artifactId>
  48. <version>${pfl-version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.glassfish.pfl</groupId>
  52. <artifactId>pfl-dynamic</artifactId>
  53. <version>${pfl-version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.glassfish.pfl</groupId>
  57. <artifactId>pfl-tf</artifactId>
  58. <version>${pfl-version}</version>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.glassfish.pfl</groupId>
  63. <artifactId>pfl-tf-tools</artifactId>
  64. <version>${pfl-version}</version>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.glassfish.pfl</groupId>
  69. <artifactId>pfl-test</artifactId>
  70. <version>${pfl-version}</version>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.glassfish.external</groupId>
  75. <artifactId>management-api</artifactId>
  76. <version>3.2.1</version>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.testng</groupId>
  81. <artifactId>testng</artifactId>
  82. <version>6.10</version>
  83. <scope>test</scope>
  84. </dependency>
  85. </dependencies>
  86. <build>
  87. <plugins>
  88. <plugin>
  89. <groupId>org.codehaus.mojo</groupId>
  90. <artifactId>idlj-maven-plugin</artifactId>
  91. <executions>
  92. <execution>
  93. <goals>
  94. <goal>generate-test</goal>
  95. </goals>
  96. </execution>
  97. </executions>
  98. <configuration>
  99. <includeDirs>
  100. <includeDir>../omgapi/src/main/idl</includeDir>
  101. <includeDir>../omgapi/src/main/idl-includes</includeDir>
  102. </includeDirs>
  103. <sources>
  104. <source>
  105. <compatible>true</compatible>
  106. <includes>
  107. <include>legacy/**/*.idl</include>
  108. </includes>
  109. <packagePrefixes>
  110. <packagePrefix>
  111. <type>activation</type>
  112. <prefix>com.sun.corba.ee.spi</prefix>
  113. </packagePrefix>
  114. </packagePrefixes>
  115. </source>
  116. <source>
  117. <packagePrefixes>
  118. <packagePrefix>
  119. <type>IOP</type>
  120. <prefix>org.omg</prefix>
  121. </packagePrefix>
  122. <packagePrefix>
  123. <type>Messaging</type>
  124. <prefix>org.omg</prefix>
  125. </packagePrefix>
  126. <packagePrefix>
  127. <type>PortableServer</type>
  128. <prefix>org.omg</prefix>
  129. </packagePrefix>
  130. <packagePrefix>
  131. <type>PortableInterceptor</type>
  132. <prefix>org.omg</prefix>
  133. </packagePrefix>
  134. </packagePrefixes>
  135. <compatible>false</compatible>
  136. <defines>
  137. <define>
  138. <symbol>CORBA3</symbol>
  139. </define>
  140. </defines>
  141. <additionalArguments>
  142. <additionalArgument>-corba</additionalArgument>
  143. <additionalArgument>3.0</additionalArgument>
  144. </additionalArguments>
  145. <excludes>
  146. <exclude>legacy/**</exclude>
  147. </excludes>
  148. </source>
  149. </sources>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.codehaus.mojo</groupId>
  154. <artifactId>rmic-maven-plugin</artifactId>
  155. <configuration>
  156. <testOutputDirectory>${project.build.testOutputDirectory}</testOutputDirectory>
  157. <sources>
  158. <source>
  159. <iiop>true</iiop>
  160. <poa>true</poa>
  161. <keep>true</keep>
  162. <includes>
  163. <include>**/rmiiIServantPOA.class</include>
  164. <include>**/corba/preinvokepostinvoke/MyServant.class</include>
  165. <include>**/corba/rmipoacounter/counterImpl.class</include>
  166. </includes>
  167. </source>
  168. <source>
  169. <keep>true</keep>
  170. <iiop>true</iiop>
  171. <includes>
  172. <include>**/rmiiIServant.class</include>
  173. </includes>
  174. </source>
  175. </sources>
  176. </configuration>
  177. <dependencies>
  178. <dependency>
  179. <groupId>org.glassfish.corba</groupId>
  180. <artifactId>rmic</artifactId>
  181. <version>${project.version}</version>
  182. </dependency>
  183. </dependencies>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-compiler-plugin</artifactId>
  188. <executions>
  189. <execution>
  190. <goals>
  191. <goal>testCompile</goal>
  192. </goals>
  193. </execution>
  194. </executions>
  195. </plugin>
  196. <plugin>
  197. <groupId>org.apache.maven.plugins</groupId>
  198. <artifactId>maven-antrun-plugin</artifactId>
  199. <executions>
  200. <execution>
  201. <id>run-tests</id>
  202. <phase>integration-test</phase>
  203. <configuration>
  204. <target>
  205. <ant antfile="../make/build.xml" target="build-tests">
  206. <property name="test-build.dir" value="${project.build.directory}/test" />
  207. <property name="root.dir" value=".." />
  208. <property name="maven.test.classpath" refid="maven.test.classpath" />
  209. </ant>
  210. </target>
  211. </configuration>
  212. <goals>
  213. <goal>run</goal>
  214. </goals>
  215. </execution>
  216. </executions>
  217. </plugin>
  218. </plugins>
  219. </build>
  220. <profiles>
  221. <profile>
  222. <id>tools.jar</id>
  223. <activation>
  224. <file>
  225. <exists>${java.home}/../lib/tools.jar</exists>
  226. </file>
  227. </activation>
  228. <dependencies>
  229. <dependency>
  230. <groupId>com.sun</groupId>
  231. <artifactId>tools</artifactId>
  232. <version>1.6.0</version>
  233. <scope>system</scope>
  234. <systemPath>${java.home}/../lib/tools.jar</systemPath>
  235. </dependency>
  236. </dependencies>
  237. <build>
  238. <plugins>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-antrun-plugin</artifactId>
  242. <dependencies>
  243. <dependency>
  244. <groupId>com.sun</groupId>
  245. <artifactId>tools</artifactId>
  246. <version>1.6.0</version>
  247. <scope>system</scope>
  248. <systemPath>${java.home}/../lib/tools.jar</systemPath>
  249. </dependency>
  250. </dependencies>
  251. </plugin>
  252. </plugins>
  253. </build>
  254. </profile>
  255. <profile>
  256. <id>all-tests</id>
  257. <build>
  258. <plugins>
  259. <plugin>
  260. <groupId>org.apache.maven.plugins</groupId>
  261. <artifactId>maven-antrun-plugin</artifactId>
  262. <executions>
  263. <execution>
  264. <id>run-tests</id>
  265. <phase>integration-test</phase>
  266. <configuration>
  267. <target>
  268. <ant antfile="../make/build.xml" target="build-tests">
  269. <property name="test-build.dir" value="${project.build.directory}/test" />
  270. <property name="root.dir" value=".." />
  271. <property name="maven.test.classpath" refid="maven.test.classpath" />
  272. </ant>
  273. <ant antfile="../make/build.xml" target="test-all">
  274. <property name="test-build.dir" value="${project.build.directory}/test" />
  275. <property name="root.dir" value=".." />
  276. <property name="maven.test.classpath" refid="maven.test.classpath" />
  277. </ant>
  278. </target>
  279. </configuration>
  280. <goals>
  281. <goal>run</goal>
  282. </goals>
  283. </execution>
  284. </executions>
  285. </plugin>
  286. </plugins>
  287. </build>
  288. </profile>
  289. <profile>
  290. <id>test-with-args</id>
  291. <activation>
  292. <property>
  293. <name>test.args</name>
  294. </property>
  295. </activation>
  296. <build>
  297. <plugins>
  298. <plugin>
  299. <groupId>org.apache.maven.plugins</groupId>
  300. <artifactId>maven-antrun-plugin</artifactId>
  301. <executions>
  302. <execution>
  303. <id>run-tests</id>
  304. <phase>integration-test</phase>
  305. <configuration>
  306. <target>
  307. <ant antfile="../make/build.xml" target="run-test-target-with-args">
  308. <property name="test-build.dir" value="${project.build.directory}/test" />
  309. <property name="root.dir" value=".." />
  310. <property name="maven.test.classpath" refid="maven.test.classpath" />
  311. <property name="test-args" value="${test.args}" />
  312. </ant>
  313. </target>
  314. </configuration>
  315. <goals>
  316. <goal>run</goal>
  317. </goals>
  318. </execution>
  319. </executions>
  320. </plugin>
  321. </plugins>
  322. </build>
  323. </profile>
  324. <profile>
  325. <id>add-debug-args</id>
  326. <activation>
  327. <property>
  328. <name>debug.port</name>
  329. </property>
  330. </activation>
  331. <properties>
  332. <debug.args>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=localhost:${debug.port}</debug.args>
  333. </properties>
  334. </profile>
  335. </profiles>
  336. </project>