/pom.xml

http://struts2yuiplugin.googlecode.com/ · XML · 102 lines · 88 code · 10 blank · 4 comment · 0 complexity · 3894f8dc1f928e71c1df76d1f3d517b7 MD5 · raw file

  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.googlecode.struts2yuiplugin</groupId>
  6. <artifactId>struts2yuiplugin</artifactId>
  7. <packaging>jar</packaging>
  8. <version>0.1-ALPHA-7</version>
  9. <name>struts2yuiplugin</name>
  10. <url>http://code.google.com/p/struts2yuiplugin/</url>
  11. <build>
  12. <plugins>
  13. <plugin>
  14. <artifactId>maven-compiler-plugin</artifactId>
  15. <configuration>
  16. <source>1.5</source>
  17. <target>1.5</target>
  18. </configuration>
  19. </plugin>
  20. <plugin>
  21. <groupId>org.apache.myfaces.tobago</groupId>
  22. <artifactId>maven-apt-plugin</artifactId>
  23. <configuration>
  24. <A>
  25. uri=/struts-yui-tags,tlibVersion=2.2.3,jspVersion=1.2,shortName=yui,displayName="Struts
  26. YUI Tags",
  27. outFile=${basedir}/target/classes/META-INF/struts-yui-tags.tld,
  28. description="Struts tags based on YUI.",
  29. outTemplatesDir=${basedir}/src/main/gen
  30. </A>
  31. <resourceTargetPath>target</resourceTargetPath>
  32. <fork>false</fork>
  33. <force>true</force>
  34. <nocompile>true</nocompile>
  35. <showWarnings>true</showWarnings>
  36. <factory>
  37. org.apache.struts.annotations.taglib.apt.TLDAnnotationProcessorFactory
  38. </factory>
  39. <target>1.5</target>
  40. <includes>
  41. <include>**/*.java</include>
  42. </includes>
  43. </configuration>
  44. <executions>
  45. <execution>
  46. <phase>compile</phase>
  47. <goals>
  48. <goal>execute</goal>
  49. </goals>
  50. </execution>
  51. </executions>
  52. </plugin>
  53. </plugins>
  54. <defaultGoal>install</defaultGoal>
  55. </build>
  56. <dependencies>
  57. <dependency>
  58. <groupId>commons-logging</groupId>
  59. <artifactId>commons-logging</artifactId>
  60. <version>1.0.4</version>
  61. </dependency>
  62. <!-- Core -->
  63. <dependency>
  64. <groupId>javax.servlet</groupId>
  65. <artifactId>jsp-api</artifactId>
  66. <version>2.0</version>
  67. <scope>provided</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.struts</groupId>
  71. <artifactId>struts-annotations</artifactId>
  72. <version>1.0.4</version>
  73. <optional>true</optional>
  74. </dependency>
  75. <!-- JSP API -->
  76. <!-- struts-annotations must be in compile scope for maven-apt-plugin to
  77. function correctly. Marking it optional to exclude it from transitive dependency resolution -->
  78. <dependency>
  79. <groupId>org.apache.struts</groupId>
  80. <artifactId>struts2-core</artifactId>
  81. <version>2.1.8.1</version>
  82. <type>jar</type>
  83. <scope>compile</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.velocity</groupId>
  87. <artifactId>velocity</artifactId>
  88. <version>1.5</version>
  89. <scope>compile</scope>
  90. </dependency>
  91. </dependencies>
  92. </project>