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