Created
August 6, 2011 09:31
-
-
Save fabiokung/1129220 to your computer and use it in GitHub Desktop.
modifications made on top of the version generated by spring-roo, to make it work with older mvn (2.0.8)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| <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>app</groupId> | |
| <artifactId>roo_heroku</artifactId> | |
| <packaging>war</packaging> | |
| <version>0.1.0</version> | |
| <name>app</name> | |
| <properties> | |
| <roo.version>1.1.5.RELEASE</roo.version> | |
| <spring.version>3.0.5.RELEASE</spring.version> | |
| <aspectj.version>1.6.11</aspectj.version> | |
| <slf4j.version>1.6.1</slf4j.version> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| </properties> | |
| <repositories> | |
| <repository> | |
| <id>spring-maven-release</id> | |
| <name>Spring Maven Release Repository</name> | |
| <url>http://maven.springframework.org/release</url> | |
| </repository> | |
| <repository> | |
| <id>spring-maven-milestone</id> | |
| <name>Spring Maven Milestone Repository</name> | |
| <url>http://maven.springframework.org/milestone</url> | |
| </repository> | |
| <repository> | |
| <id>spring-roo-repository</id> | |
| <name>Spring Roo Repository</name> | |
| <url>http://spring-roo-repository.springsource.org/release</url> | |
| </repository> | |
| <repository> | |
| <id>JBoss Repo</id> | |
| <url>https://repository.jboss.org/nexus/content/repositories/releases</url> | |
| <name>JBoss Repo</name> | |
| </repository> | |
| <repository> | |
| <id>maven.springframework.org.external</id> | |
| <url>http://maven.springframework.org/external</url> | |
| <name>SpringSource Maven Repository - External Releases</name> | |
| </repository> | |
| </repositories> | |
| <pluginRepositories> | |
| <pluginRepository> | |
| <id>spring-maven-release</id> | |
| <name>Spring Maven Release Repository</name> | |
| <url>http://maven.springframework.org/release</url> | |
| </pluginRepository> | |
| <pluginRepository> | |
| <id>spring-maven-milestone</id> | |
| <name>Spring Maven Milestone Repository</name> | |
| <url>http://maven.springframework.org/milestone</url> | |
| </pluginRepository> | |
| <pluginRepository> | |
| <id>spring-roo-repository</id> | |
| <name>Spring Roo Repository</name> | |
| <url>http://spring-roo-repository.springsource.org/release</url> | |
| </pluginRepository> | |
| </pluginRepositories> | |
| <dependencies> | |
| <!-- General dependencies for standard applications --> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>4.8.2</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>log4j</groupId> | |
| <artifactId>log4j</artifactId> | |
| <version>1.2.16</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| <version>${slf4j.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>jcl-over-slf4j</artifactId> | |
| <version>${slf4j.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-log4j12</artifactId> | |
| <version>${slf4j.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.aspectj</groupId> | |
| <artifactId>aspectjrt</artifactId> | |
| <version>${aspectj.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.aspectj</groupId> | |
| <artifactId>aspectjweaver</artifactId> | |
| <version>${aspectj.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>servlet-api</artifactId> | |
| <version>2.5</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>net.sf.flexjson</groupId> | |
| <artifactId>flexjson</artifactId> | |
| <version>2.1</version> | |
| </dependency> | |
| <!-- ROO dependencies --> | |
| <dependency> | |
| <groupId>org.springframework.roo</groupId> | |
| <artifactId>org.springframework.roo.annotations</artifactId> | |
| <version>${roo.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <!-- Spring dependencies --> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-core</artifactId> | |
| <version>${spring.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-test</artifactId> | |
| <version>${spring.version}</version> | |
| <scope>test</scope> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-context</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-aop</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-aspects</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-tx</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hsqldb</groupId> | |
| <artifactId>hsqldb</artifactId> | |
| <version>1.8.0.10</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-core</artifactId> | |
| <version>3.6.4.Final</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-entitymanager</artifactId> | |
| <version>3.6.4.Final</version> | |
| <classifier/> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>cglib</groupId> | |
| <artifactId>cglib</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>dom4j</groupId> | |
| <artifactId>dom4j</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hibernate.javax.persistence</groupId> | |
| <artifactId>hibernate-jpa-2.0-api</artifactId> | |
| <version>1.0.0.Final</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-validator</artifactId> | |
| <version>4.1.0.Final</version> | |
| <classifier/> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>javax.xml.bind</groupId> | |
| <artifactId>jaxb-api</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>com.sun.xml.bind</groupId> | |
| <artifactId>jaxb-impl</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.validation</groupId> | |
| <artifactId>validation-api</artifactId> | |
| <version>1.0.0.GA</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>cglib</groupId> | |
| <artifactId>cglib-nodep</artifactId> | |
| <version>2.2</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.transaction</groupId> | |
| <artifactId>jta</artifactId> | |
| <version>1.1</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-jdbc</artifactId> | |
| <version>${spring.version}</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-orm</artifactId> | |
| <version>${spring.version}</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-pool</groupId> | |
| <artifactId>commons-pool</artifactId> | |
| <version>1.5.4</version> | |
| <classifier/> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-dbcp</groupId> | |
| <artifactId>commons-dbcp</artifactId> | |
| <version>1.3</version> | |
| <classifier/> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>commons-pool</groupId> | |
| <artifactId>commons-pool</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>xerces</groupId> | |
| <artifactId>xerces</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>xerces</groupId> | |
| <artifactId>xercesImpl</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>xml-apis</groupId> | |
| <artifactId>xml-apis</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-web</artifactId> | |
| <version>${spring.version}</version> | |
| <classifier/> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-webmvc</artifactId> | |
| <version>${spring.version}</version> | |
| <classifier/> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.webflow</groupId> | |
| <artifactId>spring-js-resources</artifactId> | |
| <version>2.2.1.RELEASE</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-digester</groupId> | |
| <artifactId>commons-digester</artifactId> | |
| <version>2.0</version> | |
| <classifier/> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-fileupload</groupId> | |
| <artifactId>commons-fileupload</artifactId> | |
| <version>1.2.1</version> | |
| <classifier/> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet.jsp.jstl</groupId> | |
| <artifactId>jstl-api</artifactId> | |
| <version>1.2</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.glassfish.web</groupId> | |
| <artifactId>jstl-impl</artifactId> | |
| <version>1.2</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.el</groupId> | |
| <artifactId>el-api</artifactId> | |
| <version>1.0</version> | |
| <scope>provided</scope> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>joda-time</groupId> | |
| <artifactId>joda-time</artifactId> | |
| <version>1.6</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet.jsp</groupId> | |
| <artifactId>jsp-api</artifactId> | |
| <version>2.1</version> | |
| <scope>provided</scope> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-codec</groupId> | |
| <artifactId>commons-codec</artifactId> | |
| <version>1.4</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.tiles</groupId> | |
| <artifactId>tiles-core</artifactId> | |
| <version>2.2.1</version> | |
| <classifier/> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-logging</groupId> | |
| <artifactId>commons-logging</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.tiles</groupId> | |
| <artifactId>tiles-jsp</artifactId> | |
| <version>2.2.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.gwt</groupId> | |
| <artifactId>gwt-servlet</artifactId> | |
| <version>2.3.0</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.gwt</groupId> | |
| <artifactId>gwt-user</artifactId> | |
| <version>2.3.0</version> | |
| <scope>provided</scope> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.json</groupId> | |
| <artifactId>json</artifactId> | |
| <version>20090211</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.googlecode.gwt.inject</groupId> | |
| <artifactId>gin</artifactId> | |
| <version>1.5</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.validation</groupId> | |
| <artifactId>validation-api</artifactId> | |
| <version>1.0.0.GA</version> | |
| <classifier>sources</classifier> | |
| </dependency> | |
| <dependency> | |
| <groupId>xalan</groupId> | |
| <artifactId>xalan</artifactId> | |
| <version>2.7.1</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.appengine</groupId> | |
| <artifactId>appengine-api-1.0-sdk</artifactId> | |
| <version>1.5.1</version> | |
| <classifier/> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-war-plugin</artifactId> | |
| <!-- <configuration> <webXml>target/web.xml</webXml> </configuration> --> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <source>1.6</source> | |
| <target>1.6</target> | |
| <encoding>UTF-8</encoding> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>aspectj-maven-plugin</artifactId> | |
| <version>1.2</version> <!-- NB: do use 1.3 or 1.3.x due to MASPECTJ-90 - wait for 1.4 --> | |
| <dependencies> | |
| <!-- NB: You must use Maven 2.0.9 or above or these are ignored (see MNG-2972) --> | |
| <dependency> | |
| <groupId>org.aspectj</groupId> | |
| <artifactId>aspectjrt</artifactId> | |
| <version>${aspectj.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.aspectj</groupId> | |
| <artifactId>aspectjtools</artifactId> | |
| <version>${aspectj.version}</version> | |
| </dependency> | |
| </dependencies> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>compile</goal> | |
| <goal>test-compile</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| <configuration> | |
| <outxml>true</outxml> | |
| <aspectLibraries> | |
| <aspectLibrary> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-aspects</artifactId> | |
| </aspectLibrary> | |
| </aspectLibraries> | |
| <source>1.6</source> | |
| <target>1.6</target> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-resources-plugin</artifactId> | |
| <configuration> | |
| <encoding>UTF-8</encoding> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <configuration> | |
| <printSummary>false</printSummary> | |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> | |
| <excludes> | |
| <exclude>**/*_Roo_*</exclude> | |
| </excludes> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <configuration> | |
| <descriptorRefs> | |
| <descriptorRef>jar-with-dependencies</descriptorRef> | |
| </descriptorRefs> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-deploy-plugin</artifactId> | |
| <version>2.6</version> | |
| </plugin> | |
| <!-- IDE --> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-eclipse-plugin</artifactId> | |
| <version>2.7</version> <!-- Note 2.8 does not work with AspectJ aspect path --> | |
| <configuration> | |
| <downloadSources>true</downloadSources> | |
| <downloadJavadocs>false</downloadJavadocs> | |
| <wtpversion>2.0</wtpversion> | |
| <additionalBuildcommands> | |
| <buildCommand> | |
| <name>org.eclipse.ajdt.core.ajbuilder</name> | |
| <arguments> | |
| <aspectPath>org.springframework.aspects</aspectPath> | |
| </arguments> | |
| </buildCommand> | |
| <buildCommand> | |
| <name>org.springframework.ide.eclipse.core.springbuilder</name> | |
| </buildCommand> | |
| <buildCommand> | |
| <name>com.google.gwt.eclipse.core.gwtProjectValidator</name> | |
| </buildCommand> | |
| </additionalBuildcommands> | |
| <additionalProjectnatures> | |
| <projectnature>org.eclipse.ajdt.ui.ajnature</projectnature> | |
| <projectnature>com.springsource.sts.roo.core.nature</projectnature> | |
| <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature> | |
| <projectnature>com.google.gwt.eclipse.core.gwtNature</projectnature> | |
| </additionalProjectnatures> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-idea-plugin</artifactId> | |
| <version>2.2</version> | |
| <configuration> | |
| <downloadSources>true</downloadSources> | |
| <dependenciesAsLibraries>true</dependenciesAsLibraries> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>tomcat-maven-plugin</artifactId> | |
| <version>1.1</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.mortbay.jetty</groupId> | |
| <artifactId>jetty-maven-plugin</artifactId> | |
| <version>7.4.2.v20110526</version> | |
| <configuration> | |
| <webAppConfig> | |
| <contextPath>/${project.name}</contextPath> | |
| </webAppConfig> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>selenium-maven-plugin</artifactId> | |
| <version>1.1</version> | |
| <configuration> | |
| <browser>*firefox</browser> | |
| <suite>src/main/webapp/selenium/test-suite.xhtml</suite> | |
| <results>${project.build.directory}/selenium.html</results> | |
| <startURL>http://localhost:4444/</startURL> | |
| </configuration> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.seleniumhq.selenium</groupId> | |
| <artifactId>selenium-server</artifactId> | |
| <version>2.0rc3</version> | |
| <classifier/> | |
| </dependency> | |
| </dependencies> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>gwt-maven-plugin</artifactId> | |
| <version>1.2</version> | |
| <configuration> | |
| <logLevel>INFO</logLevel> | |
| <style>PRETTY</style> | |
| <runTarget>/ApplicationScaffold.html</runTarget> | |
| <hostedWebapp>${project.build.directory}/${project.build.finalName}</hostedWebapp> | |
| <modules> | |
| <module>${project.groupId}.ApplicationScaffold</module> | |
| </modules> | |
| <copyWebapp>true</copyWebapp> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>gwtcompile</id> | |
| <phase>prepare-package</phase> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| <dependencies> | |
| <dependency> | |
| <groupId>com.google.gwt</groupId> | |
| <artifactId>gwt-dev</artifactId> | |
| <version>2.3.0</version> | |
| <classifier/> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.gwt</groupId> | |
| <artifactId>gwt-user</artifactId> | |
| <version>2.3.0</version> | |
| <classifier/> | |
| </dependency> | |
| </dependencies> | |
| </plugin> | |
| </plugins> | |
| <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment