You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
181 lines
5.1 KiB
XML
181 lines
5.1 KiB
XML
12 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<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/xsd/maven-4.0.0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<parent>
|
||
|
<groupId>org.springframework.bootstrap</groupId>
|
||
|
<artifactId>spring-bootstrap-parent</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
<artifactId>spring-bootstrap-groovy</artifactId>
|
||
|
<packaging>jar</packaging>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.bootstrap</groupId>
|
||
|
<artifactId>spring-bootstrap</artifactId>
|
||
|
<version>${project.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-web</artifactId>
|
||
|
<version>${dependency.springframework.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.codehaus.groovy</groupId>
|
||
|
<artifactId>groovy</artifactId>
|
||
|
<version>2.1.1</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.ivy</groupId>
|
||
|
<artifactId>ivy</artifactId>
|
||
|
<version>2.2.0</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
<profiles>
|
||
|
<profile>
|
||
|
<id>grapes</id>
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<artifactId>maven-clean-plugin</artifactId>
|
||
|
<version>2.5</version>
|
||
|
<configuration>
|
||
|
<filesets>
|
||
|
<fileset>
|
||
|
<directory>${user.home}/.groovy/grapes</directory>
|
||
|
<includes>
|
||
|
<include>org.springframework*/**</include>
|
||
|
</includes>
|
||
|
<followSymlinks>false</followSymlinks>
|
||
|
</fileset>
|
||
|
</filesets>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</profile>
|
||
|
</profiles>
|
||
|
<build>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>src/main/groovy</directory>
|
||
|
<filtering>true</filtering>
|
||
|
<targetPath>../generated-sources/groovy</targetPath>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<!-- Using exec plugin to compile groovy because it needs to be forked
|
||
|
cleanly. Only works if sh, find, xargs and groovyc are on PATH -->
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>exec-maven-plugin</artifactId>
|
||
|
<version>1.2.1</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>compile-plugin</id>
|
||
|
<phase>compile</phase>
|
||
|
<goals>
|
||
|
<goal>exec</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<executable>sh</executable>
|
||
|
<arguments>
|
||
|
<argument>-c</argument>
|
||
|
<argument>find target/generated-sources/groovy -name *.groovy |
|
||
|
xargs groovyc -d target/classes</argument>
|
||
|
</arguments>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||
|
<inherited>false</inherited>
|
||
|
<configuration>
|
||
|
<descriptors>
|
||
|
<descriptor>src/main/assembly/descriptor.xml</descriptor>
|
||
|
</descriptors>
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>make-distribution</id>
|
||
|
<phase>install</phase>
|
||
|
<goals>
|
||
|
<goal>single</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<compilerId>groovy-eclipse-compiler</compilerId>
|
||
|
</configuration>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.codehaus.groovy</groupId>
|
||
|
<artifactId>groovy-eclipse-compiler</artifactId>
|
||
|
<version>2.7.0-01</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<includes>
|
||
|
<include>**/*Tests.java</include>
|
||
|
</includes>
|
||
|
<excludes>
|
||
|
<exclude>**/Abstract*.java</exclude>
|
||
|
</excludes>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
<pluginManagement>
|
||
|
<plugins>
|
||
|
<!--This plugin's configuration is used to store Eclipse m2e settings
|
||
|
only. It has no influence on the Maven build itself. -->
|
||
|
<plugin>
|
||
|
<groupId>org.eclipse.m2e</groupId>
|
||
|
<artifactId>lifecycle-mapping</artifactId>
|
||
|
<version>1.0.0</version>
|
||
|
<configuration>
|
||
|
<lifecycleMappingMetadata>
|
||
|
<pluginExecutions>
|
||
|
<pluginExecution>
|
||
|
<pluginExecutionFilter>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<versionRange>[3.0,)</versionRange>
|
||
|
<goals>
|
||
|
<goal>testCompile</goal>
|
||
|
<goal>compile</goal>
|
||
|
</goals>
|
||
|
</pluginExecutionFilter>
|
||
|
<action>
|
||
|
<ignore></ignore>
|
||
|
</action>
|
||
|
</pluginExecution>
|
||
|
</pluginExecutions>
|
||
|
</lifecycleMappingMetadata>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-resources-plugin</artifactId>
|
||
|
<version>2.6</version>
|
||
|
<configuration>
|
||
|
<delimiters>
|
||
|
<delimiter>@@</delimiter>
|
||
|
</delimiters>
|
||
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</pluginManagement>
|
||
|
</build>
|
||
|
</project>
|