Author: gk Date: Tue Oct 29 14:47:11 2013 New Revision: 1536741 URL: http://svn.apache.org/r1536741 Log: add maven 3 pom + postGoal maven.xml scripts/delete_temp-scripts.xml
Added: turbine/fulcrum/trunk/groovy/pom.xml (with props) turbine/fulcrum/trunk/groovy/scripts/delete_temp-scripts.xml (with props) Added: turbine/fulcrum/trunk/groovy/pom.xml URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/groovy/pom.xml?rev=1536741&view=auto ============================================================================== --- turbine/fulcrum/trunk/groovy/pom.xml (added) +++ turbine/fulcrum/trunk/groovy/pom.xml Tue Oct 29 14:47:11 2013 @@ -0,0 +1,123 @@ +<?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. +--> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <parent> + <artifactId>turbine-parent</artifactId> + <groupId>org.apache.turbine</groupId> + <version>3</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.fulcrum</groupId> + <artifactId>fulcrum-groovy</artifactId> + <name>Fulcrum Groovy Component</name> + <version>1.0.1-dev</version> + + <url>http://turbine.apache.org/fulcrum/fulcrum-groovy</url> + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/turbine/fulcrum/trunk/groovy/</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/turbine/fulcrum/trunk/groovy/</developerConnection> + <url>http://svn.apache.org/viewcvs/turbine/fulcrum/trunk/groovy/</url> + </scm> + + <build> + <sourceDirectory>${basedir}/src/java/</sourceDirectory> + <testSourceDirectory>${basedir}/src/test/</testSourceDirectory> + <testResources> + <testResource> + <directory>${basedir}/src/test</directory> + <includes> + <include>**/*.*</include> + </includes> + </testResource> + </testResources> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <includes> + <include>**/*Test.*</include> + </includes> + </configuration> + </plugin> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <id>delete-temp-txt</id> <!-- Deleting temporary files --> + <phase>clean</phase> + <configuration> + <target> + <ant antfile="${basedir}/scripts/delete_temp-scripts.xml" target="delete-temp-files"> + <property name="delete.path" value="${basedir}/temp"/> + <property name="delete.include" value="*.txt"/> + </ant> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + <dependencies> + + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>2.5</version> + </dependency> + + <dependency> + <groupId>org.apache.fulcrum</groupId> + <artifactId>fulcrum-resourcemanager</artifactId> + <version>1.0.2-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.codehaus.groovy</groupId> + <artifactId>groovy-all</artifactId> + <version>2.1.3</version> + </dependency> + + + <!-- Needed only for testing --> + <dependency> + <groupId>org.apache.fulcrum</groupId> + <artifactId>fulcrum-testcontainer</artifactId> + <version>1.0.6</version> + </dependency> + + <dependency> + <groupId>org.apache.fulcrum</groupId> + <artifactId>fulcrum-yaafi</artifactId> + <version>1.0.6</version> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + <scope>test</scope> + </dependency> + + </dependencies> + +</project> Propchange: turbine/fulcrum/trunk/groovy/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: turbine/fulcrum/trunk/groovy/scripts/delete_temp-scripts.xml URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/groovy/scripts/delete_temp-scripts.xml?rev=1536741&view=auto ============================================================================== --- turbine/fulcrum/trunk/groovy/scripts/delete_temp-scripts.xml (added) +++ turbine/fulcrum/trunk/groovy/scripts/delete_temp-scripts.xml Tue Oct 29 14:47:11 2013 @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<project basedir="." default="delete-temp-files" name="DelScripts"> + + <target name="delete-temp-files"> + <echo message="delete in ${delete.path} ${delete.include}"/> + <delete> + <fileset dir="${delete.path}" includes="${delete.include}" /> + </delete> +</target> + +</project> Propchange: turbine/fulcrum/trunk/groovy/scripts/delete_temp-scripts.xml ------------------------------------------------------------------------------ svn:eol-style = native