Advertisement
Guest User

Untitled

a guest
Apr 20th, 2012
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.67 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.springsource.pizzashop</groupId>
  5. <artifactId>pizzashop</artifactId>
  6. <packaging>war</packaging>
  7. <version>0.1.0.BUILD-SNAPSHOT</version>
  8. <name>pizzashop</name>
  9. <properties>
  10. <aspectj.version>1.6.12</aspectj.version>
  11. <java.version>1.6</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <roo.version>1.2.1.RELEASE</roo.version>
  14. <slf4j.version>1.6.4</slf4j.version>
  15. <spring.version>3.1.0.RELEASE</spring.version>
  16. </properties>
  17. <repositories>
  18. <repository>
  19. <id>spring-maven-release</id>
  20. <name>Spring Maven Release Repository</name>
  21. <url>http://maven.springframework.org/release</url>
  22. </repository>
  23. <repository>
  24. <id>spring-maven-milestone</id>
  25. <name>Spring Maven Milestone Repository</name>
  26. <url>http://maven.springframework.org/milestone</url>
  27. </repository>
  28. <repository>
  29. <id>spring-roo-repository</id>
  30. <name>Spring Roo Repository</name>
  31. <url>http://spring-roo-repository.springsource.org/release</url>
  32. </repository>
  33. <repository>
  34. <id>EclipseLink Repo</id>
  35. <url>http://download.eclipse.org/rt/eclipselink/maven.repo</url>
  36. <name>EclipseLink Repo</name>
  37. </repository>
  38. </repositories>
  39. <pluginRepositories>
  40. <pluginRepository>
  41. <id>spring-maven-release</id>
  42. <name>Spring Maven Release Repository</name>
  43. <url>http://maven.springframework.org/release</url>
  44. </pluginRepository>
  45. <pluginRepository>
  46. <id>spring-maven-milestone</id>
  47. <name>Spring Maven Milestone Repository</name>
  48. <url>http://maven.springframework.org/milestone</url>
  49. </pluginRepository>
  50. <pluginRepository>
  51. <id>spring-roo-repository</id>
  52. <name>Spring Roo Repository</name>
  53. <url>http://spring-roo-repository.springsource.org/release</url>
  54. </pluginRepository>
  55. </pluginRepositories>
  56. <dependencies>
  57. <!-- General dependencies for standard applications -->
  58. <dependency>
  59. <groupId>junit</groupId>
  60. <artifactId>junit</artifactId>
  61. <version>4.10</version>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>log4j</groupId>
  66. <artifactId>log4j</artifactId>
  67. <version>1.2.16</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.slf4j</groupId>
  71. <artifactId>slf4j-api</artifactId>
  72. <version>${slf4j.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.slf4j</groupId>
  76. <artifactId>jcl-over-slf4j</artifactId>
  77. <version>${slf4j.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.slf4j</groupId>
  81. <artifactId>slf4j-log4j12</artifactId>
  82. <version>${slf4j.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.aspectj</groupId>
  86. <artifactId>aspectjrt</artifactId>
  87. <version>${aspectj.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.aspectj</groupId>
  91. <artifactId>aspectjweaver</artifactId>
  92. <version>${aspectj.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>javax.servlet</groupId>
  96. <artifactId>servlet-api</artifactId>
  97. <version>2.5</version>
  98. <scope>provided</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>net.sf.flexjson</groupId>
  102. <artifactId>flexjson</artifactId>
  103. <version>2.1</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.commons</groupId>
  107. <artifactId>commons-lang3</artifactId>
  108. <version>3.1</version>
  109. </dependency>
  110. <!-- ROO dependencies -->
  111. <dependency>
  112. <groupId>org.springframework.roo</groupId>
  113. <artifactId>org.springframework.roo.annotations</artifactId>
  114. <version>${roo.version}</version>
  115. <scope>provided</scope>
  116. </dependency>
  117. <!-- Spring dependencies -->
  118. <dependency>
  119. <groupId>org.springframework</groupId>
  120. <artifactId>spring-core</artifactId>
  121. <version>${spring.version}</version>
  122. <exclusions>
  123. <exclusion>
  124. <groupId>commons-logging</groupId>
  125. <artifactId>commons-logging</artifactId>
  126. </exclusion>
  127. </exclusions>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.springframework</groupId>
  131. <artifactId>spring-test</artifactId>
  132. <version>${spring.version}</version>
  133. <scope>test</scope>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.springframework</groupId>
  137. <artifactId>spring-context</artifactId>
  138. <version>${spring.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework</groupId>
  142. <artifactId>spring-aop</artifactId>
  143. <version>${spring.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework</groupId>
  147. <artifactId>spring-aspects</artifactId>
  148. <version>${spring.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.h2database</groupId>
  152. <artifactId>h2</artifactId>
  153. <version>1.3.164</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.eclipse.persistence</groupId>
  157. <artifactId>eclipselink</artifactId>
  158. <version>2.2.1</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.eclipse.persistence</groupId>
  162. <artifactId>javax.persistence</artifactId>
  163. <version>2.0.3</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.hibernate</groupId>
  167. <artifactId>hibernate-validator</artifactId>
  168. <version>4.2.0.Final</version>
  169. <exclusions>
  170. <exclusion>
  171. <groupId>javax.xml.bind</groupId>
  172. <artifactId>jaxb-api</artifactId>
  173. </exclusion>
  174. <exclusion>
  175. <groupId>com.sun.xml.bind</groupId>
  176. <artifactId>jaxb-impl</artifactId>
  177. </exclusion>
  178. </exclusions>
  179. </dependency>
  180. <dependency>
  181. <groupId>javax.validation</groupId>
  182. <artifactId>validation-api</artifactId>
  183. <version>1.0.0.GA</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>cglib</groupId>
  187. <artifactId>cglib-nodep</artifactId>
  188. <version>2.2.2</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>javax.transaction</groupId>
  192. <artifactId>jta</artifactId>
  193. <version>1.1</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.springframework</groupId>
  197. <artifactId>spring-jdbc</artifactId>
  198. <version>${spring.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.springframework</groupId>
  202. <artifactId>spring-orm</artifactId>
  203. <version>${spring.version}</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>commons-pool</groupId>
  207. <artifactId>commons-pool</artifactId>
  208. <version>1.5.6</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>commons-dbcp</groupId>
  212. <artifactId>commons-dbcp</artifactId>
  213. <version>1.3</version>
  214. <exclusions>
  215. <exclusion>
  216. <groupId>commons-logging</groupId>
  217. <artifactId>commons-logging</artifactId>
  218. </exclusion>
  219. <exclusion>
  220. <groupId>xml-apis</groupId>
  221. <artifactId>xml-apis</artifactId>
  222. </exclusion>
  223. </exclusions>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.springframework.data</groupId>
  227. <artifactId>spring-data-jpa</artifactId>
  228. <version>1.0.2.RELEASE</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.springframework</groupId>
  232. <artifactId>spring-webmvc</artifactId>
  233. <version>${spring.version}</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.springframework.webflow</groupId>
  237. <artifactId>spring-js-resources</artifactId>
  238. <version>2.2.1.RELEASE</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>commons-digester</groupId>
  242. <artifactId>commons-digester</artifactId>
  243. <version>2.1</version>
  244. <exclusions>
  245. <exclusion>
  246. <groupId>commons-logging</groupId>
  247. <artifactId>commons-logging</artifactId>
  248. </exclusion>
  249. </exclusions>
  250. </dependency>
  251. <dependency>
  252. <groupId>commons-fileupload</groupId>
  253. <artifactId>commons-fileupload</artifactId>
  254. <version>1.2.2</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>javax.servlet.jsp.jstl</groupId>
  258. <artifactId>jstl-api</artifactId>
  259. <version>1.2</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.glassfish.web</groupId>
  263. <artifactId>jstl-impl</artifactId>
  264. <version>1.2</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>javax.el</groupId>
  268. <artifactId>el-api</artifactId>
  269. <version>1.0</version>
  270. <scope>provided</scope>
  271. </dependency>
  272. <dependency>
  273. <groupId>joda-time</groupId>
  274. <artifactId>joda-time</artifactId>
  275. <version>1.6</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>javax.servlet.jsp</groupId>
  279. <artifactId>jsp-api</artifactId>
  280. <version>2.1</version>
  281. <scope>provided</scope>
  282. </dependency>
  283. <dependency>
  284. <groupId>commons-codec</groupId>
  285. <artifactId>commons-codec</artifactId>
  286. <version>1.5</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>org.apache.tiles</groupId>
  290. <artifactId>tiles-jsp</artifactId>
  291. <version>2.2.2</version>
  292. </dependency>
  293. </dependencies>
  294. <build>
  295. <plugins>
  296. <plugin>
  297. <groupId>org.apache.maven.plugins</groupId>
  298. <artifactId>maven-war-plugin</artifactId>
  299. <version>2.1.1</version>
  300. <!-- <configuration> <webXml>target/web.xml</webXml> </configuration> -->
  301. </plugin>
  302. <plugin>
  303. <groupId>org.apache.maven.plugins</groupId>
  304. <artifactId>maven-compiler-plugin</artifactId>
  305. <version>2.3.2</version>
  306. <configuration>
  307. <source>${java.version}</source>
  308. <target>${java.version}</target>
  309. <encoding>${project.build.sourceEncoding}</encoding>
  310. </configuration>
  311. </plugin>
  312. <plugin>
  313. <groupId>org.codehaus.mojo</groupId>
  314. <artifactId>aspectj-maven-plugin</artifactId>
  315. <version>1.2</version>
  316. <!-- NB: do not use 1.3 or 1.3.x due to MASPECTJ-90 and do not use 1.4 due to declare parents issue -->
  317. <dependencies>
  318. <!-- NB: You must use Maven 2.0.9 or above or these are ignored (see MNG-2972) -->
  319. <dependency>
  320. <groupId>org.aspectj</groupId>
  321. <artifactId>aspectjrt</artifactId>
  322. <version>${aspectj.version}</version>
  323. </dependency>
  324. <dependency>
  325. <groupId>org.aspectj</groupId>
  326. <artifactId>aspectjtools</artifactId>
  327. <version>${aspectj.version}</version>
  328. </dependency>
  329. </dependencies>
  330. <executions>
  331. <execution>
  332. <goals>
  333. <goal>compile</goal>
  334. <goal>test-compile</goal>
  335. </goals>
  336. </execution>
  337. </executions>
  338. <configuration>
  339. <outxml>true</outxml>
  340. <aspectLibraries>
  341. <aspectLibrary>
  342. <groupId>org.springframework</groupId>
  343. <artifactId>spring-aspects</artifactId>
  344. </aspectLibrary>
  345. </aspectLibraries>
  346. <source>${java.version}</source>
  347. <target>${java.version}</target>
  348. </configuration>
  349. </plugin>
  350. <plugin>
  351. <groupId>org.apache.maven.plugins</groupId>
  352. <artifactId>maven-resources-plugin</artifactId>
  353. <version>2.5</version>
  354. <configuration>
  355. <encoding>${project.build.sourceEncoding}</encoding>
  356. </configuration>
  357. </plugin>
  358. <plugin>
  359. <groupId>org.apache.maven.plugins</groupId>
  360. <artifactId>maven-surefire-plugin</artifactId>
  361. <version>2.9</version>
  362. <configuration>
  363. <printSummary>false</printSummary>
  364. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  365. <excludes>
  366. <exclude>**/*_Roo_*</exclude>
  367. </excludes>
  368. </configuration>
  369. </plugin>
  370. <plugin>
  371. <groupId>org.apache.maven.plugins</groupId>
  372. <artifactId>maven-assembly-plugin</artifactId>
  373. <version>2.2.1</version>
  374. <configuration>
  375. <descriptorRefs>
  376. <descriptorRef>jar-with-dependencies</descriptorRef>
  377. </descriptorRefs>
  378. </configuration>
  379. </plugin>
  380. <plugin>
  381. <groupId>org.apache.maven.plugins</groupId>
  382. <artifactId>maven-deploy-plugin</artifactId>
  383. <version>2.7</version>
  384. </plugin>
  385. <!-- IDE -->
  386. <plugin>
  387. <groupId>org.apache.maven.plugins</groupId>
  388. <artifactId>maven-eclipse-plugin</artifactId>
  389. <version>2.7</version>
  390. <!-- Note 2.8 does not work with AspectJ aspect path -->
  391. <configuration>
  392. <downloadSources>true</downloadSources>
  393. <downloadJavadocs>false</downloadJavadocs>
  394. <wtpversion>2.0</wtpversion>
  395. <additionalBuildcommands>
  396. <buildCommand>
  397. <name>org.eclipse.ajdt.core.ajbuilder</name>
  398. <arguments>
  399. <aspectPath>org.springframework.aspects</aspectPath>
  400. </arguments>
  401. </buildCommand>
  402. <buildCommand>
  403. <name>org.springframework.ide.eclipse.core.springbuilder</name>
  404. </buildCommand>
  405. </additionalBuildcommands>
  406. <additionalProjectnatures>
  407. <projectnature>org.eclipse.ajdt.ui.ajnature</projectnature>
  408. <projectnature>com.springsource.sts.roo.core.nature</projectnature>
  409. <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
  410. </additionalProjectnatures>
  411. </configuration>
  412. </plugin>
  413. <plugin>
  414. <groupId>org.apache.maven.plugins</groupId>
  415. <artifactId>maven-idea-plugin</artifactId>
  416. <version>2.2</version>
  417. <configuration>
  418. <downloadSources>true</downloadSources>
  419. <dependenciesAsLibraries>true</dependenciesAsLibraries>
  420. </configuration>
  421. </plugin>
  422. <plugin>
  423. <groupId>org.codehaus.mojo</groupId>
  424. <artifactId>tomcat-maven-plugin</artifactId>
  425. <version>1.1</version>
  426. </plugin>
  427. <plugin>
  428. <groupId>org.mortbay.jetty</groupId>
  429. <artifactId>jetty-maven-plugin</artifactId>
  430. <version>8.0.1.v20110908</version>
  431. <configuration>
  432. <webAppConfig>
  433. <contextPath>/${project.name}</contextPath>
  434. </webAppConfig>
  435. </configuration>
  436. </plugin>
  437. </plugins>
  438. </build>
  439. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement