Permalink
Browse files

initial changes to get the maven plugin working with Grails 2.0 build…

… snapshots
  • Loading branch information...
1 parent bf78201 commit b3c2a46a1d9c0ccfeef5a17a27fcf22938b0bd95 Graeme Rocher committed Aug 30, 2011
Showing with 134 additions and 30 deletions.
  1. +1 −1 grails-maven-archetype.iml
  2. +1 −1 pom.xml
  3. +132 −28 src/main/resources/archetype-resources/pom.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<module MavenProjectsManager.isMavenModule="true" org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" relativePaths="true" type="JAVA_MODULE" version="4">
+<module MavenProjectsManager.isMavenModule="true" relativePaths="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
View
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.grails</groupId>
<artifactId>grails-maven-archetype</artifactId>
- <version>1.4.0.BUILD-SNAPSHOT</version>
+ <version>2.0.0.BUILD-SNAPSHOT</version>
<name>Maven archetype for Grails projects</name>
<description>Maven archetype for Grails projects.</description>
@@ -13,7 +13,7 @@
<url>http://www.myorganization.org</url>
<properties>
- <grails.version>1.4.0.BUILD-SNAPSHOT</grails.version>
+ <grails.version>2.0.0.BUILD-SNAPSHOT</grails.version>
</properties>
<dependencies>
@@ -50,6 +50,10 @@
<groupId>org.apache.ivy</groupId>
<artifactId>ivy</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
</exclusions>
</dependency>
@@ -90,6 +94,10 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
</exclusions>
</dependency>
@@ -130,15 +138,125 @@
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>xalan</groupId>
+ <artifactId>serializer</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ </exclusion>
</exclusions>
</dependency>
- <dependency>
- <groupId>org.grails</groupId>
- <artifactId>grails-test</artifactId>
- <version>${grails.version}</version>
- <scope>test</scope>
- </dependency>
+
+ <!-- Core Binary Plugins -->
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-codecs</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-controllers</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-converters</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-datasource</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-domain-class</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-filters</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-gsp</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-i18n</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-logging</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-scaffolding</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-services</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-servlets</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-tomcat</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-url-mappings</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-validation</artifactId>
+ <version>${grails.version}</version>
+ </dependency>
+
+
+ <!-- Testing -->
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-plugin-testing</artifactId>
+ <version>${grails.version}</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.grails</groupId>
+ <artifactId>grails-test</artifactId>
+ <version>${grails.version}</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>javax.servlet</groupId>
@@ -156,7 +274,7 @@
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-ehcache</artifactId>
- <version>3.3.1.GA</version>
+ <version>3.6.1.Final</version>
<exclusions>
<!-- See http://www.slf4j.org/faq.html#IllegalAccessError -->
<exclusion>
@@ -175,7 +293,7 @@
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
- <version>1.7.1</version>
+ <version>2.3.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
@@ -190,38 +308,24 @@
<artifactId>h2</artifactId>
<version>1.2.147</version>
</dependency>
-
- <!-- Use Log4J for logging. This artifact also pulls in the Log4J JAR. -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.6.1</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.6.1</version>
- <scope>runtime</scope>
- </dependency>
-
+
<!-- Needed in the case of AOP usage -->
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
- <version>1.6.8</version>
+ <version>1.6.10</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
- <version>1.6.8</version>
+ <version>1.6.10</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
- <version>1.3</version>
+ <version>1.4</version>
</dependency>
<dependency>
@@ -233,7 +337,7 @@
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
- <version>1.5.3</version>
+ <version>1.5.5</version>
</dependency>
</dependencies>

0 comments on commit b3c2a46

Please sign in to comment.