You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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.googlecode.gwtquery</groupId>
  5. <artifactId>gwtquery-project</artifactId>
  6. <version>1.3.2-SNAPSHOT</version>
  7. </parent>
  8. <name>JsQuery</name>
  9. <artifactId>jsquery</artifactId>
  10. <packaging>war</packaging>
  11. <properties>
  12. <gwtversion>2.5.0</gwtversion>
  13. <gwtmaven>2.5.0</gwtmaven>
  14. </properties>
  15. <profiles>
  16. <profile>
  17. <id>clos</id>
  18. <properties>
  19. <gwt.enableClosureCompiler>true</gwt.enableClosureCompiler>
  20. </properties>
  21. </profile>
  22. </profiles>
  23. <dependencies>
  24. <dependency>
  25. <groupId>${groupId}</groupId>
  26. <artifactId>gwtquery</artifactId>
  27. <version>${version}</version>
  28. <type>jar</type>
  29. <scope>provided</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.timepedia.exporter</groupId>
  33. <artifactId>gwtexporter</artifactId>
  34. <version>2.4.0-SNAPSHOT</version>
  35. <scope>provided</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.google.gwt</groupId>
  39. <artifactId>gwt-user</artifactId>
  40. <version>${gwtversion}</version>
  41. <scope>provided</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.google.gwt</groupId>
  45. <artifactId>gwt-dev</artifactId>
  46. <version>${gwtversion}</version>
  47. <scope>provided</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>javax.validation</groupId>
  51. <artifactId>validation-api</artifactId>
  52. <version>1.0.0.GA</version>
  53. <scope>provided</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>javax.validation</groupId>
  57. <artifactId>validation-api</artifactId>
  58. <version>1.0.0.GA</version>
  59. <classifier>sources</classifier>
  60. <scope>provided</scope>
  61. </dependency>
  62. </dependencies>
  63. <build>
  64. <plugins>
  65. <plugin>
  66. <groupId>org.codehaus.mojo</groupId>
  67. <artifactId>gwt-maven-plugin</artifactId>
  68. <version>${gwtmaven}</version>
  69. <configuration>
  70. <logLevel>${gwt.loglevel}</logLevel>
  71. <enableClosureCompiler>${gwt.enableClosureCompiler}</enableClosureCompiler>
  72. <optimizationLevel>9</optimizationLevel>
  73. <gwtVersion>${gwtversion}</gwtVersion>
  74. <compileReport>true</compileReport>
  75. <!-- <disableClassMetadata>true</disableClassMetadata> -->
  76. <disableCastChecking>true</disableCastChecking>
  77. <modules>
  78. <module>com.google.gwt.query.jsquery.JsQueryApi</module>
  79. </modules>
  80. </configuration>
  81. <executions>
  82. <execution>
  83. <phase>prepare-package</phase>
  84. <goals>
  85. <goal>compile</goal>
  86. </goals>
  87. </execution>
  88. </executions>
  89. </plugin>
  90. <plugin>
  91. <groupId>org.apache.maven.plugins</groupId>
  92. <artifactId>maven-eclipse-plugin</artifactId>
  93. <configuration>
  94. <downloadSources>true</downloadSources>
  95. <downloadJavadocs>true</downloadJavadocs>
  96. <additionalBuildcommands>
  97. <buildCommand>com.google.gwt.eclipse.core.gwtProjectValidator</buildCommand>
  98. <buildcommand>org.eclipse.wst.common.modulecore.ComponentStructuralBuilder</buildcommand>
  99. <buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
  100. <buildcommand>org.eclipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver</buildcommand>
  101. </additionalBuildcommands>
  102. <additionalProjectnatures>
  103. <projectnature>com.google.gwt.eclipse.core.gwtNature</projectnature>
  104. <projectnature>org.eclipse.jdt.core.javanature</projectnature>
  105. <projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>
  106. </additionalProjectnatures>
  107. </configuration>
  108. </plugin>
  109. <plugin>
  110. <artifactId>maven-resources-plugin</artifactId>
  111. <version>2.5</version>
  112. <executions>
  113. <execution>
  114. <id>copy-resources</id>
  115. <phase>generate-sources</phase>
  116. <goals>
  117. <goal>copy-resources</goal>
  118. </goals>
  119. <configuration>
  120. <outputDirectory>${project.build.directory}/${project.build.finalName}</outputDirectory>
  121. <resources>
  122. <resource>
  123. <directory>src/main/webapp</directory>
  124. <filtering>true</filtering>
  125. </resource>
  126. </resources>
  127. </configuration>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. </plugins>
  132. <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
  133. </build>
  134. </project>