You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2011/04/01 01:16:27 UTC

svn commit: r1087502 - in /tapestry/tapestry5/trunk: pom.xml tapestry-yuicompressor/pom.xml

Author: hlship
Date: Thu Mar 31 23:16:26 2011
New Revision: 1087502

URL: http://svn.apache.org/viewvc?rev=1087502&view=rev
Log:
TAP5-73: Patch together a Maven POM for tapestry-yuicompressor project

Added:
    tapestry/tapestry5/trunk/tapestry-yuicompressor/pom.xml
Modified:
    tapestry/tapestry5/trunk/pom.xml

Modified: tapestry/tapestry5/trunk/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/pom.xml?rev=1087502&r1=1087501&r2=1087502&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/pom.xml (original)
+++ tapestry/tapestry5/trunk/pom.xml Thu Mar 31 23:16:26 2011
@@ -211,6 +211,7 @@
     <module>tapestry-hibernate</module>
     <module>tapestry-upload</module>
     <module>tapestry-jpa</module>
+    <module>tapestry-yuicompressor</module>
     <!-- Now we're getting into the archetypes. -->
     <module>quickstart</module>
     <!-- And the Maven plugin. -->

Added: tapestry/tapestry5/trunk/tapestry-yuicompressor/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-yuicompressor/pom.xml?rev=1087502&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-yuicompressor/pom.xml (added)
+++ tapestry/tapestry5/trunk/tapestry-yuicompressor/pom.xml Thu Mar 31 23:16:26 2011
@@ -0,0 +1,143 @@
+<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">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.tapestry</groupId>
+  <artifactId>tapestry-yuicompressor</artifactId>
+  <packaging>jar</packaging>
+  <parent>
+    <groupId>org.apache.tapestry</groupId>
+    <artifactId>tapestry-project</artifactId>
+    <version>5.3.0-SNAPSHOT</version>
+  </parent>
+
+  <properties>
+    <!-- Groovy-Eclipse 2.0.2 uses Groovy 1.7.3, which isn't far off -->
+    <groovy-version>1.7.4</groovy-version>
+    <gmaven-version>1.2</gmaven-version>
+    <!-- Some parts of GMaven vary for each major Groovy version -->
+    <gmaven-provider>1.7</gmaven-provider>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.tapestry</groupId>
+      <artifactId>tapestry-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.tapestry</groupId>
+      <artifactId>tapestry-test</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>org.codehaus.groovy</groupId>
+      <artifactId>groovy-all</artifactId>
+      <version>${groovy-version}</version>
+      <scope>test</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>com.yahoo.platform.yui</groupId>
+      <artifactId>yuicompressor</artifactId>
+      <version>2.4.2</version>
+    </dependency>
+
+  </dependencies>
+
+  <build>
+    <testResources>
+      <testResource>
+        <directory>src/test/groovy</directory>
+      </testResource>
+      <testResource>
+        <directory>src/test/resources</directory>
+      </testResource>
+    </testResources>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.gmaven</groupId>
+        <artifactId>gmaven-plugin</artifactId>
+        <version>${gmaven-version}</version>
+        <configuration>
+          <providerSelection>${gmaven-provider}</providerSelection>
+        </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <!-- generateStubs and compile omitted as no Groovy code in main code base -->
+              <!-- generateTestStubs omitted as it confused TestNG and/or Surefire -->
+              <goal>testCompile</goal>
+            </goals>
+          </execution>
+        </executions>
+        <dependencies>
+          <dependency>
+            <groupId>org.codehaus.groovy</groupId>
+            <artifactId>groovy-all</artifactId>
+            <version>${groovy-version}</version>
+          </dependency>
+        </dependencies>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-eclipse-plugin</artifactId>
+        <version>2.8</version>
+        <configuration>
+          <downloadSources>true</downloadSources>
+          <additionalProjectnatures>
+            <projectnature>
+              org.eclipse.jdt.groovy.core.groovyNature
+             </projectnature>
+          </additionalProjectnatures>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+      </plugin>
+      <!-- This gets the plugin to clean up the cobertura.ser file left in the root directory. -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>cobertura-maven-plugin</artifactId>
+        <version>${cobertura-plugin-version}</version>
+        <executions>
+          <execution>
+            <id>clean</id>
+            <goals>
+              <goal>clean</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>summary</report>
+              <report>dependencies</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>cobertura-maven-plugin</artifactId>
+        <version>${cobertura-plugin-version}</version>
+      </plugin>
+
+    </plugins>
+  </reporting>
+</project>