geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r508245 - /geronimo/sandbox/hokeypokey/trunk/pom.xml
Date Fri, 16 Feb 2007 00:03:33 GMT
Author: jdillon
Date: Thu Feb 15 16:03:32 2007
New Revision: 508245

URL: http://svn.apache.org/viewvc?view=rev&rev=508245
Log:
You put your right foot out

Added:
    geronimo/sandbox/hokeypokey/trunk/pom.xml   (with props)

Added: geronimo/sandbox/hokeypokey/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/hokeypokey/trunk/pom.xml?view=auto&rev=508245
==============================================================================
--- geronimo/sandbox/hokeypokey/trunk/pom.xml (added)
+++ geronimo/sandbox/hokeypokey/trunk/pom.xml Thu Feb 15 16:03:32 2007
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<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>
+    
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>3</version>
+    </parent>
+    
+    <groupId>org.apache.geronimo.hokeypokey</groupId>
+    <artifactId>hokeypokey</artifactId>
+    <name>Hokey Pokey</name>
+    <packaging>pom</packaging>
+    
+    <version>0.1-SNAPSHOT</version>
+    
+    <description>
+        Do the Hokey Pokey!
+    </description>
+    
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/sandbox/hokeypokey/trunk</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/sandbox/hokeypokey/trunk</developerConnection>
+        <url>http://svn.apache.org/viewvc/geronimo/sandbox/hokeypokey/trunk</url>
+    </scm>
+    
+    <build>
+        <defaultGoal>install</defaultGoal>
+        
+        <extensions>
+            <extension>
+                <groupId>org.apache.maven.wagon</groupId>
+                <artifactId>wagon-ssh</artifactId>
+                <version>1.0-beta-1</version>
+            </extension>
+        </extensions>
+        
+        <plugins>
+            <plugin>
+                <groupId>org.apache.geronimo.genesis.plugins</groupId>
+                <artifactId>script-maven-plugin</artifactId>
+                <version>1.2-SNAPSHOT</version>
+                
+                <executions>
+                    <execution>
+                        <phase>compile</phase>
+                        <goals>
+                            <goal>groovy</goal>
+                        </goals>
+                        <configuration>
+                            <source>
+                                <body>
+                                    def ant = new AntBuilder()
+                                    
+                                    def groovyVersion = 1.0
+                                    def groovyDistFile = new File('target/groovy-' + groovyVersion
+ '.zip')
+                                    def groovyDistDir = new File('target/groovy-dist')
+                                    
+                                    ant.mkdir(dir: 'target')
+                                    
+                                    if (!groovyDistFile.exists()) {
+                                        ant.get(src: 'http://dist.codehaus.org/groovy/distributions/groovy-'
+ groovyVersion + '.zip',
+                                            dest: groovyDistFile,
+                                            verbose: true)
+                                    }
+                                    
+                                    if (!groovyDistDir.exists()) {
+                                        ant.unzip(src: groovyDistFile, dest: 'target')
+                                        ant.mkdir(dir: 'target/groovy-dist')
+                                        ant.copy(todir: 'target/groovy-dist') {
+                                            fileset(dir: 'target/groovy-' + groovyVersion)
{
+                                                include(name: '**')
+                                            }
+                                        }
+                                    }
+                                </body>
+                            </source>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                
+                <configuration>
+                    <descriptors>
+                        <descriptor>${pom.basedir}/src/main/assembly/bin.xml</descriptor>
+                    </descriptors>
+                    <finalName>${pom.artifactId}-${pom.version}</finalName>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
+

Propchange: geronimo/sandbox/hokeypokey/trunk/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/hokeypokey/trunk/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/hokeypokey/trunk/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message