/tags/1.1.1/pom.xml

http://jquery-stream.googlecode.com/ · XML · 132 lines · 119 code · 13 blank · 0 comment · 0 complexity · 4194cedff29ee1811798d847c46a5ab1 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. <groupId>flowersinthesand</groupId>
  4. <artifactId>jquery-stream</artifactId>
  5. <name>jQuery Stream</name>
  6. <version>1.1.1</version>
  7. <packaging>war</packaging>
  8. <description>Comet Streaming JavaScript Library</description>
  9. <url>http://code.google.com/p/jquery-stream/</url>
  10. <inceptionYear>2011</inceptionYear>
  11. <developers>
  12. <developer>
  13. <id>flowersinthesand</id>
  14. <name>Donghwan Kim</name>
  15. <email>flowersinthesand@gmail.com</email>
  16. <roles>
  17. <role>Owner</role>
  18. <role>Committer</role>
  19. </roles>
  20. </developer>
  21. </developers>
  22. <licenses>
  23. <license>
  24. <name>The Apache Software License, Version 2.0</name>
  25. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  26. </license>
  27. </licenses>
  28. <issueManagement>
  29. <system>Google Code Issue Management</system>
  30. <url>http://code.google.com/p/jquery-stream/issues</url>
  31. </issueManagement>
  32. <scm>
  33. <url>http://code.google.com/p/jquery-stream/source/browse/</url>
  34. <connection>scm:svn:http://jquery-stream.googlecode.com/svn/trunk/</connection>
  35. <developerConnection>scm:svn:https://jquery-stream.googlecode.com/svn/trunk/</developerConnection>
  36. </scm>
  37. <build>
  38. <plugins>
  39. <plugin>
  40. <groupId>org.apache.maven.plugins</groupId>
  41. <artifactId>maven-war-plugin</artifactId>
  42. <configuration>
  43. <archive>
  44. <manifestEntries>
  45. <Built-By>Donghwan Kim</Built-By>
  46. </manifestEntries>
  47. </archive>
  48. <failOnMissingWebXml>false</failOnMissingWebXml>
  49. </configuration>
  50. </plugin>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-antrun-plugin</artifactId>
  54. <version>1.6</version>
  55. <executions>
  56. <execution>
  57. <id>release</id>
  58. <phase>package</phase>
  59. <configuration>
  60. <target>
  61. <property name="target.path" value="target/javascript" />
  62. <delete dir="${target.path}"/>
  63. <mkdir dir="${target.path}"/>
  64. <copy file="src/main/webapp/jquery.stream.js" todir="${target.path}" />
  65. <taskdef name="jscomp" classname="com.google.javascript.jscomp.ant.CompileTask" classpath="${ant.refid:maven.runtime.classpath}" />
  66. <jscomp compilationLevel="simple" output="${target.path}/jquery.stream.min.js">
  67. <sources dir="${target.path}">
  68. <file name="jquery.stream.js"/>
  69. </sources>
  70. </jscomp>
  71. <replaceregexp match="@VERSION" replace="${project.version}" flags="g" byline="true" >
  72. <fileset dir="${target.path}" includes="*" />
  73. </replaceregexp>
  74. <move todir="${target.path}">
  75. <fileset dir="${target.path}" includes="*" />
  76. <globmapper from="jquery.stream*" to="jquery.stream-${project.version}*" />
  77. </move>
  78. </target>
  79. </configuration>
  80. <goals>
  81. <goal>run</goal>
  82. </goals>
  83. </execution>
  84. </executions>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. <dependencies>
  89. <dependency>
  90. <groupId>javax</groupId>
  91. <artifactId>javaee-api</artifactId>
  92. <version>6.0</version>
  93. <scope>provided</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.google.code.gson</groupId>
  97. <artifactId>gson</artifactId>
  98. <version>1.7.1</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.google.javascript</groupId>
  102. <artifactId>closure-compiler</artifactId>
  103. <version>r1043</version>
  104. <scope>runtime</scope>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.eclipse.jetty</groupId>
  108. <artifactId>jetty-websocket</artifactId>
  109. <version>8.0.0.M3</version>
  110. <scope>provided</scope>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.eclipse.jetty</groupId>
  114. <artifactId>jetty-util</artifactId>
  115. <version>8.0.0.M3</version>
  116. <scope>runtime</scope>
  117. </dependency>
  118. </dependencies>
  119. </project>